Skip to content

Commit dbd22b9

Browse files
committed
build with old acktest
1 parent ce1e24c commit dbd22b9

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

test/canary/canary.buildspec.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,20 @@ phases:
1111
# - docker pull ${ECR_CACHE_URI}:latest --quiet || true
1212

1313
# Build test image
14-
# - >
15-
# docker build -f ./test/canary/Dockerfile.canary . -t ${ECR_CACHE_URI}:latest
16-
# --build-arg SERVICE="${SERVICE##*/}" --quiet
17-
# || echo "Docker Build Failed" || true
14+
- >
15+
docker build -f ./test/canary/Dockerfile.canary . -t ${ECR_CACHE_URI}:canary-release
16+
--build-arg SERVICE="${SERVICE##*/}" --quiet
17+
|| echo "Docker Build Failed" || true
1818
build:
1919
commands:
2020
# Run tests
21-
- docker run --name ack-canary $(env | cut -f1 -d= | sed 's/^/-e /') --mount type=bind,source="$(pwd)/",target="/${SERVICE}-controller/" ${ECR_CACHE_URI}:latest
21+
- docker run --name ack-canary $(env | cut -f1 -d= | sed 's/^/-e /') --mount type=bind,source="$(pwd)/",target="/${SERVICE}-controller/" ${ECR_CACHE_URI}:canary-release
2222

2323
post_build:
2424
commands:
2525
- docker cp ack-canary:/sagemaker-controller/test/canary/integration_tests.xml /tmp/results.xml || true
2626
# Push test image to cache ECR repo
27-
- docker push ${ECR_CACHE_URI}:latest || true
27+
- docker push ${ECR_CACHE_URI}:canary-release || true
2828

2929
reports:
3030
IntegrationTestReport:

test/e2e/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
acktest @ git+https://github.com/aws-controllers-k8s/test-infra.git@c91073f388b3b42192aac300762fca2542fa39f0
1+
acktest @ git+https://github.com/aws-controllers-k8s/test-infra.git@66d07f4daa2ce12d92f07cb332d5342a0aea4feb
22
pytest==8.0.2
33
black==20.8b1
44
flaky==3.7.0

0 commit comments

Comments
 (0)