infrastructure/.forgejo/workflows/eval.yaml
sinavir 9f2165abc8
All checks were successful
build configuration / build_web02 (pull_request) Successful in 1m1s
build configuration / build_vault01 (pull_request) Successful in 1m0s
build configuration / build_compute01 (pull_request) Successful in 1m11s
build configuration / build_rescue01 (pull_request) Successful in 48s
build configuration / build_storage01 (pull_request) Successful in 1m25s
build configuration / build_web01 (pull_request) Successful in 1m27s
build configuration / push_to_cache (pull_request) Successful in 2m10s
build configuration / build_rescue01 (push) Successful in 1m1s
build configuration / build_vault01 (push) Successful in 1m2s
build configuration / build_storage01 (push) Successful in 1m5s
build configuration / build_compute01 (push) Successful in 1m10s
build configuration / build_web02 (push) Successful in 1m2s
lint / check (push) Successful in 22s
build configuration / build_web01 (push) Successful in 1m42s
build configuration / push_to_cache (push) Successful in 2m7s
feat(ci): Cache CI results
2024-04-12 22:14:20 +02:00

88 lines
1.8 KiB
YAML

name: build configuration
on:
pull_request:
types: [opened, synchronize, edited, reopened]
branches:
- main
push:
branches:
- main
jobs:
build_compute01:
runs-on: nix
steps:
- uses: actions/checkout@v3
- name: Build compute01
run: |
# Enter the shell
nix-shell --run 'colmena build --on compute01'
build_storage01:
runs-on: nix
steps:
- uses: actions/checkout@v3
- name: Build storage01
run: |
# Enter the shell
nix-shell --run 'colmena build --on storage01'
build_vault01:
runs-on: nix
steps:
- uses: actions/checkout@v3
- name: Build vault01
run: |
# Enter the shell
nix-shell --run 'colmena build --on vault01'
build_web01:
runs-on: nix
steps:
- uses: actions/checkout@v3
- name: Build web01
run: |
# Enter the shell
nix-shell --run 'colmena build --on web01'
build_web02:
runs-on: nix
steps:
- uses: actions/checkout@v3
- name: Build web02
run: |
# Enter the shell
nix-shell --run 'colmena build --on web02'
build_rescue01:
runs-on: nix
steps:
- uses: actions/checkout@v3
- name: Build rescue01
run: |
# Enter the shell
nix-shell --run 'colmena build --on rescue01'
push_to_cache:
runs-on: nix
needs:
- build_compute01
- build_storage01
- build_vault01
- build_web01
- build_web02
- build_rescue01
steps:
- uses: actions/checkout@v3
- name: Push to cache
run: nix-shell --run push-to-cache
env:
ATTIC_ENDPOINT: "https://cachix.dgnum.eu"
ATTIC_TOKEN: ${{ secrets.ATTIC_TOKEN }}