Skip to content

Commit

Permalink
Merge branch 'release-0.7.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
William Lam committed Apr 6, 2023
2 parents bb69e71 + a84c9d2 commit 73f7269
Show file tree
Hide file tree
Showing 76 changed files with 1,499 additions and 1,457 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-wip-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check WIP in PR Title
uses: embano1/wip@e83c03c8f4696b0cef273d83115521b26ebb8bec # v1
uses: embano1/wip@d10268b325aea84ff49ff3f0983c0ebc14976caf # v1
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
20 changes: 11 additions & 9 deletions .github/workflows/gcr-dev-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,32 +19,34 @@ jobs:
image:
strategy:
matrix:
go-version: ["1.18"]
go-version: ["1.19"]
platform: ["ubuntu-latest"]

runs-on: ${{ matrix.platform }}
timeout-minutes: 20
env:
KO_DOCKER_REPO: us.gcr.io/daisy-284300/veba # .../router@sha256:
PROJECT_ID: ${{ secrets.GCP_PROJECT_ID }}

steps:
- name: Setup ko
uses: imjasonh/setup-ko@78eea08f10db87a7a23a666a4a6fe2734f2eeb8d # v0.4
uses: imjasonh/setup-ko@ace48d793556083a76f1e3e6068850c1f4a369aa # v0.6

- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@84cbf8094393cdc5fe1fe1671ff2647332956b1a
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9
with:
go-version: ${{ matrix.go-version }}
id: go

- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3

- name: Login to GCP
uses: google-github-actions/setup-gcloud@877d4953d2c70a0ba7ef3290ae968eb24af233bb
- id: login_to_gcp
uses: google-github-actions/auth@ef5d53e30bbcd8d0836f4288f5e50ff3e086997d
with:
project_id: ${{ secrets.GCP_PROJECT_ID }}
service_account_email: ${{ secrets.GCP_EMAIL }}
service_account_key: ${{ secrets.GCP_CREDENTIALS }}
credentials_json: '${{ secrets.GCP_CREDENTIALS }}'

- name: Set up gcloud
uses: google-github-actions/setup-gcloud@62d4898025f6041e16b1068643bfc5a696863587

- name: Configure Docker
run: gcloud auth configure-docker --quiet
Expand Down
20 changes: 11 additions & 9 deletions .github/workflows/gcr-prerelease-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,32 +14,34 @@ jobs:
image:
strategy:
matrix:
go-version: ["1.18"]
go-version: ["1.19"]
platform: ["ubuntu-latest"]

runs-on: ${{ matrix.platform }}
timeout-minutes: 20
env:
KO_DOCKER_REPO: us.gcr.io/daisy-284300/veba # .../router@sha256:
PROJECT_ID: ${{ secrets.GCP_PROJECT_ID }}

steps:
- name: Setup ko
uses: imjasonh/setup-ko@78eea08f10db87a7a23a666a4a6fe2734f2eeb8d # v0.4
uses: imjasonh/setup-ko@ace48d793556083a76f1e3e6068850c1f4a369aa # v0.6

- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@84cbf8094393cdc5fe1fe1671ff2647332956b1a
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9
with:
go-version: ${{ matrix.go-version }}
id: go

- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3

- name: Login to GCP
uses: google-github-actions/setup-gcloud@877d4953d2c70a0ba7ef3290ae968eb24af233bb
- id: login_to_gcp
uses: google-github-actions/auth@ef5d53e30bbcd8d0836f4288f5e50ff3e086997d
with:
project_id: ${{ secrets.GCP_PROJECT_ID }}
service_account_email: ${{ secrets.GCP_EMAIL }}
service_account_key: ${{ secrets.GCP_CREDENTIALS }}
credentials_json: '${{ secrets.GCP_CREDENTIALS }}'

- name: Set up gcloud
uses: google-github-actions/setup-gcloud@62d4898025f6041e16b1068643bfc5a696863587

- name: Configure Docker
run: gcloud auth configure-docker --quiet
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/issue-greeting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
with:
fetch-depth: 1

