File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed
e2e/capl-cluster-flavors/kubeadm-flatcar-vpcless-capl-cluster Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ kubeadm-full:
2727# - templates/flavors/kubeadm/konnectivity/*
2828kubeadm-flatcar :
2929 - templates/flavors/kubeadm/flatcar/*
30+ - e2e/capl-cluster-flavors/kubeadm-flatcar-vpcless-capl-cluster/*
3031
3132# k3s:
3233# - templates/flavors/k3s/default/*
Original file line number Diff line number Diff line change @@ -10,6 +10,26 @@ metadata:
1010 kubeadm-flatcar :
1111 flavors :
1212spec :
13+ catch :
14+ - script :
15+ env :
16+ - name : TARGET_API
17+ value : api.linode.com
18+ - name : TARGET_API_VERSION
19+ value : v4
20+ - name : URI
21+ value : images
22+ - name : LINODE_REGION
23+ value : (env('LINODE_REGION'))
24+ content : |
25+ set -e
26+ # Get the latest version on Alpha channel.
27+ # NOTE: This can be changed to Beta or Stable when Akamai support will come on these channels.
28+ IMAGE_ID=$(cat image-id)
29+ curl -s --request DELETE \
30+ --url "https://${TARGET_API}/${TARGET_API_VERSION}/${URI}/${IMAGE_ID}" \
31+ --header "Authorization: Bearer ${LINODE_TOKEN}" \
32+ --header "accept: application/json"
1333 bindings :
1434 # A short identifier for the E2E test run
1535 - name : run
You can’t perform that action at this time.
0 commit comments