Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 24 additions & 2 deletions .github/workflows/library-caddy2.10.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,39 @@ 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:
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 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:
Expand Down
25 changes: 24 additions & 1 deletion .github/workflows/library-caddy2.7.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -83,3 +105,4 @@ jobs:
with:
name: index.unikraft.io/unikraft.org/caddy:2.7
push: true

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add ending newline.

24 changes: 23 additions & 1 deletion .github/workflows/library-haproxy2.8.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
23 changes: 22 additions & 1 deletion .github/workflows/library-httpbingo2.13.4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/library-surreal1.1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading