Skip to content

Commit 2ce5ed4

Browse files
Merge branch 'master' into nikita-tkachenko/pekko-scheduler-instrumentation
2 parents 3f85a74 + 0e18e0e commit 2ce5ed4

File tree

3 files changed

+13
-29
lines changed

3 files changed

+13
-29
lines changed

.circleci/config.continue.yml.j2

+3-27
Original file line numberDiff line numberDiff line change
@@ -850,8 +850,6 @@ jobs:
850850
(
851851
echo "
852852
DEFAULT
853-
APM_TRACING_E2E
854-
APM_TRACING_E2E_SINGLE_SPAN
855853
TRACING_CONFIG_NONDEFAULT
856854
TRACING_CONFIG_NONDEFAULT_2
857855
TRACING_CONFIG_NONDEFAULT_3
@@ -875,14 +873,8 @@ jobs:
875873
"
876874
fi
877875
) | circleci tests split > scenarios.list
876+
export DD_API_KEY=$SYSTEM_TESTS_DD_API_KEY
878877
for scenario in $(<scenarios.list); do
879-
if [[ $scenario =~ .*_E2E.* ]]; then
880-
export DD_SITE=datadoghq.com
881-
export DD_API_KEY=$SYSTEM_TESTS_E2E_DD_API_KEY
882-
export DD_APPLICATION_KEY=$SYSTEM_TESTS_E2E_DD_APP_KEY
883-
else
884-
export DD_API_KEY=$SYSTEM_TESTS_DD_API_KEY
885-
fi
886878
echo "Running scenario $scenario"
887879
./run.sh $scenario
888880
done
@@ -922,27 +914,11 @@ jobs:
922914
923915
- run:
924916
name: Run APM Integrations tests
925-
environment:
926-
- AWS_ACCESS_KEY_ID: $SYSTEM_TESTS_IDM_AWS_ACCESS_KEY_ID
927-
- AWS_SECRET_ACCESS_KEY: $SYSTEM_TESTS_IDM_AWS_SECRET_ACCESS_KEY
928-
- AWS_REGION: us-east-1
929-
- AWS_DEFAULT_REGION: us-east-1 # AWS services should use `AWS_REGION`, but some still use the older `AWS_DEFAULT_REGION`
930917
# Stop the job after 5m to avoid excessive overhead. Will need adjustment as more tests are added.
931918
no_output_timeout: 5m
932919
command: |
933920
cd system-tests
934-
DD_SITE=datadoghq.com DD_API_KEY=$SYSTEM_TESTS_E2E_DD_API_KEY DD_APPLICATION_KEY=$SYSTEM_TESTS_E2E_DD_APP_KEY ./run.sh INTEGRATIONS
935-
936-
- run:
937-
name: Run IDM Crossed Tracing Libraries propagation tests for messaging
938-
environment:
939-
- AWS_ACCESS_KEY_ID: $SYSTEM_TESTS_IDM_AWS_ACCESS_KEY_ID
940-
- AWS_SECRET_ACCESS_KEY: $SYSTEM_TESTS_IDM_AWS_SECRET_ACCESS_KEY
941-
- AWS_REGION: us-east-1
942-
- AWS_DEFAULT_REGION: us-east-1 # AWS services should use `AWS_REGION`, but some still use the older `AWS_DEFAULT_REGION`
943-
command: |
944-
cd system-tests
945-
DD_API_KEY=$SYSTEM_TESTS_DD_API_KEY ./run.sh CROSSED_TRACING_LIBRARIES
921+
DD_API_KEY=$SYSTEM_TESTS_DD_API_KEY ./run.sh INTEGRATIONS
946922
947923
- store_test_results:
948924
path: system-tests/logs_integrations
@@ -975,7 +951,7 @@ jobs:
975951
no_output_timeout: 5m
976952
command: |
977953
cd system-tests
978-
export DD_API_KEY=$SYSTEM_TESTS_E2E_DD_API_KEY
954+
export DD_API_KEY=$SYSTEM_TESTS_DD_API_KEY
979955
./run.sh DEBUGGER_SCENARIOS
980956
981957
- run:

.github/workflows/README.md

+8
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,14 @@ _Action:_ Create a PR updating the Grade dependencies and their locking files.
129129

130130
_Recovery:_ Manually trigger the action again.
131131

132+
### run-system-tests [🔗](run-system-tests.yaml)
133+
134+
_Trigger:_ When pushing commits to `master` or manually.
135+
136+
_Action:_ Build the Java Client Library and runs [the system tests](https://github.com/DataDog/system-tests) against.
137+
138+
_Recovery:_ Manually trigger the action on the desired branch.
139+
132140

133141
## Maintenance
134142

.github/workflows/system-tests.yaml renamed to .github/workflows/run-system-tests.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: system-tests
1+
name: Run system tests
22

33
on:
44
pull_request:
@@ -29,7 +29,7 @@ jobs:
2929
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
3030
restore-keys: |
3131
${{ runner.os }}-gradle-
32-
32+
3333
- name: Build dd-trace-java
3434
run: |
3535
GRADLE_OPTS="-Xms2g -Xmx4g -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC" \

0 commit comments

Comments
 (0)