-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into namespace-only
- Loading branch information
Showing
171 changed files
with
8,994 additions
and
25,186 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: 'Build' | ||
description: 'Build Go packages' | ||
inputs: | ||
build-make-action: | ||
description: 'Action in makefile to build package' | ||
required: true | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Test | ||
run: make test | ||
shell: bash | ||
|
||
- name: Build docker image | ||
run: make ${{ inputs.build-make-action }} | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: 'Push' | ||
description: 'Push containers to Docker registry' | ||
inputs: | ||
push-make-action: | ||
description: 'Action in makefile to push package to docker repo' | ||
required: true | ||
docker-user: | ||
description: 'Username to authenticate with docker repository' | ||
required: true | ||
docker-passw: | ||
description: 'Password to authenticate with docker repository' | ||
required: true | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Push images to private repo | ||
run: | | ||
echo "${{ inputs.docker-passw}}" | docker login -u ${{ inputs.docker-user }} --password-stdin dokken.azurecr.io | ||
make ${{ inputs.push-make-action }} | ||
shell: bash |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Build Controller | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- '*-patch' | ||
paths: | ||
- '.github/workflows/controller-build.yaml' | ||
- '.github/actions/**' | ||
- 'Dockerfile' | ||
- 'Makefile' | ||
- 'go.mod' | ||
- 'go.sum' | ||
- 'cmd/azure-keyvault-controller/**' | ||
- 'pkg/**' | ||
- '!docs/**' | ||
- '!crds/**' | ||
|
||
jobs: | ||
build-deploy: | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- uses: actions/checkout@master | ||
|
||
- name: Setup Golang | ||
uses: actions/setup-go@v1 | ||
with: | ||
go-version: '1.13.4' | ||
|
||
- name: Build | ||
uses: ./.github/actions/build | ||
env: | ||
AKV2K8S_CLIENT_ID: ${{ secrets.INT_TEST_CLIENT_ID }} | ||
AKV2K8S_CLIENT_SECRET: ${{ secrets.INT_TEST_CLIENT_SECRET }} | ||
AKV2K8S_CLIENT_TENANT_ID: ${{ secrets.INT_TEST_TENANT_ID }} | ||
AKV2K8S_AZURE_SUBSCRIPTION: ${{ secrets.INT_TEST_SUBSCRIPTION }} | ||
with: | ||
build-make-action: image-controller | ||
|
||
- name: Push | ||
uses: ./.github/actions/push | ||
with: | ||
push-make-action: push-controller | ||
docker-user: ${{ secrets.PRIVATE_REGISTRY_USERNAME }} | ||
docker-passw: ${{ secrets.PRIVATE_REGISTRY_PASSWORD }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Release Controller | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'controller-[0-9]+.[0-9]+.[0-9]+**' | ||
|
||
jobs: | ||
build-deploy: | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- uses: actions/checkout@master | ||
|
||
- name: Version | ||
run: make print-v-controller | ||
|
||
- name: Pull images from private repo | ||
run: | | ||
echo "${{ secrets.PRIVATE_REGISTRY_PASSWORD }}" | docker login -u ${{ secrets.PRIVATE_REGISTRY_USERNAME }} --password-stdin dokken.azurecr.io | ||
make pull-controller | ||
- name: Push images to public repo | ||
run: | | ||
echo "${{ secrets.PUBLIC_REGISTRY_PASSWORD }}" | docker login -u ${{ secrets.PUBLIC_REGISTRY_USERNAME }} --password-stdin | ||
make release-controller DOCKER_RELEASE_TAG=${GITHUB_REF##*/} | ||
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: pull request | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- '.github/workflows/**' | ||
- 'Makefile' | ||
- 'go.mod' | ||
- 'go.sum' | ||
- 'cmd/**' | ||
- 'pkg/**' | ||
- '!docs/**' | ||
- '!crds/**' | ||
|
||
jobs: | ||
build-deploy: | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- uses: actions/checkout@master | ||
|
||
- name: Setup Golang | ||
uses: actions/setup-go@v1 | ||
with: | ||
go-version: '1.13.4' | ||
|
||
- name: Test | ||
run: make test | ||
|
||
- name: Build docker images | ||
run: make build |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Build Vault Env | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- '*-patch' | ||
paths: | ||
- '.github/workflows/vaultenv-build.yaml' | ||
- '.github/actions/**' | ||
- 'Dockerfile' | ||
- 'Makefile' | ||
- 'go.mod' | ||
- 'go.sum' | ||
- 'cmd/azure-keyvault-env/**' | ||
- 'pkg/**' | ||
- '!docs/**' | ||
- '!crds/**' | ||
|
||
jobs: | ||
build-deploy: | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- uses: actions/checkout@master | ||
|
||
- name: Setup Golang | ||
uses: actions/setup-go@v1 | ||
with: | ||
go-version: '1.13.4' | ||
|
||
- name: Build | ||
uses: ./.github/actions/build | ||
env: | ||
AKV2K8S_CLIENT_ID: ${{ secrets.INT_TEST_CLIENT_ID }} | ||
AKV2K8S_CLIENT_SECRET: ${{ secrets.INT_TEST_CLIENT_SECRET }} | ||
AKV2K8S_CLIENT_TENANT_ID: ${{ secrets.INT_TEST_TENANT_ID }} | ||
AKV2K8S_AZURE_SUBSCRIPTION: ${{ secrets.INT_TEST_SUBSCRIPTION }} | ||
with: | ||
build-make-action: image-vaultenv | ||
|
||
- name: Push | ||
uses: ./.github/actions/push | ||
with: | ||
push-make-action: push-vaultenv | ||
docker-user: ${{ secrets.PRIVATE_REGISTRY_USERNAME }} | ||
docker-passw: ${{ secrets.PRIVATE_REGISTRY_PASSWORD }} |
Oops, something went wrong.