Bump google.golang.org/protobuf from 1.33.0 to 1.36.0 in /pkg/controller/testdata/ghz in the stable-updates group across 1 directory #1471
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: "Testing" | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Lint Go code | |
uses: golangci/golangci-lint-action@v2 | |
with: | |
version: v1.42.1 | |
- name: Run General Linting | |
uses: docker://ghcr.io/github/super-linter:slim-v4.8.5 | |
env: | |
VALIDATE_ALL_CODEBASE: false | |
VALIDATE_GO: false | |
VALIDATE_JSCPD: false | |
VALIDATE_GITHUB_ACTIONS: false | |
VALIDATE_NATURAL_LANGUAGE: false | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
VALIDATE_KUBERNETES_KUBEVAL: false | |
FILTER_REGEX_EXCLUDE: ".*/charts/kangal/templates/*" | |
- name: Get tag | |
id: get_tag | |
run: | | |
VERSION="$(git tag | grep -v kangal | sort -rV | head -n 1)" | |
echo "tag=$VERSION" >> "$GITHUB_OUTPUT" | |
- name: Lint GoReleaser | |
uses: goreleaser/goreleaser-action@v3 | |
with: | |
version: v1.2.2 | |
args: --skip-publish --snapshot | |
env: | |
GORELEASER_CURRENT_TAG: ${{ steps.get_tag.outputs.tag }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Set up Helm | |
uses: azure/setup-helm@v1 | |
with: | |
version: v3.4.0 | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: 3.7 | |
- name: Set up chart-testing | |
uses: helm/[email protected] | |
- name: Lint Helm | |
run: ct lint --config .github/ct.yaml | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Golang | |
uses: actions/setup-go@v3 | |
with: | |
go-version: '^1.17' | |
- name: Run Unit tests | |
run: | | |
make test-unit | |
- name: Setup Kind | |
uses: engineerd/[email protected] | |
with: | |
version: "v0.11.1" | |
- name: Install Kangal CRD | |
run: | | |
make apply-crd | |
- name: Build Kangal | |
run: | | |
go mod vendor | |
make build | |
- name: Build dummy gRPC server Docker image | |
uses: docker/build-push-action@v3 | |
with: | |
tags: greeter_server:local | |
context: pkg/controller/testdata/ghz | |
file: pkg/controller/testdata/ghz/Dockerfile | |
push: false | |
- name: Load docker image into kind cluster | |
run: | | |
docker images | |
kind load docker-image greeter_server:local | |
- name: Run Integration Tests | |
env: | |
AWS_ENDPOINT_URL: "localhost:8081" | |
AWS_BUCKET_NAME: "kangal-test" | |
run: | | |
./ci/integration-tests.sh | |
- name: Print Logs on Failure | |
if: failure() | |
run: | | |
echo "==> Printing Kangal Proxy Logs\n" | |
cat /tmp/kangal_proxy.log | |
echo "\n\n==> Printing Kangal Controller Logs\n" | |
cat /tmp/kangal_controller.log | |
- name: Upload codecov | |
uses: codecov/codecov-action@v3 | |
if: success() | |
with: | |
file: ./coverage.txt | |
fail_ci_if_error: false |