Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: react test datadog integration [infeng-497] #9455

Merged
merged 24 commits into from
May 30, 2024
Merged
Changes from 23 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading