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
Expand Up @@ -47,7 +47,7 @@ jobs:
run: |
set -xe;

cd http-python3.12-django5.0;
cd httpserver-python3.12-django5.0;

kraft cloud deploy \
--no-start \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
run: |
set -xe;

cd http-python3.12-django5.0;
cd httpserver-python3.12-django5.0;

kraft cloud deploy \
--no-start \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
name: examples/http-rust1.87-actix-web4 (stable)
name: examples/http-python3.12-flask3.0 (stable)

on:
workflow_dispatch:

push:
branches: [ main ]
paths:
- '.github/workflows/example-http-rust1.87-actix-web4-stable.yaml'
- 'http-rust1.87-actix-web4/**'
- '!http-rust1.87-actix-web4/README.md'
- '.github/workflows/example-http-python3.12-flask3.0-stable.yaml'
- 'http-python3.12-flask3.0/**'
- '!http-python3.12-flask3.0/README.md'

pull_request:
types: [ opened, synchronize, reopened ]
branches: [ main ]
paths:
- '.github/workflows/example-http-rust1.87-actix-web4-stable.yaml'
- 'http-rust1.87-actix-web4/**'
- '!http-rust1.87-actix-web4/README.md'
- '.github/workflows/example-http-python3.12-flask3.0-stable.yaml'
- 'http-python3.12-flask3.0/**'
- '!http-python3.12-flask3.0/README.md'

schedule:
- cron: '45 15 * * 1-5'
- cron: '30 15 * * 1-5'

# Automatically cancel in-progress actions on the same branch
concurrency:
Expand Down Expand Up @@ -47,22 +47,22 @@ jobs:
run: |
set -xe;

cd http-rust1.87-actix-web4;
cd httpserver-python3.12-flask3.0;

kraft cloud deploy \
--no-start \
--name http-rust187-actix-web4-${GITHUB_RUN_ID} \
--name http-python312-flask30-${GITHUB_RUN_ID} \
--runtime index.unikraft.io/official-testing/base-compat:latest \
--subdomain http-rust187-actix-web4-${GITHUB_RUN_ID} \
--subdomain http-python312-flask30-${GITHUB_RUN_ID} \
-p 443:8080 \
-M 256 \
-M 512 \
.;

# wait for the instance to start
kraft cloud vm start -w 5s http-rust187-actix-web4-${GITHUB_RUN_ID}
kraft cloud vm start -w 5s http-python312-flask30-${GITHUB_RUN_ID};
sleep 5;

curl -Lv --fail-with-body --max-time 10 https://http-rust187-actix-web4-${GITHUB_RUN_ID}.${{ vars.UKC_METRO_STABLE }}.unikraft.app
curl -Lv --fail-with-body --max-time 10 https://http-python312-flask30-${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-rust187-actix-web4-${GITHUB_RUN_ID} || true;
kraft cloud vm logs http-rust187-actix-web4-${GITHUB_RUN_ID} || true;
kraft cloud vm rm http-rust187-actix-web4-${GITHUB_RUN_ID} || true;
kraft cloud img rm index.unikraft.io/test/http-rust187-actix-web4-${GITHUB_RUN_ID} || true;
kraft cloud vm stop http-python312-flask30-${GITHUB_RUN_ID} || true;
kraft cloud vm logs http-python312-flask30-${GITHUB_RUN_ID} || true;
kraft cloud vm rm http-python312-flask30-${GITHUB_RUN_ID} || true;
kraft cloud img rm index.unikraft.io/test/http-python312-flask30-${GITHUB_RUN_ID} || true;
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
run: |
set -xe;

cd http-python3.12-flask3.0;
cd httpserver-python3.12-flask3.0;

kraft cloud deploy \
--no-start \
Expand Down
35 changes: 17 additions & 18 deletions README.md

Large diffs are not rendered by default.