Add trigger
Some checks failed
Continuous Stack Deployment Test / Deploy test stack (push) Failing after 1m19s

This commit is contained in:
David Boreham 2024-06-06 11:29:49 -06:00
parent 48b95c2f79
commit a61c958909
2 changed files with 11 additions and 3 deletions

View File

@ -3,8 +3,9 @@ name: Continuous Stack Deployment Test
on:
push:
branches: '*'
schedule: # Deploy every hour for now for test purposes
- cron: '42 * * * *'
paths:
- '!**'
- '.gitea/workflows/triggers/test-deployment'
jobs:
test:
@ -12,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Clone project repository"
uses: actions/checkout@v3
uses: actions/checkout@v4
# At present the stock setup-python action fails on Linux/aarch64
# Conditional steps below workaroud this by using deadsnakes for that case only
- name: "Install Python for ARM on Linux"
@ -29,6 +30,12 @@ jobs:
run: python3 --version
- name: "Install stack orchestrator"
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"
run: |
PATH=$PATH:~/bin

View File

@ -0,0 +1 @@
# Change this file to trigger running the test-deployment job