fix map nil panic in partition counts #154
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 2 * * 1 | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
validate-helm-charts: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: validate kafka-topic-creator chart | |
uses: hypertrace/github-actions/validate-charts@main | |
with: | |
chart-path: ./kafka-topic-creator/helm/ | |
- name: validate kstreams-app-version-checker chart | |
uses: hypertrace/github-actions/validate-charts@main | |
with: | |
chart-path: ./kstreams-app-version-checker/helm/ | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Login to Docker Hub | |
uses: docker/login-action@v2 | |
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository | |
with: | |
username: ${{ secrets.DOCKERHUB_READ_USER }} | |
password: ${{ secrets.DOCKERHUB_READ_TOKEN }} | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Build kafka-topic-creator image | |
uses: docker/build-push-action@v3 | |
with: | |
tags: hypertrace/kafka-topic-creator:test | |
context: kafka-topic-creator | |
cache-from: type=gha,scope=kafka-topic-creator | |
load: true | |
- name: Build kstreams-app-version-checker image | |
uses: docker/build-push-action@v3 | |
with: | |
tags: hypertrace/kstreams-app-version-checker:test | |
context: kstreams-app-version-checker | |
cache-from: type=gha,scope=kstreams-app-version-checker | |
load: true | |
- name: Scan kafka-topic-creator image | |
uses: hypertrace/github-actions/trivy-image-scan@main | |
with: | |
image: hypertrace/kafka-topic-creator | |
tag: test | |
output-mode: github | |
category: kafka-topic-creator | |
- name: Scan kstreams-app-version-checker image | |
uses: hypertrace/github-actions/trivy-image-scan@main | |
with: | |
image: hypertrace/kstreams-app-version-checker | |
tag: test | |
output-mode: github | |
category: kstreams-app-version-checker |