Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into multi-doc-values
Signed-off-by: Jan-Otto Kröpke <github@jkroepke.de>
- Loading branch information
Showing
174 changed files
with
3,216 additions
and
1,472 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,43 +1,14 @@ | ||
--- | ||
|
||
# This file can be removed when Helm no longer uses CircleCI on any release | ||
# branches. Once CircleCI is turned off this file can be removed. | ||
version: 2 | ||
|
||
jobs: | ||
build: | ||
working_directory: ~/helm.sh/helm | ||
docker: | ||
- image: cimg/go:1.18 | ||
|
||
auth: | ||
username: $DOCKER_USER | ||
password: $DOCKER_PASS | ||
|
||
environment: | ||
GOCACHE: "/tmp/go/cache" | ||
GOLANGCI_LINT_VERSION: "1.46.2" | ||
|
||
steps: | ||
- checkout | ||
- run: | ||
name: install test dependencies | ||
command: .circleci/bootstrap.sh | ||
- run: | ||
name: test style | ||
command: make test-style | ||
- run: | ||
name: test | ||
command: make test-coverage | ||
- run: | ||
name: test build | ||
command: make | ||
- deploy: | ||
name: deploy | ||
command: .circleci/deploy.sh | ||
|
||
workflows: | ||
version: 2 | ||
build: | ||
jobs: | ||
- build: | ||
filters: | ||
tags: | ||
only: /.*/ |
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
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,75 @@ | ||
name: release | ||
on: | ||
create: | ||
tags: | ||
- v* | ||
push: | ||
branches: | ||
- main | ||
|
||
# Note the only differences between release and canary-release jobs are: | ||
# - only canary passes --overwrite flag | ||
# - the VERSION make variable passed to 'make dist checksum' is expected to | ||
# be "canary" if the job is triggered by a push to "main" branch. If the | ||
# job is triggered by a tag push, VERSION should be the tag ref. | ||
jobs: | ||
release: | ||
if: startsWith(github.ref, 'refs/tags/v') | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout source code | ||
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # pin@v3.2.0 | ||
|
||
- name: Setup Go | ||
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # pin@3.5.0 | ||
with: | ||
go-version: '1.20' | ||
|
||
- name: Run unit tests | ||
run: make test-coverage | ||
|
||
- name: Build Helm Binaries | ||
run: | | ||
make build-cross | ||
make dist checksum VERSION="${{ github.ref_name }}" | ||
- name: Upload Binaries | ||
uses: bacongobbler/azure-blob-storage-upload@50f7d898b7697e864130ea04c303ca38b5751c50 # pin@3.0.0 | ||
env: | ||
AZURE_STORAGE_CONNECTION_STRING: "${{ secrets.AZURE_STORAGE_CONNECTION_STRING }}" | ||
AZURE_STORAGE_CONTAINER_NAME: "${{ secrets.AZURE_STORAGE_CONTAINER_NAME }}" | ||
with: | ||
source_dir: _dist | ||
container_name: ${{ secrets.AZURE_STORAGE_CONTAINER_NAME }} | ||
connection_string: ${{ secrets.AZURE_STORAGE_CONNECTION_STRING }} | ||
extra_args: '--pattern helm-*' | ||
|
||
canary-release: | ||
runs-on: ubuntu-latest | ||
if: github.ref == 'refs/heads/main' | ||
steps: | ||
- name: Checkout source code | ||
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # pin@v3.2.0 | ||
|
||
- name: Setup Go | ||
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # pin@3.5.0 | ||
with: | ||
go-version: '1.20' | ||
|
||
- name: Run unit tests | ||
run: make test-coverage | ||
|
||
- name: Build Helm Binaries | ||
run: | | ||
make build-cross | ||
make dist checksum VERSION="canary" | ||
- name: Upload Binaries | ||
uses: bacongobbler/azure-blob-storage-upload@50f7d898b7697e864130ea04c303ca38b5751c50 # pin@3.0.0 | ||
with: | ||
source_dir: _dist | ||
container_name: ${{ secrets.AZURE_STORAGE_CONTAINER_NAME }} | ||
connection_string: ${{ secrets.AZURE_STORAGE_CONNECTION_STRING }} | ||
extra_args: '--pattern helm-*' | ||
# WARNING: this will overwrite existing blobs in your blob storage | ||
overwrite: '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
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
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.