-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d2261c0
commit d11beaf
Showing
2 changed files
with
8 additions
and
8 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 |
---|---|---|
|
@@ -131,15 +131,15 @@ jobs: | |
- name: setup dependencies | ||
env: | ||
EKSCTL_VERSION: v0.98.0 | ||
HELMFILE_VERSION: '0.153.1' | ||
HELMFILE_VERSION: '0.155.1' | ||
SOPS_VERSION: v3.7.2 | ||
HELM_SECRETS_PLUGIN_VERSION: v3.8.3 | ||
HELM_DIFF_PLUGIN_VERSION: v3.7.0 | ||
run: | | ||
curl -fsSL -o eksctl.tar.gz https://github.com/weaveworks/eksctl/releases/download/${{ env.EKSCTL_VERSION }}/eksctl_Linux_amd64.tar.gz | ||
curl -fsSL -o helmfile.tar.gz https://github.com/helmfile/helmfile/releases/download/v${{ env.HELMFILE_VERSION }}/helmfile_${{ env.HELMFILE_VERSION }}_linux_amd64.tar.gz | ||
curl -fsSL -o sops https://github.com/mozilla/sops/releases/download/${{ env.SOPS_VERSION }}/sops-${{ env.SOPS_VERSION }}.linux | ||
helm plugin install https://github.com/jkroepke/helm-secrets --version ${{ env.HELM_SECRETS_PLUGIN_VERSION }} | ||
helm plugin install https://github.com/databus23/helm-diff --version ${{ env.HELM_DIFF_PLUGIN_VERSION }} | ||
|
@@ -161,15 +161,15 @@ jobs: | |
aws-region: ${{ inputs.awsRegion }} | ||
role-to-assume: ${{ inputs.awsRoleArn }} | ||
role-duration-seconds: ${{ inputs.awsSessionDuration }} | ||
|
||
# This parameter is needed otherwise this action is trying to tag session | ||
# which does not work for cross-account assume | ||
role-skip-session-tagging: true | ||
|
||
|
||
- name: setup kubeconfig | ||
run: aws eks update-kubeconfig --name ${{ inputs.eksClusterName }} $OPTIONAL_PARAMS | ||
|
||
- name: helmfile ${{ inputs.helmfileCommand }} | ||
run: | | ||
export $(echo ${{ inputs.envVariables }}) | ||
|
@@ -189,8 +189,8 @@ jobs: | |
else | ||
echo "color=#ff0000" >> $GITHUB_OUTPUT | ||
echo "emoji=red_circle" >> $GITHUB_OUTPUT | ||
fi | ||
fi | ||
- name: send result to slack | ||
if: always() && inputs.slackChannelId != '' | ||
uses: slackapi/[email protected] | ||
|
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