Add trigger
Some checks failed
Continuous Stack Deployment Test / Deploy test stack (push) Failing after 1m19s
Some checks failed
Continuous Stack Deployment Test / Deploy test stack (push) Failing after 1m19s
This commit is contained in:
parent
48b95c2f79
commit
a61c958909
@ -3,8 +3,9 @@ name: Continuous Stack Deployment Test
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: '*'
|
branches: '*'
|
||||||
schedule: # Deploy every hour for now for test purposes
|
paths:
|
||||||
- cron: '42 * * * *'
|
- '!**'
|
||||||
|
- '.gitea/workflows/triggers/test-deployment'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
@ -12,7 +13,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: "Clone project repository"
|
- name: "Clone project repository"
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
# At present the stock setup-python action fails on Linux/aarch64
|
# At present the stock setup-python action fails on Linux/aarch64
|
||||||
# Conditional steps below workaroud this by using deadsnakes for that case only
|
# Conditional steps below workaroud this by using deadsnakes for that case only
|
||||||
- name: "Install Python for ARM on Linux"
|
- name: "Install Python for ARM on Linux"
|
||||||
@ -29,6 +30,12 @@ jobs:
|
|||||||
run: python3 --version
|
run: python3 --version
|
||||||
- name: "Install stack orchestrator"
|
- name: "Install stack orchestrator"
|
||||||
run: ./scripts/install-so.sh
|
run: ./scripts/install-so.sh
|
||||||
|
- name: "Clone target stack"
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
repository: cerc-io/test-deployment-stack
|
||||||
|
- name: "Show checked out files"
|
||||||
|
run: ls -lR
|
||||||
- name: "Deploy test stack"
|
- name: "Deploy test stack"
|
||||||
run: |
|
run: |
|
||||||
PATH=$PATH:~/bin
|
PATH=$PATH:~/bin
|
||||||
|
1
.gitea/workflows/triggers/test-deployment
Normal file
1
.gitea/workflows/triggers/test-deployment
Normal file
@ -0,0 +1 @@
|
|||||||
|
# Change this file to trigger running the test-deployment job
|
Loading…
Reference in New Issue
Block a user