- name: Render template
id: template
uses: chuhlomin/render-template@69462090a6315efa50069855670b3a4abab20512
uses: chuhlomin/render-template@204ce622bc2fd5c787ff5ca885ff19fb577e7a41
with:
template: .github/comment-template.md
vars: |
author: ${{ github.actor }}
- name: Create comment
uses: peter-evans/create-or-update-comment@c9fcb64660bc90ec1cc535646af190c992007c32
uses: peter-evans/create-or-update-comment@3383acd359705b10cb1eeef05c0e88c056ea4666
with:
issue-number: ${{ github.event.issue.number }}
body: ${{ steps.template.outputs.result }}
35 changes: 18 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@ jobs:
timeout-minutes: 30
strategy:
matrix:
go-version: ["1.18"]
go-version: ["1.19"]
platform: ["ubuntu-latest"]
runs-on: ${{ matrix.platform }}

steps:
- name: Checkout
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
with:
fetch-depth: 0
ref: "master"

- name: Set up Go
uses: actions/setup-go@84cbf8094393cdc5fe1fe1671ff2647332956b1a
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9
with:
go-version: ${{ matrix.go-version }}

Expand All @@ -44,7 +44,7 @@ jobs:
docker run --rm -v $PWD:/workdir ${IMAGE}@sha256:${IMAGE_SHA} -o vmware-event-router/RELEASE_CHANGELOG.md $(basename "${{ github.ref }}" )
- name: GoReleaser
uses: goreleaser/goreleaser-action@68acf3b1adf004ac9c2f0a4259e85c5f66e99bef
uses: goreleaser/goreleaser-action@f82d6c1c344bcacabba2c841718984797f664a6b
with:
args: release --rm-dist --release-notes RELEASE_CHANGELOG.md
workdir: vmware-event-router
Expand All @@ -61,7 +61,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
with:
# for changelog
fetch-depth: 0
Expand All @@ -85,10 +85,9 @@ jobs:
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@923ad837f191474af6b1721408744feb989a4c27
uses: peter-evans/create-pull-request@5b4a9f6a9e2af26e5f02351490b90d01eb8ec1e5
with:
delete-branch: true
reviewers: embano1
title: "Update CHANGELOG"
body: |
Update CHANGELOG.md for new release
Expand All @@ -104,30 +103,32 @@ jobs:
timeout-minutes: 30
env:
KO_DOCKER_REPO: us.gcr.io/daisy-284300/veba # .../router@sha256:
PROJECT_ID: ${{ secrets.GCP_PROJECT_ID }}
strategy:
matrix:
go-version: ["1.18"]
go-version: ["1.19"]
platform: ["ubuntu-latest"]
runs-on: ${{ matrix.platform }}

steps:
- name: Setup ko
uses: imjasonh/setup-ko@78eea08f10db87a7a23a666a4a6fe2734f2eeb8d # v0.4
uses: imjasonh/setup-ko@ace48d793556083a76f1e3e6068850c1f4a369aa # v0.6

- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@84cbf8094393cdc5fe1fe1671ff2647332956b1a
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9
with:
go-version: ${{ matrix.go-version }}
id: go

- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3

- name: Login to GCP
uses: google-github-actions/setup-gcloud@877d4953d2c70a0ba7ef3290ae968eb24af233bb
- id: login_to_gcp
uses: google-github-actions/auth@ef5d53e30bbcd8d0836f4288f5e50ff3e086997d
with:
project_id: ${{ secrets.GCP_PROJECT_ID }}
service_account_email: ${{ secrets.GCP_EMAIL }}
service_account_key: ${{ secrets.GCP_CREDENTIALS }}
credentials_json: '${{ secrets.GCP_CREDENTIALS }}'

- name: Set up gcloud
uses: google-github-actions/setup-gcloud@62d4898025f6041e16b1068643bfc5a696863587

- name: Configure Docker
run: gcloud auth configure-docker --quiet
Expand All @@ -139,7 +140,7 @@ jobs:
- name: Get Release URL
id: get_release_url
uses: bruceadams/get-release@3a8733307b85cd96d52772b037617bd63d99522e # v1.2.3
uses: bruceadams/get-release@74c3d60f5a28f358ccf241a00c9021ea16f0569f # v1.2.3
env:
GITHUB_TOKEN: ${{ github.token }}

Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/router-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,24 @@ jobs:
name: Build binaries
strategy:
matrix:
go-version: ["1.18"]
go-version: ["1.19"]
platform: ["ubuntu-latest"]

runs-on: ${{ matrix.platform }}
timeout-minutes: 20

steps:
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@84cbf8094393cdc5fe1fe1671ff2647332956b1a
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9
with:
go-version: ${{ matrix.go-version }}
id: go

- name: Check out code
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3

