infrastructure/.forgejo/workflows/eval.yaml

201 lines
5.1 KiB
YAML
Raw Normal View History

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