forked from argoproj/argo-rollouts
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release-1.6' of https://github.com/argoproj/argo-rollouts…
… into release-1.6 # Conflicts: # .github/workflows/docker-publish.yml # .github/workflows/image-reuse.yaml # .github/workflows/release.yaml # go.mod # go.sum # manifests/crds/analysis-run-crd.yaml # manifests/crds/analysis-template-crd.yaml # manifests/crds/cluster-analysis-template-crd.yaml # manifests/crds/experiment-crd.yaml # manifests/crds/rollout-crd.yaml # manifests/install.yaml # rollout/controller.go
- Loading branch information
Showing
203 changed files
with
29,979 additions
and
2,971 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,39 @@ | ||
# Workflows | ||
|
||
| Workflow | Description | | ||
|---------------------|-----------------------------------------------------------------| | ||
| changelog.yml | Updates changelog when a release is published | | ||
| codeql.yaml | CodeQL analysis | | ||
| docker-publish.yaml | Build container image for PR's & publish for push events | | ||
| image-reuse.yaml | Build, push, and Sign container images | | ||
| go.yaml | lint, build, codegen | | ||
| pr-title-check.yaml | Lint PR for semantic information | | ||
| init-release.yaml | Build manifests and version then create a PR for release branch | | ||
| release.yaml | Build images, cli-binaries, provenances, and post actions | | ||
|
||
|
||
# Reusable workflows | ||
|
||
## image-reuse.yaml | ||
|
||
- The resuable workflow can be used to publish or build images with multiple container registries(Quay,GHCR, dockerhub), and then sign them with cosign when an image is published. | ||
- A GO version `must` be specified e.g. 1.19 | ||
- The image name for each registry *must* contain the tag. Note: multiple tags are allowed for each registry using a CSV type. | ||
- Multiple platforms can be specified e.g. linux/amd64,linux/arm64 | ||
- Images are not published by default. A boolean value must be set to `true` to push images. | ||
- An optional target can be specified. | ||
|
||
| Inputs | Description | Type | Required | Defaults | | ||
|-------------------|-------------------------------------|-------------|----------|-----------------| | ||
| go-version | Version of Go to be used | string | true | none | | ||
| quay_image_name | Full image name and tag | CSV, string | false | none | | ||
| ghcr_image_name | Full image name and tag | CSV, string | false | none | | ||
| docker_image_name | Full image name and tag | CSV, string | false | none | | ||
| platforms | Platforms to build (linux/amd64) | CSV, string | false | linux/amd64 | | ||
| push | Whether to push image/s to registry | boolean | false | false | | ||
| target | Target build stage | string | false | none | | ||
|
||
| Outputs | Description | Type | | ||
|-------------|------------------------------------------|-------| | ||
|image-digest | Image digest of image container created | string| | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,9 +46,9 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set up Go | ||
uses: actions/setup-go@v4 | ||
uses: actions/setup-go@v4.1.0 | ||
with: | ||
go-version: 1.19 | ||
go-version: '1.20' | ||
- uses: actions/[email protected] | ||
- name: Setup k3s | ||
env: | ||
|
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 |
---|---|---|
|
@@ -11,7 +11,7 @@ on: | |
- "master" | ||
env: | ||
# Golang version to use across CI steps | ||
GOLANG_VERSION: '1.19' | ||
GOLANG_VERSION: '1.20' | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
|
@@ -35,22 +35,22 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set up Go | ||
uses: actions/setup-go@v4 | ||
uses: actions/setup-go@v4.1.0 | ||
with: | ||
go-version: ${{ env.GOLANG_VERSION }} | ||
- name: Checkout code | ||
uses: actions/[email protected] | ||
- name: Run golangci-lint | ||
uses: golangci/golangci-lint-action@v3 | ||
with: | ||
version: v1.49.0 | ||
version: v1.53.3 | ||
args: --timeout 6m | ||
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set up Go | ||
uses: actions/setup-go@v4 | ||
uses: actions/setup-go@v4.1.0 | ||
with: | ||
go-version: ${{ env.GOLANG_VERSION }} | ||
id: go | ||
|
@@ -89,7 +89,7 @@ jobs: | |
path: coverage.out | ||
|
||
- name: Upload code coverage information to codecov.io | ||
uses: codecov/[email protected].1 | ||
uses: codecov/[email protected].4 | ||
with: | ||
file: coverage.out | ||
|
||
|
@@ -102,7 +102,7 @@ jobs: | |
- name: Checkout code | ||
uses: actions/[email protected] | ||
- name: Setup Golang | ||
uses: actions/setup-go@v4 | ||
uses: actions/setup-go@v4.1.0 | ||
with: | ||
go-version: ${{ env.GOLANG_VERSION }} | ||
# k8s codegen generates files into GOPATH location instead of the GitHub git checkout location | ||
|
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,11 @@ | ||
version: 2 | ||
formats: all | ||
mkdocs: | ||
fail_on_warning: false | ||
python: | ||
install: | ||
- requirements: docs/requirements.txt | ||
build: | ||
os: "ubuntu-22.04" | ||
tools: | ||
python: "3.7" |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.