Skip to content

Commit 1f87a14

Browse files
committed
also test arm fips
1 parent abb905b commit 1f87a14

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.gitlab/scripts/poll_e2e.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ while true; do
2929
continue
3030
fi
3131
RESPONSE=$(cat /tmp/e2e_response.json)
32-
E2E_JOB_STATUS=$(echo "$RESPONSE" | jq -r '.[] | select(.name=="e2e-test (arm64)") | .downstream_pipeline.status')
32+
E2E_JOB_STATUS=$(echo "$RESPONSE" | jq -r --arg name "$E2E_JOB_NAME" '.[] | select(.name==$name) | .downstream_pipeline.status')
3333
echo -n "E2E job status: $E2E_JOB_STATUS, "
3434
if [ "$E2E_JOB_STATUS" == "success" ]; then
3535
echo "E2E tests completed successfully"

.gitlab/templates/pipeline.yaml.tpl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ publish layer [self-monitoring] ({{ $flavor.name }}):
231231
{{ end }} # end flavors
232232

233233
{{ range $f := (ds "flavors").flavors }}
234-
{{ if and $f.needs_layer_publish (eq $f.arch "arm64") (not $f.fips) }}
234+
{{ if and $f.needs_layer_publish (eq $f.arch "arm64") }}
235235
{{- $dotenvE2E := printf "%s_sandbox_e2e.env" $f.suffix }}
236236
{{ with $environment := (ds "environments").environments.sandbox }}
237237

@@ -287,11 +287,13 @@ e2e-test ({{ $f.name }}):
287287
EXTENSION_VERSION: $EXTENSION_LAYER_ARN
288288
ARCHITECTURE: {{ $f.arch }}
289289

290-
e2e-test-status:
290+
e2e-test-status ({{ $f.name }}):
291291
stage: e2e
292292
image: registry.ddbuild.io/images/docker:20.10-py3
293293
tags: ["arch:amd64"]
294294
timeout: 3h
295+
variables:
296+
E2E_JOB_NAME: "e2e-test ({{ $f.name }})"
295297
script:
296298
- .gitlab/scripts/poll_e2e.sh
297299

0 commit comments

Comments
 (0)