- name: GoReleaser Snapshot
uses: goreleaser/goreleaser-action@68acf3b1adf004ac9c2f0a4259e85c5f66e99bef
uses: goreleaser/goreleaser-action@f82d6c1c344bcacabba2c841718984797f664a6b
with:
version: latest
args: release --rm-dist --snapshot
Expand All @@ -48,7 +48,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Archive run artifacts
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce
with:
name: dist
path: |
Expand All @@ -60,7 +60,7 @@ jobs:
name: Verify Release ko artifact (no upload)
strategy:
matrix:
go-version: ["1.18"]
go-version: ["1.19"]
platform: ["ubuntu-latest"]

runs-on: ${{ matrix.platform }}
Expand All @@ -70,16 +70,16 @@ jobs:

steps:
- name: Setup ko
uses: imjasonh/setup-ko@78eea08f10db87a7a23a666a4a6fe2734f2eeb8d # v0.4
uses: imjasonh/setup-ko@ace48d793556083a76f1e3e6068850c1f4a369aa # v0.6

- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@84cbf8094393cdc5fe1fe1671ff2647332956b1a
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9
with:
go-version: ${{ matrix.go-version }}
id: go

- name: Check out code
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3

- name: Get short COMMIT and TAG
run: |
Expand All @@ -92,7 +92,7 @@ jobs:
ko resolve --platform=linux/arm64,linux/amd64 --push=false --tags ${KO_TAG},${KO_COMMIT},latest -BRf deploy/event-router-k8s.yaml > release.yaml
- name: Archive run artifacts
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce
with:
name: release
path: |
Expand Down
29 changes: 15 additions & 14 deletions .github/workflows/router-helm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
- 'vmware-event-router/**'

env:
KIND_VERSION: v0.11.1
KIND_VERSION: v0.17.0
NAMESPACE: vmware
KO_DOCKER_REPO: kind.local

Expand All @@ -23,16 +23,16 @@ jobs:
timeout-minutes: 15

steps:
- name: Set up Go 1.18.x
uses: actions/setup-go@84cbf8094393cdc5fe1fe1671ff2647332956b1a
- name: Set up Go
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9
with:
go-version: 1.18
go-version: 1.19

- name: Setup ko
uses: imjasonh/setup-ko@78eea08f10db87a7a23a666a4a6fe2734f2eeb8d # v0.4
uses: imjasonh/setup-ko@ace48d793556083a76f1e3e6068850c1f4a369aa # v0.6

- name: Check out code onto GOPATH
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
with:
fetch-depth: 1

Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
config:
logLevel: debug
vcenter:
address: https://vcsim.vmware.svc.cluster.local
address: https://vcsim.${NAMESPACE}.svc.cluster.local
username: user
password: pass
insecure: true # ignore TLS certs
Expand Down Expand Up @@ -129,22 +129,22 @@ jobs:
name: Knative Event Processor
runs-on: ubuntu-latest
env:
KNATIVE_VERSION: knative-v1.1.0 # same as VEBA BOM
KNATIVE_VERSION: knative-v1.8.3 # same as VEBA BOM
BROKER_NAMESPACE: default
BROKER_NAME: default
timeout-minutes: 15

steps:
- name: Set up Go 1.18.x
uses: actions/setup-go@84cbf8094393cdc5fe1fe1671ff2647332956b1a
- name: Set up Go
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9
with:
go-version: 1.18
go-version: 1.19

- name: Setup ko
uses: imjasonh/setup-ko@78eea08f10db87a7a23a666a4a6fe2734f2eeb8d # v0.4
uses: imjasonh/setup-ko@ace48d793556083a76f1e3e6068850c1f4a369aa # v0.6

- name: Check out code onto GOPATH
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
with:
fetch-depth: 1

Expand Down Expand Up @@ -192,7 +192,8 @@ jobs:
echo "::group::Ingress"
echo "waiting 10s before proceeding..." && sleep 10 # hack: give webhook mutating admission controllers some time to settle
kubectl apply -f https://github.com/knative/net-kourier/releases/download/${KNATIVE_VERSION}/kourier.yaml
# TODO (@embano1): hard-code version since v1.8.3 does not exist
kubectl apply -f https://github.com/knative-sandbox/net-kourier/releases/download/knative-v1.8.1/kourier.yaml
kubectl -n kourier-system wait --timeout=3m --for=condition=Available deploy/3scale-kourier-gateway
kubectl patch configmap/config-network \
--namespace knative-serving \
Expand Down
Loading

0 comments on commit 73f7269

Please sign in to comment.