github-actions: replace apm-pipeline-library actions for oblt-actions… #32
Workflow file for this run
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: check-docker-compose | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 15 * * 5' | ||
# limit the access of the generated GITHUB_TOKEN | ||
permissions: | ||
contents: read | ||
jobs: | ||
<<<<<<< HEAD | ||
======= | ||
filter: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 1 | ||
outputs: | ||
matrix: ${{ steps.generator.outputs.matrix }} | ||
steps: | ||
- id: generator | ||
uses: elastic/oblt-actions/elastic/active-branches@v1 | ||
>>>>>>> 3b4a9c2e5 (github-actions: replace apm-pipeline-library actions for oblt-actions (#13975)) | ||
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 | ||
<<<<<<< HEAD | ||
======= | ||
all-check-docker-compose: | ||
name: All check-docker-compose | ||
if: always() | ||
runs-on: ubuntu-latest | ||
needs: | ||
- check-docker-compose | ||
steps: | ||
- id: check | ||
uses: elastic/oblt-actions/check-dependent-jobs@v1 | ||
with: | ||
jobs: ${{ toJSON(needs) }} | ||
- run: ${{ steps.check.outputs.isSuccess }} | ||
>>>>>>> 3b4a9c2e5 (github-actions: replace apm-pipeline-library actions for oblt-actions (#13975)) | ||
- if: failure() | ||
uses: elastic/oblt-actions/slack/notify-result@v1 | ||
with: | ||
bot-token: ${{ secrets.SLACK_BOT_TOKEN }} | ||
channel-id: "#apm-server" |