Merge pull request #744 from Marlyza/win-dev #533
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [ master ] | |
| # pull_request: | |
| # branches: [ master ] | |
| jobs: | |
| prelivraison: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| # skip Slack Notification (rocket chat chat.sdewitte.net host unknown) | |
| # - name: Slack notification | |
| # run: ${GITHUB_WORKSPACE}/shell/notif_slack.sh "Debut de livraison" ${{ secrets.WEBHOOK_ROCKETCHAT }} | |
| - name: Resume des infos | |
| if: "!contains(github.event.head_commit.message, 'ci skip')" | |
| run: | | |
| echo "Lancement des tests unitaires" | |
| echo "Répertoire de travail : ${GITHUB_WORKSPACE}" | |
| livraison: | |
| runs-on: ubuntu-latest | |
| needs: prelivraison | |
| steps: | |
| # OLD AWX | |
| #- name: Lancement awx | |
| # run: "curl --request POST --url https://awx.sdewitte.net/api/v2/job_templates/14/launch/ --header 'authorization: Basic ${{ secrets.AUTH_AWX }}' --cookie __cfduid=d0aa6277fb907532056a58eefe13a568e1598185892" | |
| - name: Lancement awx2 | |
| run: "curl --request POST --url https://awx2.sdewitte.net/api/v2/job_templates/16/launch/ --header 'authorization: Basic ${{ secrets.AUTH_AWX2 }}'" | |