Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change to dynamically switch CI container image tag #2310

Merged
merged 4 commits into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/build-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,14 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/dump-context

detect-ci-container:
uses: ./.github/workflows/_detect-ci-container.yml

build-linux:
runs-on: ubuntu-latest
needs: [detect-ci-container]
container:
image: ghcr.io/vdaas/vald/vald-ci-container:nightly
image: ghcr.io/vdaas/vald/vald-ci-container:${{ needs.detect-ci-container.outputs.TAG_NAME }}
steps:
- uses: actions/checkout@v4
with:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/build-protobuf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,14 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/dump-context

detect-ci-container:
uses: ./.github/workflows/_detect-ci-container.yml

build:
runs-on: ubuntu-latest
needs: [detect-ci-container]
container:
image: ghcr.io/vdaas/vald/vald-ci-container:nightly
image: ghcr.io/vdaas/vald/vald-ci-container:${{ needs.detect-ci-container.outputs.TAG_NAME }}
steps:
- uses: actions/checkout@v4

Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,15 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/dump-context

detect-ci-container:
uses: ./.github/workflows/_detect-ci-container.yml

codeql-build:
name: CodeQL
runs-on: ubuntu-latest
needs: [detect-ci-container]
container:
image: ghcr.io/vdaas/vald/vald-ci-container:nightly
image: ghcr.io/vdaas/vald/vald-ci-container:${{ needs.detect-ci-container.outputs.TAG_NAME }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,14 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/dump-context

detect-ci-container:
uses: ./.github/workflows/_detect-ci-container.yml

coverage:
runs-on: ubuntu-latest
needs: [detect-ci-container]
container:
image: ghcr.io/vdaas/vald/vald-ci-container:nightly
image: ghcr.io/vdaas/vald/vald-ci-container:${{ needs.detect-ci-container.outputs.TAG_NAME }}
steps:
- uses: actions/checkout@v4
with:
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/e2e-code-bench-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,15 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/dump-context

detect-ci-container:
uses: ./.github/workflows/_detect-ci-container.yml

grpc-sequential:
name: grpc-sequential
runs-on: ubuntu-latest
needs: [detect-ci-container]
container:
image: ghcr.io/vdaas/vald/vald-ci-container:nightly
image: ghcr.io/vdaas/vald/vald-ci-container:${{ needs.detect-ci-container.outputs.TAG_NAME }}
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -87,8 +91,9 @@ jobs:
grpc-stream:
name: grpc-stream
runs-on: ubuntu-latest
needs: [detect-ci-container]
container:
image: ghcr.io/vdaas/vald/vald-ci-container:nightly
image: ghcr.io/vdaas/vald/vald-ci-container:${{ needs.detect-ci-container.outputs.TAG_NAME }}
steps:
- uses: actions/checkout@v4

Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/fossa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,15 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/dump-context

detect-ci-container:
uses: ./.github/workflows/_detect-ci-container.yml

fossa-scan:
name: "trigger FOSSA scan"
needs: [dump-contexts-to-log]
runs-on: ubuntu-latest
needs: [dump-contexts-to-log, detect-ci-container]
container:
image: ghcr.io/vdaas/vald/vald-ci-container:nightly
image: ghcr.io/vdaas/vald/vald-ci-container:${{ needs.detect-ci-container.outputs.TAG_NAME }}
steps:
- uses: actions/checkout@v4

Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/helm-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,15 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/dump-context

detect-ci-container:
uses: ./.github/workflows/_detect-ci-container.yml

lint-vald-chart:
name: lint for vald chart
runs-on: ubuntu-latest
needs: [detect-ci-container]
container:
image: ghcr.io/vdaas/vald/vald-ci-container:nightly
image: ghcr.io/vdaas/vald/vald-ci-container:${{ needs.detect-ci-container.outputs.TAG_NAME }}
steps:
- name: Check out code.
uses: actions/checkout@v4
Expand All @@ -54,8 +58,9 @@ jobs:
lint-vald-helm-operator-chart:
name: lint for vald-helm-operator chart
runs-on: ubuntu-latest
needs: [detect-ci-container]
container:
image: ghcr.io/vdaas/vald/vald-ci-container:nightly
image: ghcr.io/vdaas/vald/vald-ci-container:${{ needs.detect-ci-container.outputs.TAG_NAME }}
steps:
- name: Check out code.
uses: actions/checkout@v4
Expand All @@ -79,6 +84,9 @@ jobs:
lint-values-schema:
name: lint for values schema
runs-on: ubuntu-latest
needs: [detect-ci-container]
container:
image: ghcr.io/vdaas/vald/vald-ci-container:${{ needs.detect-ci-container.outputs.TAG_NAME }}
steps:
- name: Check out code.
uses: actions/checkout@v4
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/helm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,15 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/dump-context

detect-ci-container:
uses: ./.github/workflows/_detect-ci-container.yml

update-helm-chart:
name: Update Helm chart
runs-on: ubuntu-latest
needs: [detect-ci-container]
container:
image: ghcr.io/vdaas/vald/vald-ci-container:nightly
image: ghcr.io/vdaas/vald/vald-ci-container:${{ needs.detect-ci-container.outputs.TAG_NAME }}
steps:
- uses: actions/checkout@v4
with:
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/reviewdog-k8s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,15 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/dump-context

detect-ci-container:
uses: ./.github/workflows/_detect-ci-container.yml

kubeval-conflint:
name: runner / kubeval-conflint
runs-on: ubuntu-latest
needs: [detect-ci-container]
container:
image: mumoshu/conflint:latest
image: ghcr.io/vdaas/vald/vald-ci-container:${{ needs.detect-ci-container.outputs.TAG_NAME }}
steps:
- uses: actions/checkout@v4

Expand All @@ -53,8 +57,9 @@ jobs:
kubelinter-k8s-manifests:
name: runner / kubelinter
runs-on: ubuntu-latest
needs: [detect-ci-container]
container:
image: ghcr.io/vdaas/vald/vald-ci-container:nightly
image: ghcr.io/vdaas/vald/vald-ci-container:${{ needs.detect-ci-container.outputs.TAG_NAME }}
steps:
- uses: actions/checkout@v4

Expand All @@ -74,8 +79,9 @@ jobs:
kubelinter-vald-chart:
name: runner / kubelinter for vald chart
runs-on: ubuntu-latest
needs: [detect-ci-container]
container:
image: ghcr.io/vdaas/vald/vald-ci-container:nightly
image: ghcr.io/vdaas/vald/vald-ci-container:${{ needs.detect-ci-container.outputs.TAG_NAME }}
steps:
- uses: actions/checkout@v4

Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,15 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/dump-context

detect-ci-container:
uses: ./.github/workflows/_detect-ci-container.yml

golangci-lint:
name: runner / golangci-lint
runs-on: ubuntu-latest
needs: [detect-ci-container]
container:
image: ghcr.io/vdaas/vald/vald-ci-container:nightly
image: ghcr.io/vdaas/vald/vald-ci-container:${{ needs.detect-ci-container.outputs.TAG_NAME }}
steps:
- uses: actions/checkout@v4

Expand Down
Loading