Skip to content

Commit

Permalink
Add jobs for docker image smoke tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chrzaszcz committed Mar 16, 2023
1 parent b831b5d commit d9fefc1
Showing 1 changed file with 27 additions and 3 deletions.
30 changes: 27 additions & 3 deletions .circleci/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,14 @@ commands:
- run_coverage_analysis
- upload_results_to_aws
- publish_github_comment
run_docker_smoke_test:
steps:
- checkout
- run:
name: Smoke testing
command: |
source tools/circleci-prepare-mongooseim-docker.sh
./smoke_test.sh
upload_results_to_aws:
steps:
- run:
Expand Down Expand Up @@ -447,9 +455,17 @@ jobs:
- run:
name: Execute Docker image build and upload
command: tools/circle-build-and-push-docker.sh
- run:
name: Smoke testing
command: IMAGE_TAG=`cat image_tag` mongooseim-docker/smoke_test.sh

docker_smoke_test:
executor: otp_25
steps:
- setup_remote_docker
- run_docker_smoke_test

docker_smoke_test_arm64:
executor: arm64
steps:
- run_docker_smoke_test

docs_build_deploy:
parallelism: 1
Expand Down Expand Up @@ -967,3 +983,11 @@ workflows:
- edoc

filters: *all_tags
- docker_smoke_test:
context: mongooseim-org
requires:
- docker_build_and_ship
- docker_smoke_test_arm64:
context: mongooseim-org
requires:
- docker_build_and_ship

0 comments on commit d9fefc1

Please sign in to comment.