Skip to content

fix(deps): update github.com/googlecloudplatform/k8s-config-connector/mockgcp digest to 75df9e6 #3808

fix(deps): update github.com/googlecloudplatform/k8s-config-connector/mockgcp digest to 75df9e6

fix(deps): update github.com/googlecloudplatform/k8s-config-connector/mockgcp digest to 75df9e6 #3808

Workflow file for this run

# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: Presubmit
on:
pull_request:
types: [opened, synchronize, reopened]
paths-ignore:
- "**.md"
- "experiments/**"
push:
branches: ["master"]
paths-ignore:
- "**.md"
- "experiments/**"
jobs:
validations:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
with:
# This is to get all the commits in order to validate them
fetch-depth: 0
- uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
- name: "Run validations"
run: |
./scripts/github-actions/ga-validation.sh
env:
EVENT_NAME: ${{ github.event_name }}
COMMIT_HEAD: ${{ github.event.pull_request.head.sha }}
COMMIT_CNT: ${{ github.event.pull_request.commits }}
unit-tests:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
- name: "Set up Cloud SDK"
uses: "google-github-actions/setup-gcloud@v1"
- name: "Run unit tests"
run: |
./scripts/github-actions/ga-unit-test.sh
- name: "Upload test result"
uses: actions/upload-artifact@v4
if: '!cancelled()'
with:
name: unitest_result
path: unittest_result.json
retention-days: 5
tests-e2e-samples:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
- name: "Run mock tests"
run: |
./scripts/github-actions/tests-e2e-samples
env:
ARTIFACTS: /tmp/artifacts
- name: "Upload artifacts"
uses: actions/upload-artifact@v3
with:
name: artifacts
path: /tmp/artifacts/
tests-e2e-fixtures:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
- name: "Run mock tests"
run: |
./scripts/github-actions/tests-e2e-fixtures
env:
ARTIFACTS: /tmp/artifacts
- name: "Upload artifacts"
uses: actions/upload-artifact@v3
with:
name: artifacts
path: /tmp/artifacts/
pause-tests:
runs-on: ubuntu-22.04
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
- name: "Run pause tests"
run: |
./scripts/github-actions/ga-pause-test.sh
direct-tests:
runs-on: ubuntu-22.04
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
- name: "run tests-e2e-direct"
run: |
./scripts/github-actions/tests-e2e-direct.sh
tests-e2e-fixtures-vcr:
runs-on: ubuntu-22.04
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
- name: "Run vcr tests"
run: |
./scripts/github-actions/tests-e2e-fixtures-vcr.sh
powertool-tests:
runs-on: ubuntu-22.04
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
- name: "Run scenarios tests for powertool"
run: |
./scripts/github-actions/powertool-test.sh
build-images:
runs-on: ubuntu-22.04
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
- name: "dev/tasks/build-images"
run: |
dev/tasks/build-images
env:
PROJECT_ID: cnrm-test
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true