-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update GHA action versions used in our workflows (#749)
* Update GHA action versions used in our workflows Many of the GHA actions we reference in our workflows are using Node 16 and need to be updated to Node 20; others simply haven't been updated in a while and should be updated to the latest version. * Update eslint-annotate-action to v3.0.0 v3.0.0 has breaking changes according to its release notes, but it doesn't look like we're using anything that would be changed.
- Loading branch information
Showing
9 changed files
with
40 additions
and
40 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 |
---|---|---|
|
@@ -50,15 +50,15 @@ jobs: | |
ui-version: ${{ steps.get-ui-version.outputs.result }} | ||
steps: | ||
- name: Checkout lexbox repo | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3 | ||
with: | ||
path: lexbox | ||
- name: Run kustomize | ||
working-directory: lexbox/deployment/${{ inputs.k8s-environment }} | ||
run: | | ||
kubectl kustomize . -o resources.yaml | ||
- name: Checkout fleet repo | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3 | ||
with: | ||
repository: ${{ vars.FLEET_REPO }} | ||
ssh-key: ${{ secrets.FLEET_REPO_SSH_KEY }} | ||
|
@@ -68,16 +68,16 @@ jobs: | |
cp lexbox/deployment/${{ inputs.k8s-environment }}/resources.yaml fleet/${{ inputs.k8s-environment }}/ | ||
# this kustomization file is in the fleet repo and only modifies the image versions being used. | ||
- name: Update image version in fleet kustomization.yaml | ||
uses: mikefarah/[email protected] | ||
uses: mikefarah/yq@0b34c9a00de1c575a34eea05af1d956a525c4fc1 # v4.34.2 | ||
with: | ||
cmd: yq eval -i '(.images.[] | select(.name == "${{ inputs.image }}").newTag) = "${{ inputs.version }}"' "fleet/${{ inputs.k8s-environment }}/kustomization.yaml" | ||
- name: Get API version | ||
uses: mikefarah/[email protected] | ||
uses: mikefarah/yq@0b34c9a00de1c575a34eea05af1d956a525c4fc1 # v4.34.2 | ||
id: get-api-version | ||
with: | ||
cmd: yq '.images.[] | select(.name == "ghcr.io/sillsdev/lexbox-api").newTag' "fleet/${{ inputs.k8s-environment }}/kustomization.yaml" | ||
- name: Get UI version | ||
uses: mikefarah/[email protected] | ||
uses: mikefarah/yq@0b34c9a00de1c575a34eea05af1d956a525c4fc1 # v4.34.2 | ||
id: get-ui-version | ||
with: | ||
cmd: yq '.images.[] | select(.name == "ghcr.io/sillsdev/lexbox-ui").newTag' "fleet/${{ inputs.k8s-environment }}/kustomization.yaml" | ||
|
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