diff --git a/.github/workflows/library-caddy2.10.yaml b/.github/workflows/library-caddy2.10.yaml index e862f30e..0157e4bb 100644 --- a/.github/workflows/library-caddy2.10.yaml +++ b/.github/workflows/library-caddy2.10.yaml @@ -55,7 +55,7 @@ jobs: arch: ${{ matrix.arch }} push: false output: oci://index.unikraft.io/unikraft.org/caddy:2.10 - + - name: Archive OCI digests uses: actions/upload-artifact@v4 with: @@ -63,9 +63,31 @@ jobs: path: ${{ github.workspace }}/.kraftkit/oci/digests if-no-files-found: error + run: + needs: build + strategy: + matrix: + include: + - plat: qemu + arch: x86_64 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Setup KraftKit + uses: unikraft/kraftkit@staging + with: + runtimedir: /github/workspace/.kraftkit + - name: Test caddy2.10 + run: | + cd library/caddy/2.10 + kraft run -d -M 512M -p 2015:2015 --plat ${{ matrix.plat }} --arch ${{ matrix.arch }} + sleep 10 + curl -I http://localhost:2015 || exit 1 + kraft stop --all + push: if: ${{ github.event_name == 'push' || github.event_name == 'schedule' }} - needs: [ build ] + needs: [ run ] runs-on: ubuntu-latest steps: diff --git a/.github/workflows/library-caddy2.7.yaml b/.github/workflows/library-caddy2.7.yaml index 44bb1f28..fed7d131 100644 --- a/.github/workflows/library-caddy2.7.yaml +++ b/.github/workflows/library-caddy2.7.yaml @@ -63,9 +63,31 @@ jobs: path: ${{ github.workspace }}/.kraftkit/oci/digests if-no-files-found: error + run: + needs: build + strategy: + matrix: + include: + - plat: qemu + arch: x86_64 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Setup KraftKit + uses: unikraft/kraftkit@staging + with: + runtimedir: /github/workspace/.kraftkit + - name: Test caddy2.7 + run: | + cd library/caddy/2.7 + kraft run -d -M 512M -p 2015:2015 --plat ${{ matrix.plat }} --arch ${{ matrix.arch }} + sleep 10 + curl -I http://localhost:2015 || exit 1 + kraft stop --all + push: if: ${{ github.event_name == 'push' || github.event_name == 'schedule' }} - needs: [ build ] + needs: [ run ] runs-on: ubuntu-latest steps: @@ -83,3 +105,4 @@ jobs: with: name: index.unikraft.io/unikraft.org/caddy:2.7 push: true + \ No newline at end of file diff --git a/.github/workflows/library-haproxy2.8.yaml b/.github/workflows/library-haproxy2.8.yaml index 997f7c9a..e5f40344 100644 --- a/.github/workflows/library-haproxy2.8.yaml +++ b/.github/workflows/library-haproxy2.8.yaml @@ -58,9 +58,31 @@ jobs: path: ${{ github.workspace }}/.kraftkit/oci/digests if-no-files-found: error + run: + needs: build + strategy: + matrix: + include: + - plat: qemu + arch: x86_64 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Setup KraftKit + uses: unikraft/kraftkit@staging + with: + runtimedir: /github/workspace/.kraftkit + - name: Test haproxy2.8 + run: | + cd library/haproxy/2.8 + kraft run -d -M 256M -p 8404:8404 --plat ${{ matrix.plat }} --arch ${{ matrix.arch }} + sleep 10 + curl -I http://localhost:8404/stats || exit 1 + kraft stop --all + push: if: ${{ github.event_name == 'push' || github.event_name == 'schedule' }} - needs: [ build ] + needs: [ run ] runs-on: ubuntu-latest steps: diff --git a/.github/workflows/library-httpbingo2.13.4.yaml b/.github/workflows/library-httpbingo2.13.4.yaml index 039b669e..04777c31 100644 --- a/.github/workflows/library-httpbingo2.13.4.yaml +++ b/.github/workflows/library-httpbingo2.13.4.yaml @@ -57,10 +57,31 @@ jobs: name: oci-digests-${{ matrix.arch }}-${{ matrix.plat }} path: ${{ github.workspace }}/.kraftkit/oci/digests if-no-files-found: error + run: + needs: build + strategy: + matrix: + include: + - plat: qemu + arch: x86_64 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Setup KraftKit + uses: unikraft/kraftkit@staging + with: + runtimedir: /github/workspace/.kraftkit + - name: Test httpbingo2.13.4 + run: | + cd library/httpbingo/2.13.4 + kraft run -d -M 256M -p 8080:8080 --plat ${{ matrix.plat }} --arch ${{ matrix.arch }} + sleep 10 + curl -I http://localhost:8080/status/418 || exit 1 + kraft stop --all push: if: ${{ github.event_name == 'push' || github.event_name == 'schedule' }} - needs: [ build ] + needs: [ run ] runs-on: ubuntu-latest steps: diff --git a/.github/workflows/library-surreal1.1.yaml b/.github/workflows/library-surreal1.1.yaml index a26243f8..ff739973 100644 --- a/.github/workflows/library-surreal1.1.yaml +++ b/.github/workflows/library-surreal1.1.yaml @@ -24,6 +24,9 @@ concurrency: group: ${{ github.workflow }}-${{ github.event_name == 'pull_request_target' && github.head_ref || github.ref }} cancel-in-progress: true +env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true + jobs: build: strategy: