github actions validation test #899
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: On push, any branch | |
on: [push] | |
# TODO change pipeline-repo-actions to main | |
jobs: | |
run-yml-validation: | |
runs-on: ubuntu-latesst | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Getting init script | |
working-directory: . | |
run: git clone -n [email protected]:GEO-BON/bon-in-a-box-pipeline-engine.git --branch pipeline-repo-actions --single-branch .server --depth 1; \ | |
cd .server; \ | |
git checkout origin/pipeline-repo-actions -- prod-server.sh | |
shell: bash | |
- name: Getting server config | |
working-directory: . | |
run: $GITHUB_WORKSPACE/.server/.prod-server.sh checkout pipeline-repo-actions | |
shell: bash | |
- name: Script and pipelines basic validation | |
working-directory: . | |
run: $GITHUB_WORKSPACE/.server/.prod-server.sh validate | |
shell: bash |