Skip to content

Commit

Permalink
modify release process to leverage plural pipelines
Browse files Browse the repository at this point in the history
will write a pipeline context file here that's deployed via CD
  • Loading branch information
michaeljguarino committed Aug 24, 2024
1 parent 1318492 commit e016c30
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
10 changes: 10 additions & 0 deletions plural/manifests/context.yaml
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

0 comments on commit e016c30

Please sign in to comment.