diff --git a/.github/workflows/example-httpserver-boost1.74-g++13.2-stable.yaml b/.github/workflows/example-httpserver-boost1.74-gpp13.2-stable.yaml similarity index 62% rename from .github/workflows/example-httpserver-boost1.74-g++13.2-stable.yaml rename to .github/workflows/example-httpserver-boost1.74-gpp13.2-stable.yaml index e557cac2..9cbabcae 100644 --- a/.github/workflows/example-httpserver-boost1.74-g++13.2-stable.yaml +++ b/.github/workflows/example-httpserver-boost1.74-gpp13.2-stable.yaml @@ -1,4 +1,4 @@ -name: examples/httpserver-boost1.74-g++13.2 (stable) +name: examples/httpserver-boost1.74-gpp13.2 (stable) on: workflow_dispatch: @@ -6,17 +6,17 @@ on: push: branches: [ main ] paths: - - .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' + - .github/workflows/example-httpserver-boost1.74-gpp13.2-stable.yaml + - httpserver-boost1.74-gpp13.2/** + - '!httpserver-boost1.74-gpp13.2/README.md' pull_request: types: [ opened, synchronize, reopened ] branches: [ main ] paths: - - .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' + - .github/workflows/example-httpserver-boost1.74-gpp13.2-stable.yaml + - httpserver-boost1.74-gpp13.2/** + - '!httpserver-boost1.74-gpp13.2/README.md' schedule: - cron: '0 15 * * 1-5' @@ -50,22 +50,22 @@ jobs: run: | set -xe; - cd httpserver-boost1.74-g++13.2; + cd httpserver-boost1.74-gpp13.2; kraft cloud deploy \ --no-start \ - --name httpserver-boost174-g++132-${GITHUB_RUN_ID} \ + --name httpserver-boost174-gpp132-${GITHUB_RUN_ID} \ --runtime index.unikraft.io/official-testing/base-compat:latest \ - --subdomain httpserver-boost174-g++132-${GITHUB_RUN_ID} \ + --subdomain httpserver-boost174-gpp132-${GITHUB_RUN_ID} \ -p 443:8080 \ -M 256 \ .; # wait for the instance to start - kraft cloud vm start -w 5s httpserver-boost174-g++132-${GITHUB_RUN_ID}; + kraft cloud vm start -w 5s httpserver-boost174-gpp132-${GITHUB_RUN_ID}; sleep 5; - curl -Lv --fail-with-body --max-time 10 https://httpserver-boost174-g++132-${GITHUB_RUN_ID}.${{ vars.UKC_METRO_STABLE }}.unikraft.app + curl -Lv --fail-with-body --max-time 10 https://httpserver-boost174-gpp132-${GITHUB_RUN_ID}.${{ vars.UKC_METRO_STABLE }}.unikraft.app - name: Cleanup uses: unikraft/kraftkit@staging @@ -74,7 +74,7 @@ jobs: run: | set -xe; - 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; + kraft cloud vm stop httpserver-boost174-gpp132-${GITHUB_RUN_ID} || true; + kraft cloud vm logs httpserver-boost174-gpp132-${GITHUB_RUN_ID} || true; + kraft cloud vm rm httpserver-boost174-gpp132-${GITHUB_RUN_ID} || true; + kraft cloud img rm index.unikraft.io/test/httpserver-boost174-gpp132-${GITHUB_RUN_ID} || true; diff --git a/.github/workflows/example-httpserver-boost1.74-g++13.2-staging.yaml b/.github/workflows/example-httpserver-boost1.74-gpp13.2-staging.yaml similarity index 62% rename from .github/workflows/example-httpserver-boost1.74-g++13.2-staging.yaml rename to .github/workflows/example-httpserver-boost1.74-gpp13.2-staging.yaml index ac2e0a69..d7cb4bfb 100644 --- a/.github/workflows/example-httpserver-boost1.74-g++13.2-staging.yaml +++ b/.github/workflows/example-httpserver-boost1.74-gpp13.2-staging.yaml @@ -1,4 +1,4 @@ -name: examples/httpserver-boost1.74-g++13.2 (staging) +name: examples/httpserver-boost1.74-gpp13.2 (staging) on: workflow_dispatch: @@ -6,17 +6,17 @@ on: push: branches: [ main ] paths: - - .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' + - .github/workflows/example-httpserver-boost1.74-gpp13.2-staging.yaml + - httpserver-boost1.74-gpp13.2/** + - '!httpserver-boost1.74-gpp13.2/README.md' pull_request: types: [ opened, synchronize, reopened ] branches: [ main ] paths: - - .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' + - .github/workflows/example-httpserver-boost1.74-gpp13.2-staging.yaml + - httpserver-boost1.74-gpp13.2/** + - '!httpserver-boost1.74-gpp13.2/README.md' schedule: - cron: '0 15 * * 1-5' @@ -50,22 +50,22 @@ jobs: run: | set -xe; - cd httpserver-boost1.74-g++13.2; + cd httpserver-boost1.74-gpp13.2; kraft cloud deploy \ --no-start \ - --name httpserver-boost174-g++132-${GITHUB_RUN_ID} \ + --name httpserver-boost174-gpp132-${GITHUB_RUN_ID} \ --runtime index.unikraft.io/official-staging/base-compat:latest \ - --subdomain httpserver-boost174-g++132-${GITHUB_RUN_ID} \ + --subdomain httpserver-boost174-gpp132-${GITHUB_RUN_ID} \ -p 443:8080 \ -M 256 \ .; # wait for the instance to start - kraft cloud vm start -w 5s httpserver-boost174-g++132-${GITHUB_RUN_ID}; + kraft cloud vm start -w 5s httpserver-boost174-gpp132-${GITHUB_RUN_ID}; sleep 5; - curl -Lv --fail-with-body --max-time 10 https://httpserver-boost174-g++132-${GITHUB_RUN_ID}.${{ vars.UKC_METRO_STAGING }}.unikraft.app + curl -Lv --fail-with-body --max-time 10 https://httpserver-boost174-gpp132-${GITHUB_RUN_ID}.${{ vars.UKC_METRO_STAGING }}.unikraft.app - name: Cleanup uses: unikraft/kraftkit@staging @@ -74,7 +74,7 @@ jobs: run: | set -xe; - 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; + kraft cloud vm stop httpserver-boost174-gpp132-${GITHUB_RUN_ID} || true; + kraft cloud vm logs httpserver-boost174-gpp132-${GITHUB_RUN_ID} || true; + kraft cloud vm rm httpserver-boost174-gpp132-${GITHUB_RUN_ID} || true; + kraft cloud img rm index.unikraft.io/test/httpserver-boost174-gpp132-${GITHUB_RUN_ID} || true; diff --git a/.github/workflows/example-httpserver-g++13.2-stable.yaml b/.github/workflows/example-httpserver-gpp13.2-stable.yaml similarity index 63% rename from .github/workflows/example-httpserver-g++13.2-stable.yaml rename to .github/workflows/example-httpserver-gpp13.2-stable.yaml index 36989573..4aea37d0 100644 --- a/.github/workflows/example-httpserver-g++13.2-stable.yaml +++ b/.github/workflows/example-httpserver-gpp13.2-stable.yaml @@ -1,4 +1,4 @@ -name: examples/httpserver-g++13.2 (stable) +name: examples/httpserver-gpp13.2 (stable) on: workflow_dispatch: @@ -6,17 +6,17 @@ on: push: branches: [ main ] paths: - - .github/workflows/example-httpserver-g++13.2-stable.yaml - - httpserver-g++13.2/** - - '!httpserver-g++13.2/README.md' + - .github/workflows/example-httpserver-gpp13.2-stable.yaml + - httpserver-gpp13.2/** + - '!httpserver-gpp13.2/README.md' pull_request: types: [ opened, synchronize, reopened ] branches: [ main ] paths: - - .github/workflows/example-httpserver-g++13.2-stable.yaml - - httpserver-g++13.2/** - - '!httpserver-g++13.2/README.md' + - .github/workflows/example-httpserver-gpp13.2-stable.yaml + - httpserver-gpp13.2/** + - '!httpserver-gpp13.2/README.md' schedule: - cron: '0 15 * * 1-5' @@ -50,22 +50,22 @@ jobs: run: | set -xe; - cd httpserver-g++13.2; + cd httpserver-gpp13.2; kraft cloud deploy \ --no-start \ - --name httpserver-g++132-${GITHUB_RUN_ID} \ + --name httpserver-gpp132-${GITHUB_RUN_ID} \ --runtime index.unikraft.io/official-testing/base-compat:latest \ - --subdomain httpserver-g++132-${GITHUB_RUN_ID} \ + --subdomain httpserver-gpp132-${GITHUB_RUN_ID} \ -p 443:8080 \ -M 256 \ .; # wait for the instance to start - kraft cloud vm start -w 5s httpserver-g++132-${GITHUB_RUN_ID}; + kraft cloud vm start -w 5s httpserver-gpp132-${GITHUB_RUN_ID}; sleep 5; - curl -Lv --fail-with-body --max-time 10 https://httpserver-g++132-${GITHUB_RUN_ID}.${{ vars.UKC_METRO_STABLE }}.unikraft.app + curl -Lv --fail-with-body --max-time 10 https://httpserver-gpp132-${GITHUB_RUN_ID}.${{ vars.UKC_METRO_STABLE }}.unikraft.app - name: Cleanup uses: unikraft/kraftkit@staging @@ -74,7 +74,7 @@ jobs: run: | set -xe; - 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; + kraft cloud vm stop httpserver-gpp132-${GITHUB_RUN_ID} || true; + kraft cloud vm logs httpserver-gpp132-${GITHUB_RUN_ID} || true; + kraft cloud vm rm httpserver-gpp132-${GITHUB_RUN_ID} || true; + kraft cloud img rm index.unikraft.io/test/httpserver-gpp132-${GITHUB_RUN_ID} || true; diff --git a/.github/workflows/example-httpserver-g++13.2-staging.yaml b/.github/workflows/example-httpserver-gpp13.2-staging.yaml similarity index 63% rename from .github/workflows/example-httpserver-g++13.2-staging.yaml rename to .github/workflows/example-httpserver-gpp13.2-staging.yaml index b3031f8d..ff51e71d 100644 --- a/.github/workflows/example-httpserver-g++13.2-staging.yaml +++ b/.github/workflows/example-httpserver-gpp13.2-staging.yaml @@ -1,4 +1,4 @@ -name: examples/httpserver-g++13.2 (staging) +name: examples/httpserver-gpp13.2 (staging) on: workflow_dispatch: @@ -6,17 +6,17 @@ on: push: branches: [ main ] paths: - - .github/workflows/example-httpserver-g++13.2-staging.yaml - - httpserver-g++13.2/** - - '!httpserver-g++13.2/README.md' + - .github/workflows/example-httpserver-gpp13.2-staging.yaml + - httpserver-gpp13.2/** + - '!httpserver-gpp13.2/README.md' pull_request: types: [ opened, synchronize, reopened ] branches: [ main ] paths: - - .github/workflows/example-httpserver-g++13.2-staging.yaml - - httpserver-g++13.2/** - - '!httpserver-g++13.2/README.md' + - .github/workflows/example-httpserver-gpp13.2-staging.yaml + - httpserver-gpp13.2/** + - '!httpserver-gpp13.2/README.md' schedule: - cron: '0 15 * * 1-5' @@ -50,22 +50,22 @@ jobs: run: | set -xe; - cd httpserver-g++13.2; + cd httpserver-gpp13.2; kraft cloud deploy \ --no-start \ - --name httpserver-g++132-${GITHUB_RUN_ID} \ + --name httpserver-gpp132-${GITHUB_RUN_ID} \ --runtime index.unikraft.io/official-staging/base-compat:latest \ - --subdomain httpserver-g++132-${GITHUB_RUN_ID} \ + --subdomain httpserver-gpp132-${GITHUB_RUN_ID} \ -p 443:8080 \ -M 256 \ .; # wait for the instance to start - kraft cloud vm start -w 5s httpserver-g++132-${GITHUB_RUN_ID}; + kraft cloud vm start -w 5s httpserver-gpp132-${GITHUB_RUN_ID}; sleep 5; - curl -Lv --fail-with-body --max-time 10 https://httpserver-g++132-${GITHUB_RUN_ID}.${{ vars.UKC_METRO_STAGING }}.unikraft.app + curl -Lv --fail-with-body --max-time 10 https://httpserver-gpp132-${GITHUB_RUN_ID}.${{ vars.UKC_METRO_STAGING }}.unikraft.app - name: Cleanup uses: unikraft/kraftkit@staging @@ -74,7 +74,7 @@ jobs: run: | set -xe; - 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; + kraft cloud vm stop httpserver-gpp132-${GITHUB_RUN_ID} || true; + kraft cloud vm logs httpserver-gpp132-${GITHUB_RUN_ID} || true; + kraft cloud vm rm httpserver-gpp132-${GITHUB_RUN_ID} || true; + kraft cloud img rm index.unikraft.io/test/httpserver-gpp132-${GITHUB_RUN_ID} || true; diff --git a/README.md b/README.md index 0e0c2b2c..b9c52a31 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Example | Unikraft Cloud
`stable` | Unikraft Cloud
`staging` | | [`github-webhook-node`](https://github.com/unikraft-cloud/examples/tree/main/github-webhook-node) | | | | [`grafana`](https://github.com/unikraft-cloud/examples/tree/main/grafana) | [![](https://github.com/unikraft-cloud/examples/actions/workflows/example-grafana-stable.yaml/badge.svg)](https://github.com/unikraft-cloud/examples/actions/workflows/example-grafana-stable.yaml) | [![](https://github.com/unikraft-cloud/examples/actions/workflows/example-grafana-staging.yaml/badge.svg)](https://github.com/unikraft-cloud/examples/actions/workflows/example-grafana-staging.yaml) | | [`haproxy`](https://github.com/unikraft-cloud/examples/tree/main/haproxy) | | | -| [`httpserver-boost1.74-g++13.2`](https://github.com/unikraft-cloud/examples/tree/main/httpserver-boost1.74-g++13.2) | [![](https://github.com/unikraft-cloud/examples/actions/workflows/example-httpserver-boost1.74-g++13.2-stable.yaml/badge.svg)](https://github.com/unikraft-cloud/examples/actions/workflows/example-httpserver-boost1.74-g++13.2-stable.yaml) | [![](https://github.com/unikraft-cloud/examples/actions/workflows/example-httpserver-boost1.74-g++13.2-staging.yaml/badge.svg)](https://github.com/unikraft-cloud/examples/actions/workflows/example-httpserver-boost1.74-g++13.2-staging.yaml) | +| [`httpserver-boost1.74-gpp13.2`](https://github.com/unikraft-cloud/examples/tree/main/httpserver-boost1.74-gpp13.2) | [![](https://github.com/unikraft-cloud/examples/actions/workflows/example-httpserver-boost1.74-gpp13.2-stable.yaml/badge.svg)](https://github.com/unikraft-cloud/examples/actions/workflows/example-httpserver-boost1.74-gpp13.2-stable.yaml) | [![](https://github.com/unikraft-cloud/examples/actions/workflows/example-httpserver-boost1.74-gpp13.2-staging.yaml/badge.svg)](https://github.com/unikraft-cloud/examples/actions/workflows/example-httpserver-boost1.74-gpp13.2-staging.yaml) | | [`httpserver-bun`](https://github.com/unikraft-cloud/examples/tree/main/httpserver-bun) | [![](https://github.com/unikraft-cloud/examples/actions/workflows/example-httpserver-bun-stable.yaml/badge.svg)](https://github.com/unikraft-cloud/examples/actions/workflows/example-httpserver-bun-stable.yaml) | [![](https://github.com/unikraft-cloud/examples/actions/workflows/example-httpserver-bun-staging.yaml/badge.svg)](https://github.com/unikraft-cloud/examples/actions/workflows/example-httpserver-bun-staging.yaml) | | [`httpserver-c-debug`](https://github.com/unikraft-cloud/examples/tree/main/httpserver-c-debug) | | | | [`httpserver-dotnet10.0`](https://github.com/unikraft-cloud/examples/tree/main/httpserver-dotnet10.0) | [![](https://github.com/unikraft-cloud/examples/actions/workflows/example-httpserver-dotnet10.0-stable.yaml/badge.svg)](https://github.com/unikraft-cloud/examples/actions/workflows/example-httpserver-dotnet10.0-stable.yaml) | [![](https://github.com/unikraft-cloud/examples/actions/workflows/example-httpserver-dotnet10.0-staging.yaml/badge.svg)](https://github.com/unikraft-cloud/examples/actions/workflows/example-httpserver-dotnet10.0-staging.yaml) | @@ -22,7 +22,7 @@ Example | Unikraft Cloud
`stable` | Unikraft Cloud
`staging` | | [`httpserver-erlang26.2`](https://github.com/unikraft-cloud/examples/tree/main/httpserver-erlang26.2) | [![](https://github.com/unikraft-cloud/examples/actions/workflows/example-httpserver-erlang26.2-stable.yaml/badge.svg)](https://github.com/unikraft-cloud/examples/actions/workflows/example-httpserver-erlang26.2-stable.yaml) | [![](https://github.com/unikraft-cloud/examples/actions/workflows/example-httpserver-erlang26.2-staging.yaml/badge.svg)](https://github.com/unikraft-cloud/examples/actions/workflows/example-httpserver-erlang26.2-staging.yaml) | | [`httpserver-expressjs4.18-node21`](https://github.com/unikraft-cloud/examples/tree/main/httpserver-expressjs4.18-node21) | [![](https://github.com/unikraft-cloud/examples/actions/workflows/example-httpserver-expressjs4.18-node21-stable.yaml/badge.svg)](https://github.com/unikraft-cloud/examples/actions/workflows/example-httpserver-expressjs4.18-node21-stable.yaml) | [![](https://github.com/unikraft-cloud/examples/actions/workflows/example-httpserver-expressjs4.18-node21-staging.yaml/badge.svg)](https://github.com/unikraft-cloud/examples/actions/workflows/example-httpserver-expressjs4.18-node21-staging.yaml) | | [`httpserver-flask-redis`](https://github.com/unikraft-cloud/examples/tree/main/httpserver-flask-redis) | | | -| [`httpserver-g++13.2`](https://github.com/unikraft-cloud/examples/tree/main/httpserver-g++13.2) | [![](https://github.com/unikraft-cloud/examples/actions/workflows/example-httpserver-g++13.2-stable.yaml/badge.svg)](https://github.com/unikraft-cloud/examples/actions/workflows/example-httpserver-g++13.2-stable.yaml) | [![](https://github.com/unikraft-cloud/examples/actions/workflows/example-httpserver-g++13.2-staging.yaml/badge.svg)](https://github.com/unikraft-cloud/examples/actions/workflows/example-httpserver-g++13.2-staging.yaml) | +| [`httpserver-gpp13.2`](https://github.com/unikraft-cloud/examples/tree/main/httpserver-gpp13.2) | [![](https://github.com/unikraft-cloud/examples/actions/workflows/example-httpserver-gpp13.2-stable.yaml/badge.svg)](https://github.com/unikraft-cloud/examples/actions/workflows/example-httpserver-gpp13.2-stable.yaml) | [![](https://github.com/unikraft-cloud/examples/actions/workflows/example-httpserver-gpp13.2-staging.yaml/badge.svg)](https://github.com/unikraft-cloud/examples/actions/workflows/example-httpserver-gpp13.2-staging.yaml) | | [`httpserver-gcc13.2`](https://github.com/unikraft-cloud/examples/tree/main/httpserver-gcc13.2) | [![](https://github.com/unikraft-cloud/examples/actions/workflows/example-httpserver-gcc13.2-stable.yaml/badge.svg)](https://github.com/unikraft-cloud/examples/actions/workflows/example-httpserver-gcc13.2-stable.yaml) | [![](https://github.com/unikraft-cloud/examples/actions/workflows/example-httpserver-gcc13.2-staging.yaml/badge.svg)](https://github.com/unikraft-cloud/examples/actions/workflows/example-httpserver-gcc13.2-staging.yaml) | | [`httpserver-go1.21`](https://github.com/unikraft-cloud/examples/tree/main/httpserver-go1.21) | [![](https://github.com/unikraft-cloud/examples/actions/workflows/example-httpserver-go1.21-stable.yaml/badge.svg)](https://github.com/unikraft-cloud/examples/actions/workflows/example-httpserver-go1.21-stable.yaml) | [![](https://github.com/unikraft-cloud/examples/actions/workflows/example-httpserver-go1.21-staging.yaml/badge.svg)](https://github.com/unikraft-cloud/examples/actions/workflows/example-httpserver-go1.21-staging.yaml) | | [`httpserver-go1.22-redis`](https://github.com/unikraft-cloud/examples/tree/main/httpserver-go1.22-redis) | | | diff --git a/httpserver-boost1.74-g++13.2/Dockerfile b/httpserver-boost1.74-gpp13.2/Dockerfile similarity index 100% rename from httpserver-boost1.74-g++13.2/Dockerfile rename to httpserver-boost1.74-gpp13.2/Dockerfile diff --git a/httpserver-boost1.74-g++13.2/Kraftfile b/httpserver-boost1.74-gpp13.2/Kraftfile similarity index 100% rename from httpserver-boost1.74-g++13.2/Kraftfile rename to httpserver-boost1.74-gpp13.2/Kraftfile diff --git a/httpserver-boost1.74-g++13.2/README.md b/httpserver-boost1.74-gpp13.2/README.md similarity index 86% rename from httpserver-boost1.74-g++13.2/README.md rename to httpserver-boost1.74-gpp13.2/README.md index e32debd7..4f14ef29 100644 --- a/httpserver-boost1.74-g++13.2/README.md +++ b/httpserver-boost1.74-gpp13.2/README.md @@ -6,11 +6,11 @@ To run this example, follow these steps: 1. Install the CLI and a container runtime engine, for example [Docker](https://docs.docker.com/engine/install/). Use the [unikraft CLI](https://unikraft.com/docs/cli/unikraft) or the legacy [kraft CLI](https://unikraft.org/docs/cli/install). -2. Clone the [example repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-boost1.74-g++13.2/` directory: +2. Clone the [example repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-boost1.74-gpp13.2/` directory: ```bash git clone https://github.com/unikraft-cloud/examples -cd examples/httpserver-boost1.74-g++13.2/ +cd examples/httpserver-boost1.74-gpp13.2/ ``` Make sure to log into Unikraft Cloud and pick a [metro](https://unikraft.com/docs/platform/metros) close to you. @@ -32,8 +32,8 @@ export UKC_METRO=fra When done, invoke the following command to deploy this app on Unikraft Cloud: ```bash title="unikraft" -unikraft build . --output /httpserver-boost1.74-g++13.2:latest -unikraft run --metro=fra -p 443:8080/tls+http -m 256M /httpserver-boost1.74-g++13.2:latest +unikraft build . --output /httpserver-boost1.74-gpp13.2:latest +unikraft run --metro=fra -p 443:8080/tls+http -m 256M /httpserver-boost1.74-gpp13.2:latest ``` or @@ -47,20 +47,20 @@ The output shows the instance address and other details: ```text [●] Deployed successfully! │ - ├────────── name: httpserver-boost1.74-g++13.2-rae7s + ├────────── name: httpserver-boost1.74-gpp13.2-rae7s ├────────── uuid: 5a9886fa-f8a3-4860-afcf-d5eb13fdc38d ├───────── state: running ├─────────── url: https://red-snow-3bn7bzc8.fra.unikraft.app - ├───────── image: httpserver-boost1.74-g++13.2@sha256:61cf86b89fed46351af53689e27189315e466576475f61c7240bf17644613489 + ├───────── image: httpserver-boost1.74-gpp13.2@sha256:61cf86b89fed46351af53689e27189315e466576475f61c7240bf17644613489 ├───── boot time: 15.00 ms ├──────── memory: 256 MiB ├─────── service: red-snow-3bn7bzc8 - ├── private fqdn: httpserver-boost1.74-g++13.2-rae7s.internal + ├── private fqdn: httpserver-boost1.74-gpp13.2-rae7s.internal ├──── private ip: 172.16.6.4 └────────── args: /http_server ``` -In this case, the instance name is `httpserver-boost1.74-g++13.2-rae7s` and the address is `https://red-snow-3bn7bzc8.fra.unikraft.app`. +In this case, the instance name is `httpserver-boost1.74-gpp13.2-rae7s` and the address is `https://red-snow-3bn7bzc8.fra.unikraft.app`. They're different for each run. Use `curl` to query the Unikraft Cloud instance of the C++ Boost HTTP web server: @@ -87,19 +87,19 @@ kraft cloud instance list ```ansi NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -httpserver-boost1.74-g++13.2-rae7s red-snow-3bn7bzc8.fra.unikraft.app running 1 minute ago httpserver-boost1.74-g++13.2@sha256:61cf86... 256 MiB 1 /http_server 15000us +httpserver-boost1.74-gpp13.2-rae7s red-snow-3bn7bzc8.fra.unikraft.app running 1 minute ago httpserver-boost1.74-gpp13.2@sha256:61cf86... 256 MiB 1 /http_server 15000us ``` When done, you can remove the instance: ```bash title="unikraft" -unikraft instances delete httpserver-boost1.74-g++13.2-rae7s +unikraft instances delete httpserver-boost1.74-gpp13.2-rae7s ``` or ```bash title="kraft" -kraft cloud instance remove httpserver-boost1.74-g++13.2-rae7s +kraft cloud instance remove httpserver-boost1.74-gpp13.2-rae7s ``` ## Customize your app diff --git a/httpserver-boost1.74-g++13.2/http_server.cpp b/httpserver-boost1.74-gpp13.2/http_server.cpp similarity index 100% rename from httpserver-boost1.74-g++13.2/http_server.cpp rename to httpserver-boost1.74-gpp13.2/http_server.cpp diff --git a/httpserver-g++13.2/Dockerfile b/httpserver-gpp13.2/Dockerfile similarity index 100% rename from httpserver-g++13.2/Dockerfile rename to httpserver-gpp13.2/Dockerfile diff --git a/httpserver-g++13.2/Kraftfile b/httpserver-gpp13.2/Kraftfile similarity index 100% rename from httpserver-g++13.2/Kraftfile rename to httpserver-gpp13.2/Kraftfile diff --git a/httpserver-g++13.2/README.md b/httpserver-gpp13.2/README.md similarity index 86% rename from httpserver-g++13.2/README.md rename to httpserver-gpp13.2/README.md index 78268d9c..117df350 100644 --- a/httpserver-g++13.2/README.md +++ b/httpserver-gpp13.2/README.md @@ -6,11 +6,11 @@ To run this example, follow these steps: 1. Install the CLI and a container runtime engine, for example [Docker](https://docs.docker.com/engine/install/). Use the [unikraft CLI](https://unikraft.com/docs/cli/unikraft) or the legacy [kraft CLI](https://unikraft.org/docs/cli/install). -2. Clone the [example repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-g++13.2/` directory: +2. Clone the [example repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-gpp13.2/` directory: ```bash git clone https://github.com/unikraft-cloud/examples -cd examples/httpserver-g++13.2/ +cd examples/httpserver-gpp13.2/ ``` Make sure to log into Unikraft Cloud and pick a [metro](https://unikraft.com/docs/platform/metros) close to you. @@ -32,8 +32,8 @@ export UKC_METRO=fra When done, invoke the following command to deploy this app on Unikraft Cloud: ```bash title="unikraft" -unikraft build . --output /httpserver-g++13.2:latest -unikraft run --metro=fra -p 443:8080/tls+http -m 256M /httpserver-g++13.2:latest +unikraft build . --output /httpserver-gpp13.2:latest +unikraft run --metro=fra -p 443:8080/tls+http -m 256M /httpserver-gpp13.2:latest ``` or @@ -47,20 +47,20 @@ The output shows the instance address and other details: ```text [●] Deployed successfully! │ - ├────────── name: httpserver-g++13.2-jzbuo + ├────────── name: httpserver-gpp13.2-jzbuo ├────────── uuid: b8e015fd-d006-49d5-849e-3fd497c9159a ├───────── state: running ├─────────── url: https://throbbing-wave-grxjih4t.fra.unikraft.app - ├───────── image: httpserver-g++13.2@sha256:a58873987104b52c13b79168a2e2f1a81876ba6efacd6dbc98e996afe5c09699 + ├───────── image: httpserver-gpp13.2@sha256:a58873987104b52c13b79168a2e2f1a81876ba6efacd6dbc98e996afe5c09699 ├───── boot time: 15.61 ms ├──────── memory: 256 MiB ├─────── service: throbbing-wave-grxjih4t - ├── private fqdn: httpserver-g++13.2-jzbuo.internal + ├── private fqdn: httpserver-gpp13.2-jzbuo.internal ├──── private ip: 172.16.6.5 └────────── args: /http_server ``` -In this case, the instance name is `httpserver-g++13.2-jzbuo` and the address is `https://throbbing-wave-grxjih4t.fra.unikraft.app`. +In this case, the instance name is `httpserver-gpp13.2-jzbuo` and the address is `https://throbbing-wave-grxjih4t.fra.unikraft.app`. They're different for each run. Use `curl` to query the Unikraft Cloud instance of the C++ HTTP web server: @@ -87,19 +87,19 @@ kraft cloud instance list ```ansi NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -httpserver-g++13.2-jzbuo throbbing-wave-grxjih4t.fra.unikraft.app running 1 minute ago httpserver-g++13.2@sha256:a58873987104b52c13b79168a2e2f1a81... 256 MiB 1 /http_server 15614us +httpserver-gpp13.2-jzbuo throbbing-wave-grxjih4t.fra.unikraft.app running 1 minute ago httpserver-gpp13.2@sha256:a58873987104b52c13b79168a2e2f1a81... 256 MiB 1 /http_server 15614us ``` When done, you can remove the instance: ```bash title="unikraft" -unikraft instances delete httpserver-g++13.2-jzbuo +unikraft instances delete httpserver-gpp13.2-jzbuo ``` or ```bash title="kraft" -kraft cloud instance remove httpserver-g++13.2-jzbuo +kraft cloud instance remove httpserver-gpp13.2-jzbuo ``` ## Customize your app diff --git a/httpserver-g++13.2/http_server.cpp b/httpserver-gpp13.2/http_server.cpp similarity index 100% rename from httpserver-g++13.2/http_server.cpp rename to httpserver-gpp13.2/http_server.cpp