2023-12-12 17:29:16 +01:00
|
|
|
name: build configuration
|
|
|
|
on:
|
|
|
|
pull_request:
|
2024-01-04 15:36:50 +01:00
|
|
|
types: [opened, synchronize, edited, reopened]
|
2023-12-12 17:29:16 +01:00
|
|
|
branches:
|
|
|
|
- main
|
2023-12-18 15:49:51 +01:00
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
2023-12-12 17:29:16 +01:00
|
|
|
|
|
|
|
jobs:
|
2024-10-09 21:32:38 +02:00
|
|
|
build_and_cache_krz01:
|
2024-10-08 14:14:13 +02:00
|
|
|
runs-on: nix
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
2024-10-09 21:32:38 +02:00
|
|
|
- name: Build and cache the node
|
2024-10-09 21:32:38 +02:00
|
|
|
run: nix-shell --run cache-node
|
2024-10-08 14:14:13 +02:00
|
|
|
env:
|
|
|
|
STORE_ENDPOINT: "https://tvix-store.dgnum.eu/infra-signing/"
|
|
|
|
STORE_USER: "admin"
|
|
|
|
STORE_PASSWORD: ${{ secrets.STORE_PASSWORD }}
|
2024-10-09 21:32:38 +02:00
|
|
|
BUILD_NODE: "krz01"
|
2024-10-08 14:14:13 +02:00
|
|
|
|
|
|
|
- uses: actions/upload-artifact@v3
|
|
|
|
if: always()
|
|
|
|
with:
|
|
|
|
name: outputs_krz01
|
2024-10-09 21:32:38 +02:00
|
|
|
path: paths.txt
|
2024-10-08 14:14:13 +02:00
|
|
|
|
2024-10-10 00:58:36 +02:00
|
|
|
build_and_cache_compute01:
|
2024-04-12 19:53:02 +02:00
|
|
|
runs-on: nix
|
2024-07-24 12:32:39 +02:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
2024-10-10 00:58:36 +02:00
|
|
|
- name: Build and cache the node
|
|
|
|
run: nix-shell --run cache-node
|
2024-07-24 12:32:39 +02:00
|
|
|
env:
|
|
|
|
STORE_ENDPOINT: "https://tvix-store.dgnum.eu/infra-signing/"
|
|
|
|
STORE_USER: "admin"
|
|
|
|
STORE_PASSWORD: ${{ secrets.STORE_PASSWORD }}
|
2024-10-10 00:58:36 +02:00
|
|
|
BUILD_NODE: "compute01"
|
2024-07-24 12:32:39 +02:00
|
|
|
|
|
|
|
- uses: actions/upload-artifact@v3
|
|
|
|
if: always()
|
|
|
|
with:
|
|
|
|
name: outputs_compute01
|
2024-10-10 00:58:36 +02:00
|
|
|
path: paths.txt
|
2024-07-24 12:32:39 +02:00
|
|
|
|
2024-10-10 00:58:36 +02:00
|
|
|
build_and_cache_storage01:
|
2024-07-24 12:32:39 +02:00
|
|
|
runs-on: nix
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
2024-10-10 00:58:36 +02:00
|
|
|
- name: Build and cache the node
|
|
|
|
run: nix-shell --run cache-node
|
2024-07-24 12:32:39 +02:00
|
|
|
env:
|
|
|
|
STORE_ENDPOINT: "https://tvix-store.dgnum.eu/infra-signing/"
|
|
|
|
STORE_USER: "admin"
|
|
|
|
STORE_PASSWORD: ${{ secrets.STORE_PASSWORD }}
|
2024-10-10 00:58:36 +02:00
|
|
|
BUILD_NODE: "storage01"
|
2024-07-24 12:32:39 +02:00
|
|
|
|
|
|
|
- uses: actions/upload-artifact@v3
|
|
|
|
if: always()
|
|
|
|
with:
|
|
|
|
name: outputs_storage01
|
2024-10-10 00:58:36 +02:00
|
|
|
path: paths.txt
|
2024-07-24 12:32:39 +02:00
|
|
|
|
2024-10-10 00:58:36 +02:00
|
|
|
build_and_cache_rescue01:
|
2024-07-24 12:32:39 +02:00
|
|
|
runs-on: nix
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
2024-10-10 00:58:36 +02:00
|
|
|
- name: Build and cache the node
|
|
|
|
run: nix-shell --run cache-node
|
2024-07-24 12:32:39 +02:00
|
|
|
env:
|
|
|
|
STORE_ENDPOINT: "https://tvix-store.dgnum.eu/infra-signing/"
|
|
|
|
STORE_USER: "admin"
|
|
|
|
STORE_PASSWORD: ${{ secrets.STORE_PASSWORD }}
|
2024-10-10 00:58:36 +02:00
|
|
|
BUILD_NODE: "rescue01"
|
2024-07-24 12:32:39 +02:00
|
|
|
|
2024-08-04 16:13:54 +02:00
|
|
|
- uses: actions/upload-artifact@v3
|
|
|
|
if: always()
|
|
|
|
with:
|
|
|
|
name: outputs_rescue01
|
2024-10-10 00:58:36 +02:00
|
|
|
path: paths.txt
|
2024-08-04 16:13:54 +02:00
|
|
|
|
2024-10-10 00:58:36 +02:00
|
|
|
build_and_cache_geo01:
|
2024-07-24 12:32:39 +02:00
|
|
|
runs-on: nix
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
2024-10-10 00:58:36 +02:00
|
|
|
- name: Build and cache the node
|
|
|
|
run: nix-shell --run cache-node
|
2024-07-24 12:32:39 +02:00
|
|
|
env:
|
|
|
|
STORE_ENDPOINT: "https://tvix-store.dgnum.eu/infra-signing/"
|
|
|
|
STORE_USER: "admin"
|
|
|
|
STORE_PASSWORD: ${{ secrets.STORE_PASSWORD }}
|
2024-10-10 00:58:36 +02:00
|
|
|
BUILD_NODE: "geo01"
|
2024-07-24 12:32:39 +02:00
|
|
|
|
2024-08-04 16:13:54 +02:00
|
|
|
- uses: actions/upload-artifact@v3
|
|
|
|
if: always()
|
|
|
|
with:
|
|
|
|
name: outputs_geo01
|
2024-10-10 00:58:36 +02:00
|
|
|
path: paths.txt
|
2024-08-04 16:13:54 +02:00
|
|
|
|
2024-10-10 00:58:36 +02:00
|
|
|
build_and_cache_geo02:
|
2024-07-24 12:32:39 +02:00
|
|
|
runs-on: nix
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
2024-10-10 00:58:36 +02:00
|
|
|
- name: Build and cache the node
|
|
|
|
run: nix-shell --run cache-node
|
2024-07-24 12:32:39 +02:00
|
|
|
env:
|
|
|
|
STORE_ENDPOINT: "https://tvix-store.dgnum.eu/infra-signing/"
|
|
|
|
STORE_USER: "admin"
|
|
|
|
STORE_PASSWORD: ${{ secrets.STORE_PASSWORD }}
|
2024-10-10 00:58:36 +02:00
|
|
|
BUILD_NODE: "geo02"
|
2024-07-24 12:32:39 +02:00
|
|
|
|
2024-08-04 16:13:54 +02:00
|
|
|
- uses: actions/upload-artifact@v3
|
|
|
|
if: always()
|
|
|
|
with:
|
|
|
|
name: outputs_geo02
|
2024-10-10 00:58:36 +02:00
|
|
|
path: paths.txt
|
2024-08-04 16:13:54 +02:00
|
|
|
|
2024-10-10 00:58:36 +02:00
|
|
|
build_and_cache_vault01:
|
2024-09-30 20:07:08 +02:00
|
|
|
runs-on: nix
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
2024-10-10 00:58:36 +02:00
|
|
|
- name: Build and cache the node
|
|
|
|
run: nix-shell --run cache-node
|
2024-09-30 20:07:08 +02:00
|
|
|
env:
|
|
|
|
STORE_ENDPOINT: "https://tvix-store.dgnum.eu/infra-signing/"
|
|
|
|
STORE_USER: "admin"
|
|
|
|
STORE_PASSWORD: ${{ secrets.STORE_PASSWORD }}
|
2024-10-10 00:58:36 +02:00
|
|
|
BUILD_NODE: "vault01"
|
2024-09-30 20:07:08 +02:00
|
|
|
|
|
|
|
- uses: actions/upload-artifact@v3
|
|
|
|
if: always()
|
|
|
|
with:
|
|
|
|
name: outputs_vault01
|
2024-10-10 00:58:36 +02:00
|
|
|
path: paths.txt
|
2024-09-30 20:07:08 +02:00
|
|
|
|
2024-10-10 00:58:36 +02:00
|
|
|
build_and_cache_web01:
|
2024-07-24 12:32:39 +02:00
|
|
|
runs-on: nix
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
2024-10-10 00:58:36 +02:00
|
|
|
- name: Build and cache the node
|
|
|
|
run: nix-shell --run cache-node
|
2024-07-24 12:32:39 +02:00
|
|
|
env:
|
|
|
|
STORE_ENDPOINT: "https://tvix-store.dgnum.eu/infra-signing/"
|
|
|
|
STORE_USER: "admin"
|
|
|
|
STORE_PASSWORD: ${{ secrets.STORE_PASSWORD }}
|
2024-10-10 00:58:36 +02:00
|
|
|
BUILD_NODE: "web01"
|
2024-07-24 12:32:39 +02:00
|
|
|
|
2024-08-04 16:13:54 +02:00
|
|
|
- uses: actions/upload-artifact@v3
|
|
|
|
if: always()
|
|
|
|
with:
|
|
|
|
name: outputs_web01
|
2024-10-10 00:58:36 +02:00
|
|
|
path: paths.txt
|
2024-08-04 16:13:54 +02:00
|
|
|
|
2024-10-10 00:58:36 +02:00
|
|
|
build_and_cache_web02:
|
2024-07-24 12:32:39 +02:00
|
|
|
runs-on: nix
|
2024-04-12 19:53:02 +02:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
2024-10-10 00:58:36 +02:00
|
|
|
- name: Build and cache the node
|
|
|
|
run: nix-shell --run cache-node
|
2024-04-12 19:53:02 +02:00
|
|
|
env:
|
2024-07-24 12:32:39 +02:00
|
|
|
STORE_ENDPOINT: "https://tvix-store.dgnum.eu/infra-signing/"
|
|
|
|
STORE_USER: "admin"
|
|
|
|
STORE_PASSWORD: ${{ secrets.STORE_PASSWORD }}
|
2024-10-10 00:58:36 +02:00
|
|
|
BUILD_NODE: "web02"
|
2024-08-04 16:13:54 +02:00
|
|
|
|
|
|
|
- uses: actions/upload-artifact@v3
|
|
|
|
if: always()
|
|
|
|
with:
|
|
|
|
name: outputs_web02
|
2024-10-10 00:58:36 +02:00
|
|
|
path: paths.txt
|
2024-08-04 16:19:43 +02:00
|
|
|
|
2024-10-10 00:58:36 +02:00
|
|
|
build_and_cache_bridge01:
|
2024-08-04 16:19:43 +02:00
|
|
|
runs-on: nix
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
2024-10-10 00:58:36 +02:00
|
|
|
- name: Build and cache the node
|
|
|
|
run: nix-shell --run cache-node
|
2024-08-04 16:19:43 +02:00
|
|
|
env:
|
|
|
|
STORE_ENDPOINT: "https://tvix-store.dgnum.eu/infra-signing/"
|
|
|
|
STORE_USER: "admin"
|
|
|
|
STORE_PASSWORD: ${{ secrets.STORE_PASSWORD }}
|
2024-10-10 00:58:36 +02:00
|
|
|
BUILD_NODE: "bridge01"
|
2024-08-04 16:19:43 +02:00
|
|
|
|
|
|
|
- uses: actions/upload-artifact@v3
|
|
|
|
if: always()
|
|
|
|
with:
|
|
|
|
name: outputs_web02
|
2024-10-10 00:58:36 +02:00
|
|
|
path: paths.txt
|