Skip to content
Merged
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
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
name: examples/caddy (stable)
name: examples/caddy2.7-go1.21 (stable)

on:
workflow_dispatch:

push:
branches: [ main ]
paths:
- '.github/workflows/example-caddy-stable.yaml'
- 'caddy/**'
- '!caddy/README.md'
- '.github/workflows/example-caddy2.7-go1.21-stable.yaml'
- 'caddy2.7-go1.21/**'
- '!caddy2.7-go1.21/README.md'

pull_request:
types: [ opened, synchronize, reopened ]
branches: [ main ]
paths:
- '.github/workflows/example-caddy-stable.yaml'
- 'caddy/**'
- '!caddy/README.md'
- '.github/workflows/example-caddy2.7-go1.21-stable.yaml'
- 'caddy2.7-go1.21/**'
- '!caddy2.7-go1.21/README.md'

schedule:
- cron: '0 15 * * 1-5'
Expand Down Expand Up @@ -47,22 +47,22 @@ jobs:
run: |
set -xe;

cd caddy;
cd caddy2.7-go1.21;

kraft cloud deploy \
--no-start \
--name caddy-${GITHUB_RUN_ID} \
--name caddy27-go121-${GITHUB_RUN_ID} \
--runtime index.unikraft.io/official-testing/base-compat:latest \
--subdomain caddy-${GITHUB_RUN_ID} \
--subdomain caddy27-go121-${GITHUB_RUN_ID} \
-p 443:2015 \
-M 256 \
.;

# wait for the instance to start
kraft cloud vm start -w 5s caddy-${GITHUB_RUN_ID};
kraft cloud vm start -w 5s caddy27-go121-${GITHUB_RUN_ID};
sleep 5;

curl -Lv --fail-with-body --max-time 10 https://caddy-${GITHUB_RUN_ID}.${{ vars.UKC_METRO_STABLE }}.unikraft.app
curl -Lv --fail-with-body --max-time 10 https://caddy27-go121-${GITHUB_RUN_ID}.${{ vars.UKC_METRO_STABLE }}.unikraft.app

- name: Cleanup
uses: unikraft/kraftkit@staging
Expand All @@ -71,7 +71,7 @@ jobs:
run: |
set -xe;

kraft cloud vm stop caddy-${GITHUB_RUN_ID} || true;
kraft cloud vm logs caddy-${GITHUB_RUN_ID} || true;
kraft cloud vm rm caddy-${GITHUB_RUN_ID} || true;
kraft cloud img rm index.unikraft.io/test/caddy-${GITHUB_RUN_ID} || true;
kraft cloud vm stop caddy27-go121-${GITHUB_RUN_ID} || true;
kraft cloud vm logs caddy27-go121-${GITHUB_RUN_ID} || true;
kraft cloud vm rm caddy27-go121-${GITHUB_RUN_ID} || true;
kraft cloud img rm index.unikraft.io/test/caddy27-go121-${GITHUB_RUN_ID} || true;
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
name: examples/caddy (staging)
name: examples/caddy2.7-go1.21 (staging)

on:
workflow_dispatch:

push:
branches: [ main ]
paths:
- '.github/workflows/example-caddy-staging.yaml'
- 'caddy/**'
- '!caddy/README.md'
- '.github/workflows/example-caddy2.7-go1.21-staging.yaml'
- 'caddy2.7-go1.21/**'
- '!caddy2.7-go1.21/README.md'

pull_request:
types: [ opened, synchronize, reopened ]
branches: [ main ]
paths:
- '.github/workflows/example-caddy-staging.yaml'
- 'caddy/**'
- '!caddy/README.md'
- '.github/workflows/example-caddy2.7-go1.21-staging.yaml'
- 'caddy2.7-go1.21/**'
- '!caddy2.7-go1.21/README.md'

schedule:
- cron: '0 15 * * 1-5'
Expand Down Expand Up @@ -47,22 +47,22 @@ jobs:
run: |
set -xe;

cd caddy;
cd caddy2.7-go1.21;

kraft cloud deploy \
--no-start \
--name caddy-${GITHUB_RUN_ID} \
--name caddy27-go121-${GITHUB_RUN_ID} \
--runtime index.unikraft.io/official-staging/base-compat:latest \
--subdomain caddy-${GITHUB_RUN_ID} \
--subdomain caddy27-go121-${GITHUB_RUN_ID} \
-p 443:2015 \
-M 256 \
.;

# wait for the instance to start
kraft cloud vm start -w 5s caddy-${GITHUB_RUN_ID};
kraft cloud vm start -w 5s caddy27-go121-${GITHUB_RUN_ID};
sleep 5;

curl -Lv --fail-with-body --max-time 10 https://caddy-${GITHUB_RUN_ID}.${{ vars.UKC_METRO_STAGING }}.unikraft.app
curl -Lv --fail-with-body --max-time 10 https://caddy27-go121-${GITHUB_RUN_ID}.${{ vars.UKC_METRO_STAGING }}.unikraft.app

