chore: bump golang dependencies #5767
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: ARO HCP Service PR Check | |
| env: | |
| DEPLOY_ENV: dev | |
| SKIP_CONFIRM: true | |
| AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }} | |
| AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }} | |
| AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }} | |
| #AZURE_AUTHORITY_HOST: https://login.microsoftonline.com/ | |
| PRINCIPAL_ID: ${{ secrets.GHA_PRINCIPAL_ID }} | |
| PERSIST: true | |
| on: | |
| pull_request: | |
| paths: | |
| - '.github/workflows/aro-hcp-cd.yml' | |
| - '.github/workflows/environment-infra-cd.yml' | |
| - '.github/workflows/services-cd.yml' | |
| - '.github/workflows/services-ci.yml' | |
| - '.github/workflows/services-pr-check.yml' | |
| - 'config/config.yaml' | |
| - 'dev-infrastructure/**/*.bicep' | |
| - 'dev-infrastructure/**/*.bicepparam' | |
| - 'dev-infrastructure/configurations/*' | |
| - 'frontend/**' | |
| - 'admin/**' | |
| - 'backend/**' | |
| - 'cluster-service/**' | |
| - 'internal/**' | |
| - 'maestro/**' | |
| - 'pko/**' | |
| - 'acm/**' | |
| - 'hypershiftoperator/**' | |
| - 'image-sync/**/' | |
| - 'tooling/templatize/**' | |
| - 'config/*' | |
| - 'observability/*' | |
| types: | |
| - opened | |
| - synchronize | |
| - reopened | |
| jobs: | |
| service_cluster_pr_check: | |
| permissions: | |
| id-token: 'write' | |
| contents: 'read' | |
| runs-on: 'ubuntu-latest' | |
| steps: | |
| - uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.2.2 | |
| with: | |
| fetch-depth: 1 | |
| - name: "install azure-cli" | |
| uses: "Azure/ARO-HCP@main" | |
| - uses: azure/setup-kubectl@776406bce94f63e41d621b960d78ee25c8b76ede # v4.0.1 | |
| # Used to deploy Cluster Service | |
| - name: 'Install oc' | |
| run: | | |
| curl -sfLo - https://mirror.openshift.com/pub/openshift-v4/clients/ocp/4.15.9/openshift-client-linux.tar.gz | tar xzf - | |
| sudo mv oc /usr/local/bin/oc | |
| chmod +x /usr/local/bin/oc | |
| # Used to deploy Maestro Server, Frontend | |
| - uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4.3.1 | |
| with: | |
| version: 'v3.18.6' | |
| - uses: oras-project/setup-oras@v1 | |
| with: | |
| version: 1.2.3 | |
| - uses: azure/use-kubelogin@76597ae0fcbaace21b05e13a2cbf8daee2c6e820 # v1.2 | |
| with: | |
| kubelogin-version: 'v0.1.3' | |
| - name: 'Install helm diff' | |
| run: | | |
| helm plugin install https://github.com/databus23/helm-diff | |
| - name: 'Test helm charts' | |
| #This will test both svc and mgmt, since there is no way to split these. | |
| run: | | |
| make test-helm-fixtures | |
| - name: 'Dry Run Cluster Service' | |
| run: | | |
| make cluster-service.dry_run | |
| - name: 'Dry Run Backend' | |
| run: | | |
| make backend.dry_run | |
| # temporary disable frontend controller dry run until we figured out the helm dry-run issue | |
| # - name: 'Dry Run Frontend' | |
| # run: | | |
| # make frontend.dry_run | |
| - name: 'Dry Run Maestro Server' | |
| run: | | |
| make maestro.server.dry_run | |
| - name: 'Dry Run Observability/Tracing' | |
| run: | | |
| make observability.tracing.dry_run | |
| mgmt_cluster_pr_check: | |
| permissions: | |
| id-token: 'write' | |
| contents: 'read' | |
| runs-on: 'ubuntu-latest' | |
| steps: | |
| - uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.2.2 | |
| with: | |
| fetch-depth: 1 | |
| - name: "install azure-cli" | |
| uses: "Azure/ARO-HCP@main" | |
| - uses: azure/setup-kubectl@776406bce94f63e41d621b960d78ee25c8b76ede # v4.0.1 | |
| # Used to deploy Cluster Service | |
| - name: 'Install oc' | |
| run: | | |
| curl -sfLo - https://mirror.openshift.com/pub/openshift-v4/clients/ocp/4.15.9/openshift-client-linux.tar.gz | tar xzf - | |
| sudo mv oc /usr/local/bin/oc | |
| chmod +x /usr/local/bin/oc | |
| # Used to deploy Maestro Server, Frontend | |
| - uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4.3.1 | |
| with: | |
| version: 'v3.18.6' | |
| - uses: azure/use-kubelogin@76597ae0fcbaace21b05e13a2cbf8daee2c6e820 # v1.2 | |
| with: | |
| kubelogin-version: 'v0.1.3' | |
| - uses: oras-project/setup-oras@v1 | |
| with: | |
| version: 1.2.3 | |
| - name: 'Install helm diff' | |
| run: | | |
| helm plugin install https://github.com/databus23/helm-diff | |
| - name: 'Dry Run HypershiftOperator' | |
| run: | | |
| make hypershiftoperator.dry_run | |
| - name: 'Dry Run Maestro Agent' | |
| run: | | |
| make maestro.agent.dry_run | |
| - name: 'Dry Run PKO' | |
| run: | | |
| make pko.dry_run | |
| - name: 'Dry Run ACM' | |
| run: | | |
| make acm.dry_run || true | |
| # temporary disable secret sync controller dry run until we figured out the helm dry-run issue | |
| #- name: 'Dry Run secret sync controller' | |
| # run: | | |
| # make secret-sync-controller.dry_run | |
| - name: 'Dry Run Observability/Tracing' | |
| run: | | |
| make observability.tracing.dry_run |