Skip to content

Nightly Acceptance #1410

Nightly Acceptance

Nightly Acceptance #1410

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 }}