Skip to content

Commit

Permalink
Update yq
Browse files Browse the repository at this point in the history
  • Loading branch information
sjmiller609 authored May 31, 2024
1 parent 24afa91 commit 3802896
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/actions/argocd-update/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,35 +39,35 @@ runs:
git config --global user.email "admin+github@coredb.io"
git fetch origin ${{ inputs.branch }} && git checkout ${{ inputs.branch }} || git checkout -b ${{ inputs.branch }}
- name: Update conductor helm chart
uses: mikefarah/yq@v4.33.3
uses: mikefarah/yq@v4.44.1
with:
cmd: yq -i '.spec.source.targetRevision= "${{ inputs.version }}"' ${{ inputs.clone_into }}/${{ inputs.subdirectory }}/data-plane.yaml
- name: Update conductor image
uses: mikefarah/yq@v4.33.3
uses: mikefarah/yq@v4.44.1
with:
cmd: yq -i '(.spec.source.helm.parameters.[] | select(.name == "image.tag")).value = "${{ inputs.version }}"' ${{ inputs.clone_into }}/${{ inputs.subdirectory }}/data-plane.yaml
- name: Update dataplane webserver image
uses: mikefarah/yq@v4.33.3
uses: mikefarah/yq@v4.44.1
with:
cmd: yq -i '(.spec.source.helm.parameters.[] | select(.name == "image.tag")).value = "${{ inputs.version }}"' ${{ inputs.clone_into }}/${{ inputs.subdirectory }}/dataplane-webserver.yaml
- name: Update operator helm chart
uses: mikefarah/yq@v4.33.3
uses: mikefarah/yq@v4.44.1
with:
cmd: yq -i '.spec.source.targetRevision= "${{ inputs.version }}"' ${{ inputs.clone_into }}/${{ inputs.subdirectory }}/tembo-operator.yaml
- name: Update operator image
uses: mikefarah/yq@v4.33.3
uses: mikefarah/yq@v4.44.1
with:
cmd: yq -i '(.spec.source.helm.parameters.[] | select(.name == "controller.image.tag")).value = "${{ inputs.version }}"' ${{ inputs.clone_into }}/${{ inputs.subdirectory }}/tembo-operator.yaml
- name: Update pod-init image
uses: mikefarah/yq@v4.33.3
uses: mikefarah/yq@v4.44.1
with:
cmd: yq -i '(.spec.source.helm.parameters.[] | select(.name == "pod-init.image.tag")).value = "${{ inputs.version }}"' ${{ inputs.clone_into }}/${{ inputs.subdirectory }}/tembo-operator.yaml
- name: Update Tembo AI image
uses: mikefarah/yq@v4.33.3
uses: mikefarah/yq@v4.44.1
with:
cmd: yq -i '(.spec.source.helm.parameters.[] | select(.name == "inferenceGateway.image.tag")).value = "${{ inputs.version }}"' ${{ inputs.clone_into }}/${{ inputs.subdirectory }}/tembo-ai.yaml
- name: Update Tembo AI chart
uses: mikefarah/yq@v4.33.3
uses: mikefarah/yq@v4.44.1
with:
cmd: yq -i '.spec.source.targetRevision= "${{ inputs.version }}"' ${{ inputs.clone_into }}/${{ inputs.subdirectory }}/tembo-ai.yaml
- name: Git commit and push to remote
Expand Down

0 comments on commit 3802896

Please sign in to comment.