- name: Cleanup
uses: unikraft/kraftkit@staging
Expand All @@ -71,7 +71,7 @@ jobs:
run: |
set -xe;

kraft cloud vm stop caddy-${GITHUB_RUN_ID} || true;
kraft cloud vm logs caddy-${GITHUB_RUN_ID} || true;
kraft cloud vm rm caddy-${GITHUB_RUN_ID} || true;
kraft cloud img rm index.unikraft.io/test/caddy-${GITHUB_RUN_ID} || true;
kraft cloud vm stop caddy27-go121-${GITHUB_RUN_ID} || true;
kraft cloud vm logs caddy27-go121-${GITHUB_RUN_ID} || true;
kraft cloud vm rm caddy27-go121-${GITHUB_RUN_ID} || true;
kraft cloud img rm index.unikraft.io/test/caddy27-go121-${GITHUB_RUN_ID} || true;
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
name: examples/http-c (stable)
name: examples/httpserver-boost1.74-g++13.2 (stable)

on:
workflow_dispatch:

push:
branches: [ main ]
paths:
- '.github/workflows/example-http-c-stable.yaml'
- 'http-c/**'
- '!http-c/README.md'
- '.github/workflows/example-httpserver-boost1.74-g++13.2-stable.yaml'
- 'httpserver-boost1.74-g++13.2/**'
- '!httpserver-boost1.74-g++13.2/README.md'

pull_request:
types: [ opened, synchronize, reopened ]
branches: [ main ]
paths:
- '.github/workflows/example-http-c-stable.yaml'
- 'http-c/**'
- '!http-c/README.md'
- '.github/workflows/example-httpserver-boost1.74-g++13.2-stable.yaml'
- 'httpserver-boost1.74-g++13.2/**'
- '!httpserver-boost1.74-g++13.2/README.md'

schedule:
- cron: '0 15 * * 1-5'
Expand Down Expand Up @@ -47,22 +47,22 @@ jobs:
run: |
set -xe;

cd http-c;
cd httpserver-boost1.74-g++13.2;

kraft cloud deploy \
--no-start \
--name http-c-${GITHUB_RUN_ID} \
--name httpserver-boost174-g++132-${GITHUB_RUN_ID} \
--runtime index.unikraft.io/official-testing/base-compat:latest \
--subdomain http-c-${GITHUB_RUN_ID} \
--subdomain httpserver-boost174-g++132-${GITHUB_RUN_ID} \
-p 443:8080 \
-M 256 \
.;

# wait for the instance to start
kraft cloud vm start -w 5s http-c-${GITHUB_RUN_ID};
kraft cloud vm start -w 5s httpserver-boost174-g++132-${GITHUB_RUN_ID};
sleep 5;

curl -Lv --fail-with-body --max-time 10 https://http-c-${GITHUB_RUN_ID}.${{ vars.UKC_METRO_STABLE }}.unikraft.app
curl -Lv --fail-with-body --max-time 10 https://httpserver-boost174-g++132-${GITHUB_RUN_ID}.${{ vars.UKC_METRO_STABLE }}.unikraft.app

- name: Cleanup
uses: unikraft/kraftkit@staging
Expand All @@ -71,7 +71,7 @@ jobs:
run: |
set -xe;

kraft cloud vm stop http-c-${GITHUB_RUN_ID} || true;
kraft cloud vm logs http-c-${GITHUB_RUN_ID} || true;
kraft cloud vm rm http-c-${GITHUB_RUN_ID} || true;
kraft cloud img rm index.unikraft.io/test/http-c-${GITHUB_RUN_ID} || true;
kraft cloud vm stop httpserver-boost174-g++132-${GITHUB_RUN_ID} || true;
kraft cloud vm logs httpserver-boost174-g++132-${GITHUB_RUN_ID} || true;
kraft cloud vm rm httpserver-boost174-g++132-${GITHUB_RUN_ID} || true;
kraft cloud img rm index.unikraft.io/test/httpserver-boost174-g++132-${GITHUB_RUN_ID} || true;
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
name: examples/http-c (staging)
name: examples/httpserver-boost1.74-g++13.2 (staging)

on:
workflow_dispatch:

push:
branches: [ main ]
paths:
- '.github/workflows/example-http-c-staging.yaml'
- 'http-c/**'
- '!http-c/README.md'
- '.github/workflows/example-httpserver-boost1.74-g++13.2-staging.yaml'
- 'httpserver-boost1.74-g++13.2/**'
- '!httpserver-boost1.74-g++13.2/README.md'

pull_request:
types: [ opened, synchronize, reopened ]
branches: [ main ]
paths:
- '.github/workflows/example-http-c-staging.yaml'
- 'http-c/**'
- '!http-c/README.md'
- '.github/workflows/example-httpserver-boost1.74-g++13.2-staging.yaml'
- 'httpserver-boost1.74-g++13.2/**'
- '!httpserver-boost1.74-g++13.2/README.md'

schedule:
- cron: '0 15 * * 1-5'
Expand Down Expand Up @@ -47,22 +47,22 @@ jobs:
run: |
set -xe;

