Skip to content

Commit

Permalink
e2e vcd renaming
Browse files Browse the repository at this point in the history
Signed-off-by: borg-z <me@nikolay-z.top>
  • Loading branch information
borg-z committed Aug 2, 2024
1 parent 636531a commit 6e63832
Show file tree
Hide file tree
Showing 16 changed files with 170 additions and 170 deletions.
8 changes: 4 additions & 4 deletions .github/ci_templates/e2e_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
{!{- if eq $ctx.provider "vsphere" -}!}
{!{- $layout = "Standard" -}!}
{!{- end -}!}
{!{- if eq $ctx.provider "vclouddirector" -}!}
{!{- if eq $ctx.provider "vcd" -}!}
{!{- $layout = "Standard" -}!}
{!{- end -}!}
{!{- if eq $ctx.provider "static" -}!}
Expand Down Expand Up @@ -86,7 +86,7 @@
{!{- else if eq $provider "vsphere" }!}
LAYOUT_VSPHERE_PASSWORD: ${{ secrets.LAYOUT_VSPHERE_PASSWORD }}
LAYOUT_VSPHERE_BASE_DOMAIN: ${{ secrets.LAYOUT_VSPHERE_BASE_DOMAIN }}
{!{- else if eq $provider "vclouddirector" }!}
{!{- else if eq $provider "vcd" }!}
LAYOUT_VCD_PASSWORD: ${{ secrets.LAYOUT_VCD_PASSWORD }}
LAYOUT_VCD_USERNAME: ${{ secrets.LAYOUT_VCD_USERNAME }}
LAYOUT_STATIC_BASTION_IP: 80.249.129.56
Expand Down Expand Up @@ -136,7 +136,7 @@ run: |
bastion_ip_file=""
if [[ "${PROVIDER}" == "Static" ]] ; then
bastion_ip_file="${DHCTL_LOG_FILE}-ssh-bastion-${PROVIDER}-${LAYOUT}-${CRI}-${KUBERNETES_VERSION}"
elif [[ "${PROVIDER}" == "vCloudDirector" ]] ; then
elif [[ "${PROVIDER}" == "vcd" ]] ; then
bastion_ip_file="${DHCTL_LOG_FILE}-${PROVIDER}-${LAYOUT}-${CRI}-${KUBERNETES_VERSION}"
fi

Expand Down Expand Up @@ -244,7 +244,7 @@ run: |
{!{- else if eq $provider "vsphere" }!}
-e LAYOUT_VSPHERE_PASSWORD=${LAYOUT_VSPHERE_PASSWORD:-not_provided} \
-e LAYOUT_VSPHERE_BASE_DOMAIN=${LAYOUT_VSPHERE_BASE_DOMAIN:-not_provided} \
{!{- else if eq $provider "vclouddirector" }!}
{!{- else if eq $provider "vcd" }!}
-e LAYOUT_VCD_PASSWORD=${LAYOUT_VCD_PASSWORD:-not_provided} \
-e LAYOUT_VCD_USERNAME=${LAYOUT_VCD_USERNAME:-not_provided} \
-e LAYOUT_VCD_SERVER=${LAYOUT_VCD_SERVER:-not_provided} \
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/js/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const labels = {
'e2e/run/gcp': { type: 'e2e-run', provider: 'gcp' },
'e2e/run/openstack': { type: 'e2e-run', provider: 'openstack' },
'e2e/run/vsphere': { type: 'e2e-run', provider: 'vsphere' },
'e2e/run/vcd': { type: 'e2e-run', provider: 'vclouddirector' },
'e2e/run/vcd': { type: 'e2e-run', provider: 'vcd' },
'e2e/run/yandex-cloud': { type: 'e2e-run', provider: 'yandex-cloud' },
'e2e/run/static': { type: 'e2e-run', provider: 'static' },

Expand Down
2 changes: 1 addition & 1 deletion .github/workflow_templates/e2e-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
{!{/* Jobs for each CRI and Kubernetes version */}!}
{!{- $criName := "Containerd" -}!}
{!{- $kubernetesVersion := "1.27" -}!}
{!{- $providerNames := slice "AWS" "Azure" "GCP" "Yandex.Cloud" "OpenStack" "vSphere" "vCloudDirector" "Static" -}!}
{!{- $providerNames := slice "AWS" "Azure" "GCP" "Yandex.Cloud" "OpenStack" "vSphere" "VCD" "Static" -}!}
{!{- if $enableWorkflowOnTestRepos -}!}
{!{- $providerNames = slice "AWS" "OpenStack" "Azure" -}!}
{!{- end -}!}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflow_templates/e2e.abort.multi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ $CI_COMMIT_REF_SLUG is a tag of published deckhouse images. It has a form

*/}!}

