Skip to content

Commit

Permalink
test: add approval test setup (#415)
Browse files Browse the repository at this point in the history
  • Loading branch information
subotic authored Mar 18, 2024
1 parent 46f5cbc commit b7afbb6
Show file tree
Hide file tree
Showing 31 changed files with 1,340 additions and 352 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
# Run tests and publish amd64
build_amd64:
name: Run tests and publish amd64
runs-on: actuated
runs-on: actuated-8cpu-20gb
concurrency:
group: ${{ github.ref }}-amd64
cancel-in-progress: true
Expand All @@ -31,16 +31,16 @@ jobs:
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- run: make docker-test-build-amd64
- run: make test-integration-ci
- run: make docker-test-build-amd64 # two stage build, where test is run in the first stage
- run: make test-smoke-ci
- name: Push image to Docker hub only on main or tag (release) but not on schedule
if: (github.ref_name == 'main' || startsWith(github.ref, 'refs/tags')) && github.event_name != 'schedule'
run: make docker-push-amd64

# Run tests and publish aarch64
build_aarch64:
name: Run tests and publish aarch64
runs-on: actuated-aarch64
runs-on: actuated-arm64-16cpu-20gb
concurrency:
group: ${{ github.ref }}-aarch64
cancel-in-progress: true
Expand All @@ -60,8 +60,8 @@ jobs:
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- run: make docker-test-build-aarch64
- run: make test-integration-ci
- run: make docker-test-build-aarch64 # two stage build, where test is run in the first stage
- run: make test-smoke-ci
- name: Push image to Docker hub only on main or tag (release) but not on schedule
if: (github.ref_name == 'main' || startsWith(github.ref, 'refs/tags')) && github.event_name != 'schedule'
run: make docker-push-aarch64
Expand Down
Loading

0 comments on commit b7afbb6

Please sign in to comment.