cd http-c;
cd httpserver-boost1.74-g++13.2;

kraft cloud deploy \
--no-start \
--name http-c-${GITHUB_RUN_ID} \
--name httpserver-boost174-g++132-${GITHUB_RUN_ID} \
--runtime index.unikraft.io/official-staging/base-compat:latest \
--subdomain http-c-${GITHUB_RUN_ID} \
--subdomain httpserver-boost174-g++132-${GITHUB_RUN_ID} \
-p 443:8080 \
-M 256 \
.;

# wait for the instance to start
kraft cloud vm start -w 5s http-c-${GITHUB_RUN_ID};
kraft cloud vm start -w 5s httpserver-boost174-g++132-${GITHUB_RUN_ID};
sleep 5;

curl -Lv --fail-with-body --max-time 10 https://http-c-${GITHUB_RUN_ID}.${{ vars.UKC_METRO_STAGING }}.unikraft.app
curl -Lv --fail-with-body --max-time 10 https://httpserver-boost174-g++132-${GITHUB_RUN_ID}.${{ vars.UKC_METRO_STAGING }}.unikraft.app

- name: Cleanup
uses: unikraft/kraftkit@staging
Expand All @@ -71,7 +71,7 @@ jobs:
run: |
set -xe;

kraft cloud vm stop http-c-${GITHUB_RUN_ID} || true;
kraft cloud vm logs http-c-${GITHUB_RUN_ID} || true;
kraft cloud vm rm http-c-${GITHUB_RUN_ID} || true;
kraft cloud img rm index.unikraft.io/test/http-c-${GITHUB_RUN_ID} || true;
kraft cloud vm stop httpserver-boost174-g++132-${GITHUB_RUN_ID} || true;
kraft cloud vm logs httpserver-boost174-g++132-${GITHUB_RUN_ID} || true;
kraft cloud vm rm httpserver-boost174-g++132-${GITHUB_RUN_ID} || true;
kraft cloud img rm index.unikraft.io/test/httpserver-boost174-g++132-${GITHUB_RUN_ID} || true;
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
name: examples/http-cpp (stable)
name: examples/httpserver-g++13.2 (stable)

on:
workflow_dispatch:

push:
branches: [ main ]
paths:
- '.github/workflows/example-http-cpp-stable.yaml'
- 'http-cpp/**'
- '!http-cpp/README.md'
- '.github/workflows/example-httpserver-g++13.2-stable.yaml'
- 'httpserver-g++13.2/**'
- '!httpserver-g++13.2/README.md'

pull_request:
types: [ opened, synchronize, reopened ]
branches: [ main ]
paths:
- '.github/workflows/example-http-cpp-stable.yaml'
- 'http-cpp/**'
- '!http-cpp/README.md'
- '.github/workflows/example-httpserver-g++13.2-stable.yaml'
- 'httpserver-g++13.2/**'
- '!httpserver-g++13.2/README.md'

schedule:
- cron: '0 15 * * 1-5'
Expand Down Expand Up @@ -47,22 +47,22 @@ jobs:
run: |
set -xe;

cd http-cpp;
cd httpserver-g++13.2;

kraft cloud deploy \
--no-start \
--name http-cpp-${GITHUB_RUN_ID} \
--name httpserver-g++132-${GITHUB_RUN_ID} \
--runtime index.unikraft.io/official-testing/base-compat:latest \
--subdomain http-cpp-${GITHUB_RUN_ID} \
--subdomain httpserver-g++132-${GITHUB_RUN_ID} \
-p 443:8080 \
-M 256 \
.;

# wait for the instance to start
kraft cloud vm start -w 5s http-cpp-${GITHUB_RUN_ID};
kraft cloud vm start -w 5s httpserver-g++132-${GITHUB_RUN_ID};
sleep 5;

curl -Lv --fail-with-body --max-time 10 https://http-cpp-${GITHUB_RUN_ID}.${{ vars.UKC_METRO_STABLE }}.unikraft.app
curl -Lv --fail-with-body --max-time 10 https://httpserver-g++132-${GITHUB_RUN_ID}.${{ vars.UKC_METRO_STABLE }}.unikraft.app

- name: Cleanup
uses: unikraft/kraftkit@staging
Expand All @@ -71,7 +71,7 @@ jobs:
run: |
set -xe;

kraft cloud vm stop http-cpp-${GITHUB_RUN_ID} || true;
kraft cloud vm logs http-cpp-${GITHUB_RUN_ID} || true;
kraft cloud vm rm http-cpp-${GITHUB_RUN_ID} || true;
kraft cloud img rm index.unikraft.io/test/http-cpp-${GITHUB_RUN_ID} || true;
kraft cloud vm stop httpserver-g++132-${GITHUB_RUN_ID} || true;
kraft cloud vm logs httpserver-g++132-${GITHUB_RUN_ID} || true;
kraft cloud vm rm httpserver-g++132-${GITHUB_RUN_ID} || true;
kraft cloud img rm index.unikraft.io/test/httpserver-g++132-${GITHUB_RUN_ID} || true;
Loading
Loading