{!{- $providerNames := slice "AWS" "Azure" "GCP" "Yandex.Cloud" "OpenStack" "vSphere" "vCloudDirector" "Static" "EKS" -}!}
{!{- $providerNames := slice "AWS" "Azure" "GCP" "Yandex.Cloud" "OpenStack" "vSphere" "VCD" "Static" "EKS" -}!}
{!{- $criNames := slice "Containerd" -}!}
{!{- $kubernetesVersions := slice "1.26" "1.27" "1.28" "1.29" "1.30" "Automatic" -}!}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflow_templates/e2e.multi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ $CI_COMMIT_REF_SLUG is a tag of published deckhouse images. It has a form

*/}!}

{!{- $providerNames := slice "AWS" "Azure" "GCP" "Yandex.Cloud" "OpenStack" "vSphere" "vCloudDirector" "Static" "EKS" -}!}
{!{- $providerNames := slice "AWS" "Azure" "GCP" "Yandex.Cloud" "OpenStack" "vSphere" "VCD" "Static" "EKS" -}!}
{!{- $criNames := slice "Containerd" -}!}
{!{- $kubernetesVersions := slice "1.26" "1.27" "1.28" "1.29" "1.30" "Automatic" -}!}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#

# <template: e2e_workflow_template>
name: 'destroy cluster: vCloudDirector'
name: 'destroy cluster: VCD'
on:
workflow_dispatch:
inputs:
Expand Down Expand Up @@ -74,10 +74,10 @@ jobs:

# <template: e2e_run_job_template>
run_containerd_1_26:
name: "destroy cluster: vCloudDirector, Containerd, Kubernetes 1.26"
name: "destroy cluster: VCD, Containerd, Kubernetes 1.26"
if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.26' && github.event.inputs.layout == 'Standard' }}
env:
PROVIDER: vCloudDirector
PROVIDER: VCD
CRI: Containerd
LAYOUT: Standard
KUBERNETES_VERSION: "1.26"
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
github-token: ${{secrets.BOATSWAIN_GITHUB_TOKEN}}
retries: 3
script: |
const name = 'destroy cluster: vCloudDirector, Containerd, Kubernetes 1.26';
const name = 'destroy cluster: VCD, Containerd, Kubernetes 1.26';
const ci = require('./.github/scripts/js/ci');
return await ci.updateCommentOnStart({github, context, core, name})
Expand Down Expand Up @@ -222,7 +222,7 @@ jobs:
if: ${{ success() }}
id: cleanup_cluster
env:
PROVIDER: vCloudDirector
PROVIDER: VCD
CRI: Containerd
LAYOUT: Standard
KUBERNETES_VERSION: "1.26"
Expand Down Expand Up @@ -337,7 +337,7 @@ jobs:
retries: 3
script: |
const statusConfig = 'job,separate';
const name = 'destroy cluster: vCloudDirector, Containerd, Kubernetes 1.26';
const name = 'destroy cluster: VCD, Containerd, Kubernetes 1.26';
const needsContext = JSON.parse(process.env.NEEDS_CONTEXT);
const jobContext = JSON.parse(process.env.JOB_CONTEXT);
const stepsContext = JSON.parse(process.env.STEPS_CONTEXT);
Expand All @@ -358,10 +358,10 @@ jobs:

