Skip to content

Commit

Permalink
ci: remove check-docker-compose from running on PRs and run make chec…
Browse files Browse the repository at this point in the history
…k-docker-compose weekly (#12637)
  • Loading branch information
v1v authored Feb 13, 2024
1 parent e4153c8 commit a831ed0
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
31 changes: 31 additions & 0 deletions .github/workflows/check-docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: check-docker-compose

on:
workflow_dispatch:
schedule:
- cron: '0 15 * * 5'

# limit the access of the generated GITHUB_TOKEN
permissions:
contents: read

jobs:
check-docker-compose:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
cache-dependency-path: |
go.sum
tools/go.sum
- run: make check-docker-compose
- if: failure()
uses: elastic/apm-pipeline-library/.github/actions/notify-build-status@current
with:
vaultUrl: ${{ secrets.VAULT_ADDR }}
vaultRoleId: ${{ secrets.VAULT_ROLE_ID }}
vaultSecretId: ${{ secrets.VAULT_SECRET_ID }}
slackChannel: "#apm-server"
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ clean:
##############################################################################

.PHONY: check-full
check-full: update check staticcheck check-docker-compose
check-full: update check staticcheck

.PHONY: check-approvals
check-approvals:
Expand Down

0 comments on commit a831ed0

Please sign in to comment.