Compare commits

...

33 Commits

Author SHA1 Message Date
1c21d3ad65 Merge pull request 'own-dockerfile' (#166) from own-dockerfile into staging
Some checks are pending
CI/CD Pipeline / test (push) Waiting to run
CI/CD Pipeline / deploy-staging (push) Blocked by required conditions
CI/CD Pipeline / deploy-main (push) Blocked by required conditions
Reviewed-on: #166
2024-01-17 23:43:24 +01:00
fd99bc6f66 push
All checks were successful
CI/CD Pipeline / test (push) Successful in 22m10s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Has been skipped
2024-01-17 23:42:07 +01:00
c5673559d0 try 2024-01-17 23:41:08 +01:00
54f9dc22e0 try 2024-01-17 23:40:49 +01:00
9267b4dbc8 try 2024-01-17 23:40:48 +01:00
6e8947a928 try 2024-01-17 23:39:57 +01:00
0ab121df8e try 2024-01-17 23:39:55 +01:00
7c7877d275 try 2024-01-17 23:39:35 +01:00
1e02b2f5bb try 2024-01-17 23:39:22 +01:00
ca11e72d00 try 2024-01-17 23:39:22 +01:00
5631b0551c try 2024-01-17 23:39:22 +01:00
97154ef4b9 try 2024-01-17 23:39:20 +01:00
e5311b4fab try 2024-01-17 23:38:06 +01:00
76a1dbccbf try 2024-01-17 23:36:18 +01:00
03947001d5 try
Some checks failed
CI/CD Pipeline / deploy-staging (push) Blocked by required conditions
CI/CD Pipeline / deploy-main (push) Blocked by required conditions
CI/CD Pipeline / test (push) Has been cancelled
2024-01-17 23:34:39 +01:00
95fb07f1e9 try
Some checks failed
CI/CD Pipeline / deploy-staging (push) Blocked by required conditions
CI/CD Pipeline / deploy-main (push) Blocked by required conditions
CI/CD Pipeline / test (push) Has been cancelled
2024-01-17 23:23:58 +01:00
22ee941ce0 try
Some checks failed
CI/CD Pipeline / deploy-staging (push) Blocked by required conditions
CI/CD Pipeline / deploy-main (push) Blocked by required conditions
CI/CD Pipeline / test (push) Has been cancelled
2024-01-17 23:08:28 +01:00
6bee538b55 try
Some checks failed
CI/CD Pipeline / deploy-staging (push) Has been cancelled
CI/CD Pipeline / deploy-main (push) Has been cancelled
CI/CD Pipeline / test (push) Has been cancelled
2024-01-17 22:52:31 +01:00
88d533c838 try
All checks were successful
CI/CD Pipeline / test (push) Successful in 8m10s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Has been skipped
2024-01-17 22:43:54 +01:00
57c1e13c14 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
2024-01-17 21:22:57 +01:00
ba132a5735 try
All checks were successful
CI/CD Pipeline / test (push) Successful in 27m10s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Has been skipped
2024-01-17 20:35:06 +01:00
0794671707 try
Some checks failed
CI/CD Pipeline / deploy-staging (push) Has been cancelled
CI/CD Pipeline / deploy-main (push) Has been cancelled
CI/CD Pipeline / test (push) Has been cancelled
2024-01-17 20:14:55 +01:00
d0adee74da try
All checks were successful
CI/CD Pipeline / test (push) Successful in 21m36s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Has been skipped
2024-01-17 19:52:54 +01:00
5fec65e38f try 2024-01-17 19:50:32 +01:00
0b7711ed91 try 2024-01-17 19:49:46 +01:00
7be76f3ce8 try
Some checks failed
CI/CD Pipeline / deploy-staging (push) Blocked by required conditions
CI/CD Pipeline / deploy-main (push) Blocked by required conditions
CI/CD Pipeline / test (push) Has been cancelled
2024-01-17 19:45:21 +01:00
865c55cd18 try
Some checks failed
CI/CD Pipeline / deploy-staging (push) Blocked by required conditions
CI/CD Pipeline / deploy-main (push) Blocked by required conditions
CI/CD Pipeline / test (push) Has been cancelled
2024-01-17 19:28:13 +01:00
b258a5ac6e try
All checks were successful
CI/CD Pipeline / test (push) Successful in 19m43s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Has been skipped
2024-01-17 19:07:37 +01:00
62171d72fe try 2024-01-17 19:06:12 +01:00
1f734b75a0 try
Some checks failed
CI/CD Pipeline / test-backend (push) Has been cancelled
CI/CD Pipeline / deploy-staging (push) Has been cancelled
CI/CD Pipeline / deploy-main (push) Has been cancelled
CI/CD Pipeline / test-frontend (push) Has been cancelled
2024-01-17 18:35:29 +01:00
4af887c2b4 try
Some checks failed
CI/CD Pipeline / test-frontend (push) Failing after 2s
CI/CD Pipeline / test-backend (push) Failing after 1s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Has been skipped
2024-01-17 18:32:18 +01:00
cf1cd0c126 explain dockerfile
Some checks failed
CI/CD Pipeline / test-frontend (push) Failing after 1s
CI/CD Pipeline / test-backend (push) Failing after 1s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Has been skipped
2024-01-17 18:21:44 +01:00
c6da8b3db1 try
Some checks failed
CI/CD Pipeline / test-frontend (push) Failing after 1s
CI/CD Pipeline / test-backend (push) Failing after 0s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Has been skipped
2024-01-17 18:09:29 +01:00
2 changed files with 9 additions and 9 deletions

View File

@ -26,7 +26,8 @@ jobs:
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
key: ${{ runner.os }}-cargo-debug-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-debug-
- name: Build
run: |
@ -43,7 +44,6 @@ jobs:
# path: frontend/playwright-report/
# retention-days: 30
deploy-staging:
runs-on: ubuntu-latest
container: git.hofer.link/ruderverein-donau-linz/rowing-ci:20240118
@ -65,8 +65,8 @@ jobs:
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
key: ${{ runner.os }}-cargo-release-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-release-
- name: Build
run: |
cargo build --release --target $CARGO_TARGET
@ -75,7 +75,7 @@ jobs:
- name: Deploy to Staging
run: |
mkdir ~/.ssh
mkdir -p ~/.ssh
ssh-keyscan -H $SSH_HOST >> ~/.ssh/known_hosts
echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
@ -116,7 +116,8 @@ jobs:
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
key: ${{ runner.os }}-cargo-release-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-release-
- name: Build
run: |
@ -124,9 +125,9 @@ jobs:
strip target/$CARGO_TARGET/release/rot
cd frontend && npm install && npm run build
- name: Deploy to Main
- name: Deploy to production
run: |
mkdir ~/.ssh
mkdir -p ~/.ssh
ssh-keyscan -H $SSH_HOST >> ~/.ssh/known_hosts
echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa

View File

@ -5,7 +5,6 @@
# 2. Tag the image: `docker tag <id> git.hofer.link/ruderverein-donau-linz/rowing-ci:<date>`
# 3. Push the image: `docker push git.hofer.link/ruderverein-donau-linz/rowing-ci:<date>`
FROM rust:1.75.0
RUN apt-get update && apt-get install -y sqlite3