# <template: e2e_run_job_template>
run_containerd_1_27:
name: "destroy cluster: vCloudDirector, Containerd, Kubernetes 1.27"
name: "destroy cluster: VCD, Containerd, Kubernetes 1.27"
if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.27' && github.event.inputs.layout == 'Standard' }}
env:
PROVIDER: vCloudDirector
PROVIDER: VCD
CRI: Containerd
LAYOUT: Standard
KUBERNETES_VERSION: "1.27"
Expand Down Expand Up @@ -392,7 +392,7 @@ jobs:
github-token: ${{secrets.BOATSWAIN_GITHUB_TOKEN}}
retries: 3
script: |
const name = 'destroy cluster: vCloudDirector, Containerd, Kubernetes 1.27';
const name = 'destroy cluster: VCD, Containerd, Kubernetes 1.27';
const ci = require('./.github/scripts/js/ci');
return await ci.updateCommentOnStart({github, context, core, name})
Expand Down Expand Up @@ -506,7 +506,7 @@ jobs:
if: ${{ success() }}
id: cleanup_cluster
env:
PROVIDER: vCloudDirector
PROVIDER: VCD
CRI: Containerd
LAYOUT: Standard
KUBERNETES_VERSION: "1.27"
Expand Down Expand Up @@ -621,7 +621,7 @@ jobs:
retries: 3
script: |
const statusConfig = 'job,separate';
const name = 'destroy cluster: vCloudDirector, Containerd, Kubernetes 1.27';
const name = 'destroy cluster: VCD, Containerd, Kubernetes 1.27';
const needsContext = JSON.parse(process.env.NEEDS_CONTEXT);
const jobContext = JSON.parse(process.env.JOB_CONTEXT);
const stepsContext = JSON.parse(process.env.STEPS_CONTEXT);
Expand All @@ -642,10 +642,10 @@ jobs:

# <template: e2e_run_job_template>
run_containerd_1_28:
name: "destroy cluster: vCloudDirector, Containerd, Kubernetes 1.28"
name: "destroy cluster: VCD, Containerd, Kubernetes 1.28"
if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.28' && github.event.inputs.layout == 'Standard' }}
env:
PROVIDER: vCloudDirector
PROVIDER: VCD
CRI: Containerd
LAYOUT: Standard
KUBERNETES_VERSION: "1.28"
Expand Down Expand Up @@ -676,7 +676,7 @@ jobs:
github-token: ${{secrets.BOATSWAIN_GITHUB_TOKEN}}
retries: 3
script: |
const name = 'destroy cluster: vCloudDirector, Containerd, Kubernetes 1.28';
const name = 'destroy cluster: VCD, Containerd, Kubernetes 1.28';
const ci = require('./.github/scripts/js/ci');
return await ci.updateCommentOnStart({github, context, core, name})
Expand Down Expand Up @@ -790,7 +790,7 @@ jobs:
if: ${{ success() }}
id: cleanup_cluster
env:
PROVIDER: vCloudDirector
PROVIDER: VCD
CRI: Containerd
LAYOUT: Standard
KUBERNETES_VERSION: "1.28"
Expand Down Expand Up @@ -905,7 +905,7 @@ jobs:
retries: 3
script: |
const statusConfig = 'job,separate';
const name = 'destroy cluster: vCloudDirector, Containerd, Kubernetes 1.28';
const name = 'destroy cluster: VCD, Containerd, Kubernetes 1.28';
const needsContext = JSON.parse(process.env.NEEDS_CONTEXT);
const jobContext = JSON.parse(process.env.JOB_CONTEXT);
const stepsContext = JSON.parse(process.env.STEPS_CONTEXT);
Expand All @@ -926,10 +926,10 @@ jobs:

