Skip to content

Commit 92d5178

Browse files
committed
chore: upgrade eksctl
1 parent 9e222a3 commit 92d5178

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/integration-aws.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ jobs:
4141
GITHUB_ACTIONS_ROLE_ARN: "arn:aws:iam::528757803597:role/github-actions-role" # Replace with actual role ARN
4242
OIDC_PROVIDER_ARN: "arn:aws:iam::528757803597:oidc-provider/token.actions.githubusercontent.com"
4343
CLUSTER_NAME: "nvs-d${{ github.run_id }}"
44-
K8S_VERSION: "1.31"
44+
K8S_VERSION: "1.34"
45+
EKSCTL_VERSION: "0.216.0"
4546
GPU_NODE_COUNT: "1"
4647
GPU_AVAILABILITY_ZONE: "us-west-2e"
4748

@@ -66,7 +67,7 @@ jobs:
6667
# Install eksctl
6768
- name: Install eksctl
6869
run: |
69-
set -euo pipefail
70+
set -euox pipefail
7071
# Check if eksctl is already installed
7172
if command -v eksctl >/dev/null 2>&1; then
7273
echo "eksctl is already installed:"
@@ -75,7 +76,6 @@ jobs:
7576
fi
7677
7778
echo "Installing eksctl..."
78-
EKSCTL_VERSION="0.194.0" # Pin to specific version
7979
curl -LO "https://github.com/eksctl-io/eksctl/releases/download/v${EKSCTL_VERSION}/eksctl_linux_amd64.tar.gz"
8080
tar -xzf eksctl_linux_amd64.tar.gz
8181
chmod +x eksctl
@@ -87,10 +87,9 @@ jobs:
8787
# Cluster
8888
- name: Create Cluster
8989
id: cluster
90-
shell: bash
91-
continue-on-error: true
90+
shell: bash
9291
run: |
93-
set -euo pipefail
92+
set -euox pipefail
9493
tests/uat/aws/create-eks-cluster.sh
9594
9695
# Connect
@@ -99,7 +98,7 @@ jobs:
9998
if: steps.cluster.outcome == 'success'
10099
shell: bash
101100
run: |
102-
set -euo pipefail
101+
set -euox pipefail
103102
# Check if kubectl is already installed
104103
if command -v kubectl >/dev/null 2>&1; then
105104
echo "kubectl is already installed:"
@@ -119,6 +118,7 @@ jobs:
119118
# Image Tag
120119
- name: Compute ref name with short SHA
121120
id: ref-name
121+
if: steps.cluster.outcome == 'success'
122122
run: |
123123
if [[ "${{ github.ref_type }}" == "tag" ]]; then
124124
SAFE_REF="${{ github.ref_name }}"

tests/uat/aws/create-eks-cluster.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515

16-
set -euo pipefail
16+
set -euox pipefail
1717

1818
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
1919
source "${SCRIPT_DIR}/../common.sh"

tests/uat/aws/delete-eks-cluster.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515

16-
set -euo pipefail
16+
set -euox pipefail
1717

1818
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
1919
source "${SCRIPT_DIR}/../common.sh"

0 commit comments

Comments
 (0)