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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .github/workflows/example-caddy2.7-go1.21-stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ on:
schedule:
- cron: '0 15 * * 1-5'

permissions:
contents: read

# Automatically cancel in-progress actions on the same branch
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request_target' && github.head_ref || github.ref }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/example-caddy2.7-go1.21-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ on:
schedule:
- cron: '0 15 * * 1-5'

permissions:
contents: read

# Automatically cancel in-progress actions on the same branch
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request_target' && github.head_ref || github.ref }}
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/example-dragonflydb-stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:

push:
branches: [ mariaciobanoiu8/dragonflydb ]
branches: [ main ]
paths:
- '.github/workflows/example-dragonflydb-stable.yaml'
- 'dragonflydb/**'
Expand All @@ -21,6 +21,9 @@ on:
schedule:
- cron: '0 15 * * 1-5'

permissions:
contents: read

# Automatically cancel in-progress actions on the same branch
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request_target' && github.head_ref || github.ref }}
Expand Down Expand Up @@ -52,7 +55,7 @@ jobs:
kraft cloud deploy \
--no-start \
--name dragonflydb-${GITHUB_RUN_ID} \
--runtime index.unikraft.io/official-staging/base-compat:latest \
--runtime index.unikraft.io/official-testing/base-compat:latest \
--subdomain dragonflydb-${GITHUB_RUN_ID} \
-p 443:6379 \
-M 512 \
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/example-dragonflydb-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:

push:
branches: [ mariaciobanoiu8/dragonflydb ]
branches: [ main ]
paths:
- '.github/workflows/example-dragonflydb-staging.yaml'
- 'dragonflydb/**'
Expand All @@ -21,6 +21,9 @@ on:
schedule:
- cron: '0 15 * * 1-5'

permissions:
contents: read

# Automatically cancel in-progress actions on the same branch
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request_target' && github.head_ref || github.ref }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,26 +1,29 @@
name: examples/duckdb-go (stable)
name: examples/duckdb-go1.21 (stable)

on:
workflow_dispatch:

push:
branches: [ mariaciobanoiu8/duckdb-go ]
branches: [ main ]
paths:
- '.github/workflows/example-duckdb-go-stable.yaml'
- 'duckdb-go/**'
- '!duckdb-go/README.md'
- '.github/workflows/example-duckdb-go1.21-stable.yaml'
- 'duckdb-go1.21/**'
- '!duckdb-go1.21/README.md'

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

schedule:
- cron: '0 15 * * 1-5'

permissions:
contents: read

# Automatically cancel in-progress actions on the same branch
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request_target' && github.head_ref || github.ref }}
Expand All @@ -47,22 +50,22 @@ jobs:
run: |
set -xe;

cd duckdb-go;
cd duckdb-go1.21;

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

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

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

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

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

on:
workflow_dispatch:

push:
branches: [ mariaciobanoiu8/duckdb-go ]
branches: [ main ]
paths:
- '.github/workflows/example-duckdb-go-staging.yaml'
- 'duckdb-go/**'
- '!duckdb-go/README.md'
- '.github/workflows/example-duckdb-go1.21-staging.yaml'
- 'duckdb-go1.21/**'
- '!duckdb-go1.21/README.md'

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

schedule:
- cron: '0 15 * * 1-5'

permissions:
contents: read

# Automatically cancel in-progress actions on the same branch
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request_target' && github.head_ref || github.ref }}
Expand All @@ -47,22 +50,22 @@ jobs:
run: |
set -xe;

cd duckdb-go;
cd duckdb-go1.21;

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

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

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

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

kraft cloud vm stop duckdb-go-${GITHUB_RUN_ID} || true;
kraft cloud vm logs duckdb-go-${GITHUB_RUN_ID} || true;
kraft cloud vm rm duckdb-go-${GITHUB_RUN_ID} || true;
kraft cloud img rm index.unikraft.io/test/duckdb-go-${GITHUB_RUN_ID} || true;
kraft cloud vm stop duckdb-go121-${GITHUB_RUN_ID} || true;
kraft cloud vm logs duckdb-go121-${GITHUB_RUN_ID} || true;
kraft cloud vm rm duckdb-go121-${GITHUB_RUN_ID} || true;
kraft cloud img rm index.unikraft.io/test/duckdb-go121-${GITHUB_RUN_ID} || true;
5 changes: 4 additions & 1 deletion .github/workflows/example-grafana-stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:

push:
branches: [ ada-dev1419/grafana ]
branches: [ main ]
paths:
- '.github/workflows/example-grafana-stable.yaml'
- 'grafana/**'
Expand All @@ -21,6 +21,9 @@ on:
schedule:
- cron: '0 15 * * 1-5'

permissions:
contents: read

# Automatically cancel in-progress actions on the same branch
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request_target' && github.head_ref || github.ref }}
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/example-grafana-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:

push:
branches: [ ada-dev1419/grafana ]
branches: [ main ]
paths:
- '.github/workflows/example-grafana-staging.yaml'
- 'grafana/**'
Expand All @@ -21,6 +21,9 @@ on:
schedule:
- cron: '0 15 * * 1-5'

permissions:
contents: read

# Automatically cancel in-progress actions on the same branch
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request_target' && github.head_ref || github.ref }}
Expand Down
70 changes: 0 additions & 70 deletions .github/workflows/example-http-dotnet8.0-stable.yaml

This file was deleted.

Loading
Loading