-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modify release process to leverage plural pipelines
will write a pipeline context file here that's deployed via CD
- Loading branch information
1 parent
1318492
commit e016c30
Showing
2 changed files
with
13 additions
and
5 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 |
---|---|---|
|
@@ -315,11 +315,9 @@ jobs: | |
with: | ||
persist-credentials: false | ||
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo | ||
- name: push chart | ||
uses: pluralsh/[email protected] | ||
with: | ||
path: ./plural/helm/plural | ||
release: ${{github.ref_name}} | ||
- name: update context | ||
run: | | ||
sed -i '' 's/version: .* # VERSION/version: ${{github.ref_name}} # VERSION/' plural/manifests/context.yaml | ||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v5 | ||
with: | ||
|
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,10 @@ | ||
apiVersion: deployments.plural.sh/v1alpha1 | ||
kind: PipelineContext | ||
metadata: | ||
name: plural | ||
spec: | ||
pipelineRef: | ||
name: plural | ||
namespace: infra | ||
context: | ||
version: sha-a1f4280 # VERSION |