CI tests and reworked state machine #17
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: integration-tests | |
on: | |
push: | |
branches: [main,next] | |
pull_request: | |
jobs: | |
build: | |
name: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- id: commit | |
uses: prompt/actions-commit-hash@v3 | |
- shell: bash | |
env: | |
SUPER_SECRET: ${{ secrets.DAGGER_CLOUD_TOKEN }} | |
run: | | |
echo "$SUPER_SECRET" | |
- name: Set env | |
run: echo "RELEASE_VERSION=${{ steps.commit.outputs.short }}" >> $GITHUB_ENV | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Integration Test | |
uses: dagger/dagger-for-github@v5 | |
with: | |
workdir: ci | |
verb: call | |
args: -s build-images --source-folder ../ --virtual-kubelet-ref ghcr.io/intertwin-eu/virtual-kubelet-inttw:$GITHUB_ENV --interlink-ref ghcr.io/intertwin-eu/interlink:$GITHUB_ENV --manifests $PWD/manifests load-plugin test stdout | |
cloud-token: ${{ secrets.DAGGER_CLOUD_TOKEN }} | |
#dagger-flags: -d |