chore: add common labels and annotations to pods #113
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: build and validate | |
on: | |
schedule: | |
- cron: 30 1 * * 1 | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
# Set fetch-depth: 0 to fetch commit history and tags for use in version calculation | |
- name: Check out code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Build with Gradle | |
uses: hypertrace/github-actions/gradle@main | |
with: | |
args: build dockerBuildImages | |
- name: Run Trivy vulnerability scanner for kafka image | |
uses: hypertrace/github-actions/trivy-image-scan@main | |
with: | |
image: hypertrace/kafka | |
output-mode: github | |
category: kafka | |
- name: Run Trivy vulnerability scanner for kafka-zookeeper image | |
uses: hypertrace/github-actions/trivy-image-scan@main | |
with: | |
image: hypertrace/kafka-zookeeper | |
output-mode: github | |
category: kafka-zookeeper | |
validate-helm-charts: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: validate charts | |
uses: hypertrace/github-actions/validate-charts@main |