Added documentation VK side #148
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,next2next] | |
pull_request: | |
jobs: | |
build: | |
name: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.repository_owner }} | |
#password: ${{ secrets.GITHUB_TOKEN }} | |
password: ${{ secrets.GH_CR_TOKEN }} | |
- name: Run plugin | |
run: | | |
wget https://github.com/interTwin-eu/interlink-docker-plugin/releases/download/0.0.22-no-gpu/docker-plugin_Linux_x86_64 -O docker-plugin \ | |
&& chmod +x docker-plugin \ | |
&& docker ps \ | |
&& export INTERLINKCONFIGPATH=$PWD/ci/manifests/plugin-config.yaml \ | |
&& ./docker-plugin & | |
- name: Get Repo Owner | |
id: get_repo_owner | |
run: echo ::set-output name=repo_owner::$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]') | |
- 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/${{ steps.get_repo_owner.outputs.repo_owner }}/interlink/virtual-kubelet-inttw:$GITHUB_SHA --interlink-ref ghcr.io/${{ steps.get_repo_owner.outputs.repo_owner }}/interlink/interlink:$GITHUB_SHA new-interlink --manifests $PWD/manifests --plugin-local-service tcp://localhost:4000 test stdout | |
cloud-token: ${{ secrets.DAGGER_CLOUD_TOKEN }} | |
#dagger-flags: -d |