Skip to content

Commit

Permalink
CI needs to run lifecycle tests too (#139)
Browse files Browse the repository at this point in the history
* CI needs to run lifecycle tests too

* I guess this changed
  • Loading branch information
UnstoppableMango authored Aug 15, 2024
1 parent 607d021 commit 4fd1e48
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,8 @@ jobs:
name: Tests
runs-on: ubuntu-latest
needs: [setup]
env:
PROVISIONER_IMAGE: baremetal-provisioner:test
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -290,18 +292,16 @@ jobs:
uses: docker/build-push-action@v6
with:
file: provider/cmd/provisioner/Dockerfile
tags: baremetal-provisioner:test
tags: ${{ env.PROVISIONER_IMAGE }}
target: test
cache-from: type=gha
cache-to: type=gha,mode=max
load: true

- name: Test
working-directory: tests
- name: Lifecycle Tests
working-directory: tests/lifecycle
run: |
go run github.com/onsi/ginkgo/v2/ginkgo run -v --silence-skips --github-output
env:
PROVISIONER_IMAGE: baremetal-provisioner:test
install-sh:
if: needs.setup.outputs.install-sh == 'true'
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ release:
- glob: out/baremetal-provisioner.service

snapshot:
name_template: '{{ .Tag }}-SNAPSHOT'
version_template: '{{ .Tag }}-SNAPSHOT'

0 comments on commit 4fd1e48

Please sign in to comment.