Nightly Acceptance #1410
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: Nightly Acceptance | |
on: | |
schedule: | |
- cron: '0 5 * * *' # UTC | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '^1.23' | |
- run: make test | |
env: | |
PACKER_ACC: ${{ secrets.PACKER_ACC }} | |
VULTR_API_KEY: ${{ secrets.VULTR_API_KEY }} | |
notify: | |
name: MatterMost Notifcation | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- run: | | |
echo "{\"text\":\"Packer Nightly Acceptance Job Status: ${{ needs.build.result }} \"}" > mattermost.json | |
- uses: mattermost/action-mattermost-notify@master | |
env: | |
MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }} | |
MATTERMOST_USERNAME: ${{ secrets.MATTERMOST_USERNAME}} | |
MATTERMOST_ICON: ${{ secrets.MATTERMOST_ICON }} |