fix(deps): update all non-major dependencies #2427
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: Terratest for n clusters | |
on: | |
pull_request: | |
types: | |
- labeled | |
permissions: | |
contents: read | |
jobs: | |
terratest-n-clusters: | |
runs-on: ubuntu-24.04 | |
if: ${{ github.event.label.name == 'heavy-tests' }} | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 | |
with: | |
go-version: 1.23.3 | |
- name: Build artifacts | |
uses: goreleaser/goreleaser-action@9ed2f89a662bf1735a48bc8557fd212fa902bebf # v6.1.0 | |
with: | |
version: v1.7.0 | |
args: release --rm-dist --skip-publish --skip-validate --snapshot --skip-sbom --skip-sign | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Create edgeDNS k3s Cluster | |
uses: AbsaOSS/k3d-action@4e8b3239042be1dc0aed6c5eb80c13b18200fc79 | |
with: | |
cluster-name: "edgedns" | |
args: -c k3d/edge-dns.yaml | |
- name: Create 1st k3s Cluster | |
uses: AbsaOSS/k3d-action@4e8b3239042be1dc0aed6c5eb80c13b18200fc79 | |
with: | |
cluster-name: "test-gslb1" | |
args: -c k3d/test-gslb1.yaml | |
- name: Create 2nd k3s Cluster | |
uses: AbsaOSS/k3d-action@4e8b3239042be1dc0aed6c5eb80c13b18200fc79 | |
with: | |
cluster-name: "test-gslb2" | |
args: -c k3d/test-gslb2.yaml | |
- name: Create 3rd k3s Cluster | |
uses: AbsaOSS/k3d-action@4e8b3239042be1dc0aed6c5eb80c13b18200fc79 | |
with: | |
cluster-name: "test-gslb3" | |
args: -c k3d/test-gslb3.yaml | |
- name: K8GB deployment | |
run: | | |
make deploy-test-version list-running-pods CLUSTERS_NUMBER=3 | |
echo "Cluster 1 (eu):" | |
kubectl get no -owide --context=k3d-test-gslb1 | |
echo "Cluster 2 (us):" | |
kubectl get no -owide --context=k3d-test-gslb2 | |
echo "Cluster 3 (cz):" | |
kubectl get no -owide --context=k3d-test-gslb3 | |
- name: Run Terratest | |
run: | | |
mkdir -p ${{ github.workspace }}/tmp/terratest | |
set -o pipefail | |
echo "::group::Terratest logs" | |
make terratest | tee ${{ github.workspace }}/tmp/terratest/all.log | |
echo "::endgroup::" | |
- name: Print debug info | |
if: always() | |
uses: ./.github/actions/print-debug | |
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 | |
if: always() | |
with: | |
name: terratest-logs | |
path: ${{ github.workspace }}/tmp/terratest |