Skip to content

Commit

Permalink
Merge pull request #142 from vaikas/new-scaffold
Browse files Browse the repository at this point in the history
Use scaffolding v0.4.2 for tests.
  • Loading branch information
Hector Fernandez committed Aug 11, 2022
2 parents c85bb26 + 74db2ae commit 1ec6815
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/kind-cluster-image-policy-scaling.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,13 @@ jobs:
matrix:
k8s-version:
- v1.22.x
# Try without this one now, might have problems with job restartings
# may require upstream changes.
- v1.23.x
- v1.24.x

env:
KNATIVE_VERSION: "1.5.0"
KO_DOCKER_REPO: "registry.local:5000/policy-controller"
SCAFFOLDING_RELEASE_VERSION: "v0.3.0"
SCAFFOLDING_RELEASE_VERSION: "v0.4.2"
GO111MODULE: on
GOFLAGS: -ldflags=-s -ldflags=-w
KOCACHE: ~/ko
Expand Down Expand Up @@ -69,8 +67,11 @@ jobs:

- uses: sigstore/cosign-installer@09a077b27eb1310dcfb21981bee195b30ce09de0 # v2.3.0

- name: Install cluster + cosign
- name: Install cluster + sigstore
uses: sigstore/scaffolding/actions/setup@main
with:
k8s-version: ${{ matrix.k8s-version}}
version: ${{ env.SCAFFOLDING_RELEASE_VERSION }}

- name: Install policy-controller
env:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
env:
KNATIVE_VERSION: "1.5.0"
KO_DOCKER_REPO: "registry.local:5000/policy-controller"
SCAFFOLDING_RELEASE_VERSION: "v0.3.0"
SCAFFOLDING_RELEASE_VERSION: "v0.4.2"
GO111MODULE: on
GOFLAGS: -ldflags=-s -ldflags=-w
KOCACHE: ~/ko
Expand Down Expand Up @@ -69,8 +69,11 @@ jobs:

- uses: sigstore/cosign-installer@09a077b27eb1310dcfb21981bee195b30ce09de0 # v2.3.0

- name: Install cluster + cosign
- name: Install cluster + sigstore
uses: sigstore/scaffolding/actions/setup@main
with:
k8s-version: ${{ matrix.k8s-version}}
version: ${{ env.SCAFFOLDING_RELEASE_VERSION }}

- name: Install policy-controller
env:
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/kind-cluster-image-policy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,13 @@ jobs:
matrix:
k8s-version:
- v1.22.x
# Try without this one now, might have problems with job restartings
# may require upstream changes.
- v1.23.x
- v1.24.x

env:
KNATIVE_VERSION: "1.5.0"
KO_DOCKER_REPO: "registry.local:5000/policy-controller"
SCAFFOLDING_RELEASE_VERSION: "v0.3.0"
SCAFFOLDING_RELEASE_VERSION: "v0.4.2"
GO111MODULE: on
GOFLAGS: -ldflags=-s -ldflags=-w
KOCACHE: ~/ko
Expand Down Expand Up @@ -69,8 +67,11 @@ jobs:

- uses: sigstore/cosign-installer@09a077b27eb1310dcfb21981bee195b30ce09de0 # v2.3.0

- name: Install cluster + cosign
- name: Install cluster + sigstore
uses: sigstore/scaffolding/actions/setup@main
with:
k8s-version: ${{ matrix.k8s-version}}
version: ${{ env.SCAFFOLDING_RELEASE_VERSION }}

- name: Install policy-controller
env:
Expand Down

0 comments on commit 1ec6815

Please sign in to comment.