try
Some checks failed
CI/CD Pipeline / deploy-staging (push) Waiting to run
CI/CD Pipeline / deploy-main (push) Waiting to run
CI/CD Pipeline / test (push) Has been cancelled

This commit is contained in:
philipp 2024-01-17 21:22:57 +01:00
parent ba132a5735
commit 57c1e13c14
2 changed files with 6 additions and 5 deletions

View File

@ -11,14 +11,12 @@ env:
jobs:
test:
runs-on: ubuntu-latest
container: git.hofer.link/ruderverein-donau-linz/rowing-ci:20240117
container: git.hofer.link/ruderverein-donau-linz/rowing-ci:20240118
steps:
- uses: actions/checkout@v3
- name: Run Test DB Script
run: ./test_db.sh
- name: TEMPORARY act workaround
run: apt update && apt install zstd
- name: Set up cargo cache
uses: actions/cache@v3
with:
@ -48,7 +46,7 @@ jobs:
deploy-staging:
runs-on: ubuntu-latest
container: git.hofer.link/ruderverein-donau-linz/rowing-ci:20240117
container: git.hofer.link/ruderverein-donau-linz/rowing-ci:20240118
needs: [test]
if: github.ref == 'refs/heads/staging'
steps:
@ -88,7 +86,7 @@ jobs:
deploy-main:
runs-on: ubuntu-latest
container: git.hofer.link/ruderverein-donau-linz/rowing-ci:latest
container: git.hofer.link/ruderverein-donau-linz/rowing-ci:20240118
needs: [test]
if: github.ref == 'refs/heads/main'
steps:

View File

@ -21,3 +21,6 @@ RUN npx playwright install --with-deps
# deployment
RUN rustup target add x86_64-unknown-linux-musl
RUN apt-get install -y -qq pkg-config sshpass musl musl-tools curl gnupg libssl-dev
# TEMPORARY act workaround (otherwise gitea cache is not working)
RUN apt-get install -y zstd