Skip to content

Commit

Permalink
test: react test datadog integration [infeng-497] (#9455)
Browse files Browse the repository at this point in the history
  • Loading branch information
djanicekpach authored May 30, 2024
1 parent cc4ad2b commit f54fb7c
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .circleci/real_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ commands:
cat /tmp/all-relevant-files | circleci tests run --command="DD_CIVISIBILITY_AGENTLESS_ENABLED=true \
DD_SITE='datadoghq.com' \
DD_ENV=ci DD_SERVICE='pytest-<<parameters.mark>>' \
DD_ENV='ci-<<parameters.mark>>' DD_SERVICE='determined-pytest-<<parameters.mark>>' \
DET_MASTER_CERT_FILE=<<parameters.master-cert>> \
DET_MASTER_CERT_NAME=<<parameters.master-cert-name>> \
IS_CIRCLECI_JOB=1 XDG_CONFIG_HOME=/tmp \
Expand Down Expand Up @@ -2017,11 +2017,17 @@ jobs:
- wait-for-master:
host: "localhost"
port: "8082"
- run: npm install --save-dev dd-trace # DataDog integration
- run:
environment:
PW_EE: << parameters.ee >>
# setting PW_PASSWORD is temporary until DET-10197 is merged and we can set PW_PASSWORD in circleci
command: PW_PASSWORD=${INITIAL_USER_PASSWORD} npm run e2e --prefix webui/react -- << parameters.playwright-options >>
NODE_OPTIONS: "-r dd-trace/ci/init"
command: |
if [[ "$PW_EE" -eq 1 ]]; then env="ee"; else env="oss"; fi
DD_ENV="ci-devcluster-$env" \
DD_SERVICE=determined-ui-e2e \
PW_PASSWORD=${INITIAL_USER_PASSWORD} \
npm run e2e --prefix webui/react -- << parameters.playwright-options >>
- store_artifacts:
path: webui/react/src/e2e/playwright-report
- store_artifacts:
Expand Down

0 comments on commit f54fb7c

Please sign in to comment.