File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 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
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:"
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
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
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 }}"
Original file line number Diff line number Diff line change 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
1818SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) "
1919source " ${SCRIPT_DIR} /../common.sh"
Original file line number Diff line number Diff line change 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
1818SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) "
1919source " ${SCRIPT_DIR} /../common.sh"
You can’t perform that action at this time.
0 commit comments