Divide assigned limits with replicas #1167
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: "Scorecard tests" | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
scorecard-tests: | |
name: Scorecard test | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
kube-version: | |
- "1.21" | |
- "1.28" | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "1.20" | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
- name: "install kuttl" | |
run: ./hack/install/install-kuttl.sh | |
- name: "start kind" | |
env: | |
KUBE_VERSION: ${{ matrix.kube-version }} | |
run: | | |
# fix for https://bugs.launchpad.net/ubuntu/+source/libpod/+bug/2024394 | |
wget http://archive.ubuntu.com/ubuntu/pool/universe/g/golang-github-containernetworking-plugins/containernetworking-plugins_1.1.1+ds1-3_amd64.deb | |
sudo dpkg -i containernetworking-plugins_1.1.1+ds1-3_amd64.deb | |
# attempt to fix https://github.com/grafana/tempo-operator/issues/380 by using podman instead of docker | |
sudo KIND_EXPERIMENTAL_PROVIDER=podman kind create cluster --config kind-$KUBE_VERSION.yaml --wait 5m | |
mkdir ~/.kube | |
sudo cp /root/.kube/config ~/.kube/config | |
sudo chown $(id -u):$(id -g) ~/.kube/config | |
- name: "run community scorecard tests" | |
run: for i in {1..5}; do make scorecard-tests && break || sleep 10; done | |
env: | |
BUNDLE_VARIANT: community | |
- name: "run OpenShift scorecard tests" | |
run: for i in {1..5}; do make scorecard-tests && break || sleep 10; done | |
env: | |
BUNDLE_VARIANT: openshift |