# <template: e2e_run_job_template>
run_containerd_1_29:
name: "destroy cluster: vCloudDirector, Containerd, Kubernetes 1.29"
name: "destroy cluster: VCD, Containerd, Kubernetes 1.29"
if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.29' && github.event.inputs.layout == 'Standard' }}
env:
PROVIDER: vCloudDirector
PROVIDER: VCD
CRI: Containerd
LAYOUT: Standard
KUBERNETES_VERSION: "1.29"
Expand Down Expand Up @@ -960,7 +960,7 @@ jobs:
github-token: ${{secrets.BOATSWAIN_GITHUB_TOKEN}}
retries: 3
script: |
const name = 'destroy cluster: vCloudDirector, Containerd, Kubernetes 1.29';
const name = 'destroy cluster: VCD, Containerd, Kubernetes 1.29';
const ci = require('./.github/scripts/js/ci');
return await ci.updateCommentOnStart({github, context, core, name})
Expand Down Expand Up @@ -1074,7 +1074,7 @@ jobs:
if: ${{ success() }}
id: cleanup_cluster
env:
PROVIDER: vCloudDirector
PROVIDER: VCD
CRI: Containerd
LAYOUT: Standard
KUBERNETES_VERSION: "1.29"
Expand Down Expand Up @@ -1189,7 +1189,7 @@ jobs:
retries: 3
script: |
const statusConfig = 'job,separate';
const name = 'destroy cluster: vCloudDirector, Containerd, Kubernetes 1.29';
const name = 'destroy cluster: VCD, Containerd, Kubernetes 1.29';
const needsContext = JSON.parse(process.env.NEEDS_CONTEXT);
const jobContext = JSON.parse(process.env.JOB_CONTEXT);
const stepsContext = JSON.parse(process.env.STEPS_CONTEXT);
Expand All @@ -1210,10 +1210,10 @@ jobs:

# <template: e2e_run_job_template>
run_containerd_1_30:
name: "destroy cluster: vCloudDirector, Containerd, Kubernetes 1.30"
name: "destroy cluster: VCD, Containerd, Kubernetes 1.30"
if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.30' && github.event.inputs.layout == 'Standard' }}
env:
PROVIDER: vCloudDirector
PROVIDER: VCD
CRI: Containerd
LAYOUT: Standard
KUBERNETES_VERSION: "1.30"
Expand Down Expand Up @@ -1244,7 +1244,7 @@ jobs:
github-token: ${{secrets.BOATSWAIN_GITHUB_TOKEN}}
retries: 3
script: |
const name = 'destroy cluster: vCloudDirector, Containerd, Kubernetes 1.30';
const name = 'destroy cluster: VCD, Containerd, Kubernetes 1.30';
const ci = require('./.github/scripts/js/ci');
return await ci.updateCommentOnStart({github, context, core, name})
Expand Down Expand Up @@ -1358,7 +1358,7 @@ jobs:
if: ${{ success() }}
id: cleanup_cluster
env:
PROVIDER: vCloudDirector
PROVIDER: VCD
CRI: Containerd
LAYOUT: Standard
KUBERNETES_VERSION: "1.30"
Expand Down Expand Up @@ -1473,7 +1473,7 @@ jobs:
retries: 3
script: |
const statusConfig = 'job,separate';
const name = 'destroy cluster: vCloudDirector, Containerd, Kubernetes 1.30';
const name = 'destroy cluster: VCD, Containerd, Kubernetes 1.30';
const needsContext = JSON.parse(process.env.NEEDS_CONTEXT);
const jobContext = JSON.parse(process.env.JOB_CONTEXT);
const stepsContext = JSON.parse(process.env.STEPS_CONTEXT);
Expand All @@ -1494,10 +1494,10 @@ jobs:

# <template: e2e_run_job_template>
run_containerd_automatic:
name: "destroy cluster: vCloudDirector, Containerd, Kubernetes Automatic"
name: "destroy cluster: VCD, Containerd, Kubernetes Automatic"
if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == 'Automatic' && github.event.inputs.layout == 'Standard' }}
env:
PROVIDER: vCloudDirector
PROVIDER: VCD
CRI: Containerd
LAYOUT: Standard
KUBERNETES_VERSION: "Automatic"
Expand Down Expand Up @@ -1528,7 +1528,7 @@ jobs:
github-token: ${{secrets.BOATSWAIN_GITHUB_TOKEN}}
retries: 3
script: |
const name = 'destroy cluster: vCloudDirector, Containerd, Kubernetes Automatic';
const name = 'destroy cluster: VCD, Containerd, Kubernetes Automatic';
const ci = require('./.github/scripts/js/ci');
return await ci.updateCommentOnStart({github, context, core, name})
Expand Down Expand Up @@ -1642,7 +1642,7 @@ jobs:
if: ${{ success() }}
id: cleanup_cluster
env:
PROVIDER: vCloudDirector
PROVIDER: VCD
CRI: Containerd
LAYOUT: Standard
KUBERNETES_VERSION: "Automatic"
Expand Down Expand Up @@ -1757,7 +1757,7 @@ jobs:
retries: 3
script: |
const statusConfig = 'job,separate';
const name = 'destroy cluster: vCloudDirector, Containerd, Kubernetes Automatic';
const name = 'destroy cluster: VCD, Containerd, Kubernetes Automatic';
const needsContext = JSON.parse(process.env.NEEDS_CONTEXT);
const jobContext = JSON.parse(process.env.JOB_CONTEXT);
const stepsContext = JSON.parse(process.env.STEPS_CONTEXT);
Expand All @@ -1784,7 +1784,7 @@ jobs:
runs-on: ubuntu-latest
env:
JOB_NAMES: |
{"run_containerd_1_26":"destroy cluster: vCloudDirector, Containerd, Kubernetes 1.26","run_containerd_1_27":"destroy cluster: vCloudDirector, Containerd, Kubernetes 1.27","run_containerd_1_28":"destroy cluster: vCloudDirector, Containerd, Kubernetes 1.28","run_containerd_1_29":"destroy cluster: vCloudDirector, Containerd, Kubernetes 1.29","run_containerd_1_30":"destroy cluster: vCloudDirector, Containerd, Kubernetes 1.30","run_containerd_automatic":"destroy cluster: vCloudDirector, Containerd, Kubernetes Automatic"}
{"run_containerd_1_26":"destroy cluster: VCD, Containerd, Kubernetes 1.26","run_containerd_1_27":"destroy cluster: VCD, Containerd, Kubernetes 1.27","run_containerd_1_28":"destroy cluster: VCD, Containerd, Kubernetes 1.28","run_containerd_1_29":"destroy cluster: VCD, Containerd, Kubernetes 1.29","run_containerd_1_30":"destroy cluster: VCD, Containerd, Kubernetes 1.30","run_containerd_automatic":"destroy cluster: VCD, Containerd, Kubernetes Automatic"}
steps:

