-
-
Notifications
You must be signed in to change notification settings - Fork 6
46 lines (43 loc) · 1.37 KB
/
build_testing-tools.yaml
File metadata and controls
46 lines (43 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
name: Build Testing Tools
run-name: |
Build Testing Tools (attempt #${{ github.run_attempt }})
on:
workflow_dispatch:
schedule:
- cron: 0 0 1/2 * * # https://crontab.guru/#0_0_1/2_*_*
push:
branches: [main]
tags:
- "[0-9][0-9].[0-9]+.[0-9]+"
- "[0-9][0-9].[0-9]+.[0-9]+-rc[0-9]+"
paths:
# To check dependencies, run this ( you will need to consider transitive dependencies)
# bake --product PRODUCT -d | grep -v 'docker buildx bake' | jq '.target | keys[]'
- testing-tools/**
- .github/actions/**
- .github/workflows/build_testing-tools.yaml
- .github/workflows/reusable_build_image.yaml
permissions: {}
jobs:
build_image:
name: Reusable Workflow (${{ matrix.product-name }})
strategy:
fail-fast: false
matrix:
product-name:
- testing-tools
- testing-tools/nifi
- testing-tools/trino
- testing-tools/hive
uses: ./.github/workflows/reusable_build_image.yaml
secrets:
harbor-robot-secret: ${{ secrets.HARBOR_ROBOT_SDP_GITHUB_ACTION_BUILD_SECRET }}
slack-token: ${{ secrets.SLACK_CONTAINER_IMAGE_TOKEN }}
permissions:
id-token: write
contents: read
with:
product-name: ${{ matrix.product-name }}
sdp-version: ${{ github.ref_type == 'tag' && github.ref_name || '0.0.0-dev' }}
registry-namespace: sdp