chore(deps): bump go.opentelemetry.io/otel from 1.36.0 to 1.41.0 #1097
Workflow file for this run
This file contains hidden or 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: Lagoon Remote Controller Test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - re-namespace | |
| pull_request: | |
| branches: | |
| - main | |
| - main-v1beta2 | |
| jobs: | |
| test-suite: | |
| runs-on: ubuntu-latest | |
| continue-on-error: ${{ matrix.experimental }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| kindest_node_version: [v1.29.14@sha256:8703bd94ee24e51b778d5556ae310c6c0fa67d761fae6379c8e0bb480e6fea29] | |
| harbor: ["1.11.0"] | |
| lagoon_build_image: ["uselagoon/build-deploy-image:main"] | |
| experimental: [false] | |
| include: | |
| - kindest_node_version: v1.30.10@sha256:4de75d0e82481ea846c0ed1de86328d821c1e6a6a91ac37bf804e5313670e507 | |
| harbor: "1.14.3" | |
| lagoon_build_image: "uselagoon/build-deploy-image:main" | |
| experimental: false | |
| - kindest_node_version: v1.32.2@sha256:f226345927d7e348497136874b6d207e0b32cc52154ad8323129352923a3142f | |
| harbor: "1.18.0" | |
| lagoon_build_image: "uselagoon/build-deploy-image:main" | |
| experimental: true | |
| steps: | |
| - name: Setup tmate session | |
| uses: mxschmitt/action-tmate@v3 | |
| timeout-minutes: 1 | |
| continue-on-error: true | |
| - name: Checkout | |
| uses: actions/checkout@v6.0.2 | |
| with: | |
| fetch-depth: "0" | |
| - name: Set up testing dependencies | |
| run: sudo apt-get update && sudo apt-get -y install build-essential && sudo apt-get clean | |
| - name: Setup correct Go version | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: '1.26' | |
| - name: Add dependency chart repos | |
| run: | | |
| helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx | |
| helm repo add harbor https://helm.goharbor.io | |
| helm repo add lagoon https://uselagoon.github.io/lagoon-charts/ | |
| helm repo add metallb https://metallb.github.io/metallb | |
| helm repo add jetstack https://charts.jetstack.io | |
| - name: Install gojq | |
| if: | | |
| (contains(github.event.pull_request.labels.*.name, 'needs-testing')) | |
| run: | | |
| cd /tmp | |
| curl -sSLO https://github.com/itchyny/gojq/releases/download/v0.11.1/gojq_v0.11.1_linux_amd64.tar.gz | |
| tar -xf ./gojq_v0.11.1_linux_amd64.tar.gz | |
| sudo cp /tmp/gojq_v0.11.1_linux_amd64/gojq /usr/local/bin/jq | |
| - name: Create kind cluster | |
| uses: helm/kind-action@v1.14.0 | |
| with: | |
| version: v0.27.0 | |
| cluster_name: remote-controller | |
| node_image: kindest/node:${{ matrix.kindest_node_version }} | |
| kubectl_version: v1.32.2 | |
| config: test-resources/test-suite.kind-config.yaml | |
| - name: Configure registry for containerd | |
| run: | | |
| LAGOON_KIND_CIDR_BLOCK=$(docker network inspect kind | jq '.[].Containers[].IPv4Address' | tr -d '"') | |
| KIND_NODE_IP=$(echo "${LAGOON_KIND_CIDR_BLOCK%???}" | awk -F'.' '{print $1,$2,$3,240}' OFS='.') | |
| export KIND_NODE_IP | |
| envsubst < test-resources/test-suite.registry.toml.tpl > test-resources/test-suite.registry.toml | |
| REGISTRY_DIR="/etc/containerd/certs.d/registry.${KIND_NODE_IP}.nip.io" | |
| export REGISTRY_DIR | |
| for node in $(kind get nodes --name remote-controller); do | |
| echo "fixing node $node" | |
| docker exec "$node" mkdir -p "${REGISTRY_DIR}" | |
| cat test-resources/test-suite.registry.toml | |
| docker exec -i "$node" cp /dev/stdin "${REGISTRY_DIR}/hosts.toml" < test-resources/test-suite.registry.toml | |
| done | |
| - name: Check node IP matches kind configuration | |
| run: | | |
| LAGOON_KIND_CIDR_BLOCK=$(docker network inspect kind | jq '.[].Containers[].IPv4Address' | tr -d '"') | |
| NODE_IP=$(echo "${LAGOON_KIND_CIDR_BLOCK%???}" | awk -F'.' '{print $1,$2,$3,240}' OFS='.') | |
| echo Checking for NODE_IP "$NODE_IP" | |
| grep "$NODE_IP" test-resources/test-suite.registry.toml | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v4 | |
| - name: Build | |
| uses: docker/build-push-action@v7 | |
| with: | |
| context: . | |
| load: true | |
| tags: uselagoon/remote-controller:test-tag | |
| - name: Run github/test-e2e | |
| run: | | |
| make github/test-e2e HARBOR_VERSION=${{matrix.harbor}} OVERRIDE_BUILD_DEPLOY_DIND_IMAGE="${{matrix.lagoon_build_image}}" KIND_NETWORK=kind | |
| rerun-failed-jobs: | |
| runs-on: ubuntu-latest | |
| needs: [ test-suite ] | |
| if: failure() | |
| steps: | |
| - name: Rerun failed jobs in the current workflow | |
| env: | |
| GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
| run: gh run rerun ${{ github.run_id }} --failed |