Skip to content

Commit

Permalink
Merge branch 'release-0.7.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
William Lam committed Mar 8, 2022
2 parents 147b16c + 12af139 commit 92d9570
Show file tree
Hide file tree
Showing 4,289 changed files with 4,637 additions and 1,471,770 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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@v1
uses: embano1/wip@e83c03c8f4696b0cef273d83115521b26ebb8bec # v1
46 changes: 0 additions & 46 deletions .github/workflows/create-docker-dev-image.yml

This file was deleted.

39 changes: 0 additions & 39 deletions .github/workflows/create-docker-prerelease.yml

This file was deleted.

28 changes: 0 additions & 28 deletions .github/workflows/create-docker-release.yml

This file was deleted.

60 changes: 60 additions & 0 deletions .github/workflows/gcr-dev-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: VMware Event Router Development Image Build

# triggered on every push to development but only when changes inside
# vmware-event-router (sub)dir(s)
on:
push:
paths:
- "vmware-event-router/**"
branches:
- "development"

# run all jobs with these defaults, unless specified otherwise
defaults:
run:
shell: bash
working-directory: ./vmware-event-router

jobs:
image:
strategy:
matrix:
go-version: ["1.17"]
platform: ["ubuntu-latest"]

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

steps:
- name: Setup ko
uses: imjasonh/setup-ko@2c3450ca27f6e6f2b02e72a40f2163c281a1f675 # v0.4

- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@424fc82d43fa5a37540bae62709ddcc23d9520d4 # v2.1.5
with:
go-version: ${{ matrix.go-version }}
id: go

- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0

- name: Login to GCP
uses: google-github-actions/setup-gcloud@37a9333538a8350a13fe9d8fa03e0d4742a1ad2e # 0.5.0
with:
project_id: ${{ secrets.GCP_PROJECT_ID }}
service_account_email: ${{ secrets.GCP_EMAIL }}
service_account_key: ${{ secrets.GCP_CREDENTIALS }}

- name: Configure Docker
run: gcloud auth configure-docker --quiet

- name: Get short COMMIT and TAG
run: |
echo "KO_COMMIT=$(echo -n $GITHUB_SHA | cut -c -8)" >> $GITHUB_ENV
echo "KO_TAG=$(basename "${{ github.ref }}")" >> $GITHUB_ENV
- name: Build and push multi-arch image
run: |
# build and push with development tag
ko resolve --platform=linux/arm64,linux/amd64 --tags ${KO_COMMIT},development -BRf deploy/event-router-k8s.yaml
55 changes: 55 additions & 0 deletions .github/workflows/gcr-prerelease-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: VMware Event Router Pre-Release Image Build

on:
push:
branches:
- release-*

defaults:
run:
shell: bash
working-directory: ./vmware-event-router

jobs:
image:
strategy:
matrix:
go-version: ["1.17"]
platform: ["ubuntu-latest"]

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

steps:
- name: Setup ko
uses: imjasonh/setup-ko@2c3450ca27f6e6f2b02e72a40f2163c281a1f675 # v0.4

- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@424fc82d43fa5a37540bae62709ddcc23d9520d4 # v2.1.5
with:
go-version: ${{ matrix.go-version }}
id: go

- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0

- name: Login to GCP
uses: google-github-actions/setup-gcloud@37a9333538a8350a13fe9d8fa03e0d4742a1ad2e # 0.5.0
with:
project_id: ${{ secrets.GCP_PROJECT_ID }}
service_account_email: ${{ secrets.GCP_EMAIL }}
service_account_key: ${{ secrets.GCP_CREDENTIALS }}

- name: Configure Docker
run: gcloud auth configure-docker --quiet

- name: Get short COMMIT and TAG
run: |
echo "KO_COMMIT=$(echo -n $GITHUB_SHA | cut -c -8)" >> $GITHUB_ENV
echo "KO_TAG=$(basename "${{ github.ref }}")" >> $GITHUB_ENV
- name: Build and push multi-arch image
run: |
# build and push with pre-release tag
ko resolve --platform=linux/arm64,linux/amd64 --tags ${KO_COMMIT},${KO_TAG} -BRf deploy/event-router-k8s.yaml
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@v2
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0
with:
fetch-depth: 1

- name: Render template
id: template
uses: chuhlomin/render-template@v1.2
uses: chuhlomin/render-template@f828bb5c72a3e3af89cb79808cea490166c6f1ce # v1.4
with:
template: .github/comment-template.md
vars: |
author: ${{ github.actor }}
- name: Create comment
uses: peter-evans/create-or-update-comment@v1
uses: peter-evans/create-or-update-comment@a35cf36e5301d70b76f316e867e7788a55a31dae # v1.4.5
with:
issue-number: ${{ github.event.issue.number }}
body: ${{ steps.template.outputs.result }}
48 changes: 0 additions & 48 deletions .github/workflows/release-notes.yml

This file was deleted.

Loading

0 comments on commit 92d9570

Please sign in to comment.