# <template: checkout_step>
Expand All @@ -1806,7 +1806,7 @@ jobs:
retries: 3
script: |
const statusConfig = 'workflow,final,no-skipped,restore-separate';
const name = 'destroy cluster: vCloudDirector';
const name = 'destroy cluster: VCD';
const needsContext = JSON.parse(process.env.NEEDS_CONTEXT);
const jobContext = JSON.parse(process.env.JOB_CONTEXT);
const stepsContext = JSON.parse(process.env.STEPS_CONTEXT);
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/e2e-aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ jobs:
bastion_ip_file=""
if [[ "${PROVIDER}" == "Static" ]] ; then
bastion_ip_file="${DHCTL_LOG_FILE}-ssh-bastion-${PROVIDER}-${LAYOUT}-${CRI}-${KUBERNETES_VERSION}"
elif [[ "${PROVIDER}" == "vCloudDirector" ]] ; then
elif [[ "${PROVIDER}" == "vcd" ]] ; then
bastion_ip_file="${DHCTL_LOG_FILE}-${PROVIDER}-${LAYOUT}-${CRI}-${KUBERNETES_VERSION}"
fi
Expand Down Expand Up @@ -937,7 +937,7 @@ jobs:
bastion_ip_file=""
if [[ "${PROVIDER}" == "Static" ]] ; then
bastion_ip_file="${DHCTL_LOG_FILE}-ssh-bastion-${PROVIDER}-${LAYOUT}-${CRI}-${KUBERNETES_VERSION}"
elif [[ "${PROVIDER}" == "vCloudDirector" ]] ; then
elif [[ "${PROVIDER}" == "vcd" ]] ; then
bastion_ip_file="${DHCTL_LOG_FILE}-${PROVIDER}-${LAYOUT}-${CRI}-${KUBERNETES_VERSION}"
fi
Expand Down Expand Up @@ -1408,7 +1408,7 @@ jobs:
bastion_ip_file=""
if [[ "${PROVIDER}" == "Static" ]] ; then
bastion_ip_file="${DHCTL_LOG_FILE}-ssh-bastion-${PROVIDER}-${LAYOUT}-${CRI}-${KUBERNETES_VERSION}"
elif [[ "${PROVIDER}" == "vCloudDirector" ]] ; then
elif [[ "${PROVIDER}" == "vcd" ]] ; then
bastion_ip_file="${DHCTL_LOG_FILE}-${PROVIDER}-${LAYOUT}-${CRI}-${KUBERNETES_VERSION}"
fi
Expand Down Expand Up @@ -1879,7 +1879,7 @@ jobs:
bastion_ip_file=""
if [[ "${PROVIDER}" == "Static" ]] ; then
bastion_ip_file="${DHCTL_LOG_FILE}-ssh-bastion-${PROVIDER}-${LAYOUT}-${CRI}-${KUBERNETES_VERSION}"
elif [[ "${PROVIDER}" == "vCloudDirector" ]] ; then
elif [[ "${PROVIDER}" == "vcd" ]] ; then
bastion_ip_file="${DHCTL_LOG_FILE}-${PROVIDER}-${LAYOUT}-${CRI}-${KUBERNETES_VERSION}"
fi
Expand Down Expand Up @@ -2350,7 +2350,7 @@ jobs:
bastion_ip_file=""
if [[ "${PROVIDER}" == "Static" ]] ; then
bastion_ip_file="${DHCTL_LOG_FILE}-ssh-bastion-${PROVIDER}-${LAYOUT}-${CRI}-${KUBERNETES_VERSION}"
elif [[ "${PROVIDER}" == "vCloudDirector" ]] ; then
elif [[ "${PROVIDER}" == "vcd" ]] ; then
bastion_ip_file="${DHCTL_LOG_FILE}-${PROVIDER}-${LAYOUT}-${CRI}-${KUBERNETES_VERSION}"
fi
Expand Down Expand Up @@ -2821,7 +2821,7 @@ jobs:
bastion_ip_file=""
if [[ "${PROVIDER}" == "Static" ]] ; then
bastion_ip_file="${DHCTL_LOG_FILE}-ssh-bastion-${PROVIDER}-${LAYOUT}-${CRI}-${KUBERNETES_VERSION}"
elif [[ "${PROVIDER}" == "vCloudDirector" ]] ; then
elif [[ "${PROVIDER}" == "vcd" ]] ; then
bastion_ip_file="${DHCTL_LOG_FILE}-${PROVIDER}-${LAYOUT}-${CRI}-${KUBERNETES_VERSION}"
fi
Expand Down
Loading

0 comments on commit 6e63832

Please sign in to comment.