Skip to content

[v1.65] bump go x/net dependency to 0.33.0 (#8013) #9759

[v1.65] bump go x/net dependency to 0.33.0 (#8013)

[v1.65] bump go x/net dependency to 0.33.0 (#8013) #9759

Workflow file for this run

name: Kiali CI
on:
# Run on master and release branches
push:
branches:
- master
- v*.*
paths-ignore:
- 'design/**'
- '**/*.md'
- '**/*.adoc'
pull_request:
branches:
- master
- v*.*
paths-ignore:
- 'design/**'
- '**/*.md'
- '**/*.adoc'
jobs:
initialize:
name: Initialize
runs-on: ubuntu-latest
outputs:
# This workflow can run on either a PR or release. GITHUB_BASE_REF is only
# set when this workflow is run against a PR. When run against a PR, we want
# to use the branch we are running against: GITHUB_BASE_REF. When run
# as a release, we want to use the current branch ref: GITHUB_REF_NAME.
target-branch: ${{ github.base_ref || github.ref_name }}
build-branch: ${{ env.branch-master || env.branch-pr }}
steps:
# The initialize job gathers variables for later use in jobs.
# We are using this technique rather environment variables because at the moment, they won't work with reusable jobs.
# A positive side effect of this is that we can print all variables at start for debugging and troubleshooting.
- run: echo "target-branch -> ${{ github.base_ref || github.ref_name }}"
# For the building branch, if we are running agains a PR, we need to indicate in the branch that is coming from a PR
- run: |
echo "branch-version=${{ github.ref_name }}" >> $GITHUB_ENV
echo "build-branch -> ${{ github.ref_name }}"
id: branch-master
if: ${{ !github.base_ref }}
- run: |
echo "branch-pr=refs/pull/${{ github.ref_name }}" >> $GITHUB_ENV
echo "build-branch -> ${{ github.base_ref }}"
id: branch-pr
if: ${{ github.base_ref }}
build_backend:
name: Build backend
uses: ./.github/workflows/build-backend.yml
needs: [initialize]
with:
build_branch: ${{ needs.initialize.outputs.build-branch }}
build_frontend:
name: Build frontend
uses: ./.github/workflows/build-frontend.yml
needs: [initialize]
with:
target_branch: ${{ needs.initialize.outputs.target-branch }}
build_branch: ${{ needs.initialize.outputs.build-branch }}
integration_tests_backend:
name: Run backend integration tests
uses: ./.github/workflows/integration-tests-backend.yml
needs: [initialize, build_backend, build_frontend]
with:
target_branch: ${{ needs.initialize.outputs.target-branch }}
build_branch: ${{ needs.initialize.outputs.build-branch }}
integration_tests_frontend:
name: Run frontend integration tests
uses: ./.github/workflows/integration-tests-frontend.yml
needs: [initialize, build_backend, build_frontend]
with:
target_branch: ${{ needs.initialize.outputs.target-branch }}
build_branch: ${{ needs.initialize.outputs.build-branch }}