Generated Ansible files #50
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: Mirror and run GitLab CI | |
on: | |
push: | |
branches: | |
- master | |
- main | |
- testing | |
paths-ignore: | |
- '**/README.md' | |
- '**/CHANGELOG.md' | |
concurrency: | |
group: ${{ github.ref }}-${{ github.workflow }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
SLACK_WEBHOOK_URL: "${{ secrets.SLACK_WEBHOOK_URL }}" | |
steps: | |
- uses: act10ns/slack@v1 | |
with: | |
status: starting | |
channel: "#ansible" | |
message: Starting buluma.keepalived GitLab Trigger... | |
if: always() | |
- uses: actions/checkout@v3 | |
- name: Mirror + trigger CI | |
uses: buluma/[email protected] | |
with: | |
args: "buluma/ansible-role-keepalived" | |
env: | |
GITLAB_HOSTNAME: "gitlab.com" | |
GITLAB_USERNAME: "buluma" | |
GITLAB_PASSWORD: ${{ secrets.GITLAB_PASSWORD }} | |
GITLAB_PROJECT_ID: "36021264" | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Slack Notification | |
uses: act10ns/slack@v1 | |
with: | |
status: "${{ job.status }}" | |
steps: "${{ toJson(steps) }}" | |
channel: "#ansible" | |
if: always() |