3333 TF_VAR_aws_secret_access_key : ${{ secrets.INTEG_TEST_AWS_KEY_SECRET }}
3434 TF_VAR_aoc_vpc_name : aoc-vpc-large
3535 TF_VAR_aoc_vpc_security_group : aoc-vpc-security-group-large
36+ TESTING_FRAMEWORK_REPO : ' aws-observability/aws-otel-collector-test-framework'
3637
3738jobs :
3839 release-checking :
@@ -180,7 +181,7 @@ jobs:
180181 if : steps.s3-release-validation-1.outputs.cache-hit != 'true'
181182 uses : actions/checkout@v2
182183 with :
183- repository : ' aws-observability/aws-otel-collector-test-framework '
184+ repository : " ${{ env.TESTING_FRAMEWORK_REPO }} "
184185 path : testing-framework
185186
186187 - name : Run testing suite on ec2
@@ -237,7 +238,7 @@ jobs:
237238 if : steps.s3-release-validation-2.outputs.cache-hit != 'true'
238239 uses : actions/checkout@v2
239240 with :
240- repository : ' aws-observability/aws-otel-collector-test-framework '
241+ repository : " ${{ env.TESTING_FRAMEWORK_REPO }} "
241242 path : testing-framework
242243
243244 - name : Run testing suite on ec2
@@ -294,7 +295,7 @@ jobs:
294295 if : steps.s3-release-validation-3.outputs.cache-hit != 'true'
295296 uses : actions/checkout@v2
296297 with :
297- repository : ' aws-observability/aws-otel-collector-test-framework '
298+ repository : " ${{ env.TESTING_FRAMEWORK_REPO }} "
298299 path : testing-framework
299300
300301 - name : Run testing suite on ec2
@@ -312,18 +313,17 @@ jobs:
312313 runs-on : ubuntu-latest
313314 needs : [release-checking]
314315 steps :
316+ # Since the tools from workflow are always up-to-date with the github workflow, we don't need to use the workflows from the commited sha
317+ # but using the workflows from the branch triggered with workflow_dispatch.
318+ - uses : actions/checkout@v2
319+
320+
315321 - name : Restore cached packages
316322 uses : actions/cache@v2
317323 with :
318324 key : " ${{ env.PACKAGE_CACHE_KEY }}"
319325 path : build/packages
320326
321- - name : Checkout the sha
322- uses : actions/checkout@v2
323- with :
324- ref : ${{ github.event.inputs.sha }}
325- path : adot
326-
327327 - name : Configure AWS Credentials
328328 uses : aws-actions/configure-aws-credentials@v1
329329 with :
@@ -340,7 +340,7 @@ jobs:
340340 id : version
341341 run : |
342342 TAG=`cat build/packages/VERSION`
343- TARGET_VERSION=$TAG bash adot/ tools/workflow/docker-version-compare.sh
343+ TARGET_VERSION=$TAG bash tools/workflow/docker-version-compare.sh
344344
345345 - name : Load Image
346346 run : docker load < build/packages/$IMAGE_NAME.tar
@@ -356,7 +356,7 @@ jobs:
356356 docker push public.ecr.aws/$ECR_REPO:latest
357357 fi
358358 if [ ${{ steps.version.outputs.major-update }} == 'true' ] || [ ${{ steps.version.outputs.minor-update }} == 'true' ]; then
359- cd adot/ tools/release/adot-operator-images-mirror && go run ./
359+ cd tools/release/adot-operator-images-mirror && go run ./
360360 fi
361361
362362 - name : Login Dockerhub
@@ -420,7 +420,7 @@ jobs:
420420 if : steps.release-validation-ecs.outputs.cache-hit != 'true'
421421 uses : actions/checkout@v2
422422 with :
423- repository : ' aws-observability/aws-otel-collector-test-framework '
423+ repository : " ${{ env.TESTING_FRAMEWORK_REPO }} "
424424 path : testing-framework
425425
426426 - name : Run testing suite on ecs
@@ -477,7 +477,7 @@ jobs:
477477 if : steps.release-validation-eks.outputs.cache-hit != 'true'
478478 uses : actions/checkout@v2
479479 with :
480- repository : ' aws-observability/aws-otel-collector-test-framework '
480+ repository : " ${{ env.TESTING_FRAMEWORK_REPO }} "
481481 path : testing-framework
482482
483483 - name : Run testing suite on eks
0 commit comments