-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feat-upgrate-to-kb-gov4' into 'main'
feat(v1.0.0): initial stable release See merge request cloudnative/go/cidr-allocator!16
- Loading branch information
Showing
60 changed files
with
1,462 additions
and
1,336 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Release Charts | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
release: | ||
# depending on default permission settings for your org (contents being read-only or read-write for workloads), you will have to add permissions | ||
# see: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token | ||
permissions: | ||
contents: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Configure Git | ||
run: | | ||
git config user.name "$GITHUB_ACTOR" | ||
git config user.email "$GITHUB_ACTOR@users.noreply.github.com" | ||
- name: Install Helm | ||
uses: azure/setup-helm@v3 | ||
|
||
- name: Run chart-releaser | ||
uses: helm/chart-releaser-action@v1.6.0 | ||
with: | ||
charts_dir: install/kubernetes | ||
env: | ||
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
CR_SKIP_EXISTING: 'true' |
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 |
---|---|---|
@@ -1,21 +1,31 @@ | ||
include: | ||
- project: cloudnative/gitlab/gitlabci/kaniko-image-ci | ||
ref: v1.X | ||
file: .kaniko.gitlab-ci.yml | ||
stages: | ||
- image | ||
- helm | ||
|
||
variables: | ||
IMAGE_REPOSITORY: artifactory.cloud.statcan.ca/cwmd-cns-docker-local/cidr-allocator | ||
KANIKO_OPTIONS: "--build-arg IMAGE_REPOSITORY=artifactory.cloud.statcan.ca/docker" | ||
# kaniko options | ||
DOCKERFILE: "./Dockerfile" | ||
DOCKLE_OPTIONS: "--ignore CIS-DI-0001" | ||
HADOLINT_IGNORE: "--ignore DL3018 --ignore DL3026" | ||
# helm-chart options | ||
CHART_DIRS: install/kubernetes | ||
|
||
stages: | ||
- version | ||
- build | ||
- scan | ||
- push | ||
- tag | ||
kaniko: | ||
stage: image | ||
needs: [] | ||
trigger: | ||
include: | ||
- project: cloudnative/gitlab/gitlabci/kaniko-image-ci | ||
ref: v1.X | ||
file: .kaniko.gitlab-ci.yml | ||
strategy: depend | ||
|
||
trivy: | ||
allow_failure: true | ||
helm: | ||
stage: helm | ||
needs: [] | ||
trigger: | ||
include: | ||
- project: cloudnative/gitlab/gitlabci/helm-chart | ||
ref: v3.x | ||
file: .helm.gitlab-ci.yml | ||
strategy: depend |
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
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
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
Oops, something went wrong.