Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
juev committed Jul 23, 2024
1 parent a0f329e commit 1829a44
Show file tree
Hide file tree
Showing 20 changed files with 188 additions and 188 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 @@ -160,7 +160,7 @@ run: |
-e KUBERNETES_VERSION=${KUBERNETES_VERSION} \
-e CRI=${CRI} \
-e USER_RUNNER_ID=${user_runner_id} \
-v $(pwd)/testing:/deckhouse/testing \
-v $(pwd):/deckhouse \
-v ${TMP_DIR_PATH}:/tmp \
${TERRAFORM_IMAGE_NAME} \
bash /deckhouse/testing/cloud_layouts/{!{ $script_eks }!} {!{ $script_arg }!}
Expand All @@ -176,7 +176,7 @@ run: |
-v "$PWD/config.yml:/config.yml" \
-v ${TMP_DIR_PATH}:/tmp \
-v "$PWD/resources.yml:/resources.yml" \
-v $(pwd)/testing:/deckhouse/testing \
-v $(pwd):/deckhouse \
${INSTALL_IMAGE_NAME} \
bash -c "dhctl bootstrap-phase install-deckhouse \
--kubeconfig=/tmp/eks-${LAYOUT}-${CRI}-${KUBERNETES_VERSION}.kubeconfig \
Expand All @@ -198,7 +198,7 @@ run: |
-e KUBECONFIG=/tmp/eks-${LAYOUT}-${CRI}-${KUBERNETES_VERSION}.kubeconfig \
-e CRI=${CRI} \
-e USER_RUNNER_ID=${user_runner_id} \
-v $(pwd)/testing:/deckhouse/testing \
-v $(pwd):/deckhouse \
-v ${TMP_DIR_PATH}:/tmp \
${TERRAFORM_IMAGE_NAME} \
bash -c "/deckhouse/testing/cloud_layouts/{!{ $script_eks }!} wait_deckhouse_ready && \
Expand Down Expand Up @@ -249,7 +249,7 @@ run: |
-e LAYOUT_STATIC_BASTION_IP=80.249.129.56 \
{!{- end }!}
-e USER_RUNNER_ID=${user_runner_id} \
-v $(pwd)/testing:/deckhouse/testing \
-v $(pwd):/deckhouse \
-v ${TMP_DIR_PATH}:/tmp \
-w /deckhouse \
${INSTALL_IMAGE_NAME} \
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/e2e-abort-aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ jobs:
-e LAYOUT_AWS_ACCESS_KEY=${LAYOUT_AWS_ACCESS_KEY:-not_provided} \
-e LAYOUT_AWS_SECRET_ACCESS_KEY=${LAYOUT_AWS_SECRET_ACCESS_KEY:-not_provided} \
-e USER_RUNNER_ID=${user_runner_id} \
-v $(pwd)/testing:/deckhouse/testing \
-v $(pwd):/deckhouse \
-v ${TMP_DIR_PATH}:/tmp \
-w /deckhouse \
${INSTALL_IMAGE_NAME} \
Expand Down Expand Up @@ -554,7 +554,7 @@ jobs:
-e LAYOUT_AWS_ACCESS_KEY=${LAYOUT_AWS_ACCESS_KEY:-not_provided} \
-e LAYOUT_AWS_SECRET_ACCESS_KEY=${LAYOUT_AWS_SECRET_ACCESS_KEY:-not_provided} \
-e USER_RUNNER_ID=${user_runner_id} \
-v $(pwd)/testing:/deckhouse/testing \
-v $(pwd):/deckhouse \
-v ${TMP_DIR_PATH}:/tmp \
-w /deckhouse \
${INSTALL_IMAGE_NAME} \
Expand Down Expand Up @@ -831,7 +831,7 @@ jobs:
-e LAYOUT_AWS_ACCESS_KEY=${LAYOUT_AWS_ACCESS_KEY:-not_provided} \
-e LAYOUT_AWS_SECRET_ACCESS_KEY=${LAYOUT_AWS_SECRET_ACCESS_KEY:-not_provided} \
-e USER_RUNNER_ID=${user_runner_id} \
-v $(pwd)/testing:/deckhouse/testing \
-v $(pwd):/deckhouse \
-v ${TMP_DIR_PATH}:/tmp \
-w /deckhouse \
${INSTALL_IMAGE_NAME} \
Expand Down Expand Up @@ -1108,7 +1108,7 @@ jobs:
-e LAYOUT_AWS_ACCESS_KEY=${LAYOUT_AWS_ACCESS_KEY:-not_provided} \
-e LAYOUT_AWS_SECRET_ACCESS_KEY=${LAYOUT_AWS_SECRET_ACCESS_KEY:-not_provided} \
-e USER_RUNNER_ID=${user_runner_id} \
-v $(pwd)/testing:/deckhouse/testing \
-v $(pwd):/deckhouse \
-v ${TMP_DIR_PATH}:/tmp \
-w /deckhouse \
${INSTALL_IMAGE_NAME} \
Expand Down Expand Up @@ -1385,7 +1385,7 @@ jobs:
-e LAYOUT_AWS_ACCESS_KEY=${LAYOUT_AWS_ACCESS_KEY:-not_provided} \
-e LAYOUT_AWS_SECRET_ACCESS_KEY=${LAYOUT_AWS_SECRET_ACCESS_KEY:-not_provided} \
-e USER_RUNNER_ID=${user_runner_id} \
-v $(pwd)/testing:/deckhouse/testing \
-v $(pwd):/deckhouse \
-v ${TMP_DIR_PATH}:/tmp \
-w /deckhouse \
${INSTALL_IMAGE_NAME} \
Expand Down Expand Up @@ -1662,7 +1662,7 @@ jobs:
-e LAYOUT_AWS_ACCESS_KEY=${LAYOUT_AWS_ACCESS_KEY:-not_provided} \
-e LAYOUT_AWS_SECRET_ACCESS_KEY=${LAYOUT_AWS_SECRET_ACCESS_KEY:-not_provided} \
-e USER_RUNNER_ID=${user_runner_id} \
-v $(pwd)/testing:/deckhouse/testing \
-v $(pwd):/deckhouse \
-v ${TMP_DIR_PATH}:/tmp \
-w /deckhouse \
${INSTALL_IMAGE_NAME} \
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/e2e-abort-azure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ jobs:
-e LAYOUT_AZURE_CLIENT_SECRET=${LAYOUT_AZURE_CLIENT_SECRET:-not_provided} \
-e LAYOUT_AZURE_TENANT_ID=${LAYOUT_AZURE_TENANT_ID:-not_provided} \
-e USER_RUNNER_ID=${user_runner_id} \
-v $(pwd)/testing:/deckhouse/testing \
-v $(pwd):/deckhouse \
-v ${TMP_DIR_PATH}:/tmp \
-w /deckhouse \
${INSTALL_IMAGE_NAME} \
Expand Down Expand Up @@ -562,7 +562,7 @@ jobs:
-e LAYOUT_AZURE_CLIENT_SECRET=${LAYOUT_AZURE_CLIENT_SECRET:-not_provided} \
-e LAYOUT_AZURE_TENANT_ID=${LAYOUT_AZURE_TENANT_ID:-not_provided} \
-e USER_RUNNER_ID=${user_runner_id} \
-v $(pwd)/testing:/deckhouse/testing \
-v $(pwd):/deckhouse \
-v ${TMP_DIR_PATH}:/tmp \
-w /deckhouse \
${INSTALL_IMAGE_NAME} \
Expand Down Expand Up @@ -843,7 +843,7 @@ jobs:
-e LAYOUT_AZURE_CLIENT_SECRET=${LAYOUT_AZURE_CLIENT_SECRET:-not_provided} \
-e LAYOUT_AZURE_TENANT_ID=${LAYOUT_AZURE_TENANT_ID:-not_provided} \
-e USER_RUNNER_ID=${user_runner_id} \
-v $(pwd)/testing:/deckhouse/testing \
-v $(pwd):/deckhouse \
-v ${TMP_DIR_PATH}:/tmp \
-w /deckhouse \
${INSTALL_IMAGE_NAME} \
Expand Down Expand Up @@ -1124,7 +1124,7 @@ jobs:
-e LAYOUT_AZURE_CLIENT_SECRET=${LAYOUT_AZURE_CLIENT_SECRET:-not_provided} \
-e LAYOUT_AZURE_TENANT_ID=${LAYOUT_AZURE_TENANT_ID:-not_provided} \
-e USER_RUNNER_ID=${user_runner_id} \
-v $(pwd)/testing:/deckhouse/testing \
-v $(pwd):/deckhouse \
-v ${TMP_DIR_PATH}:/tmp \
-w /deckhouse \
${INSTALL_IMAGE_NAME} \
Expand Down Expand Up @@ -1405,7 +1405,7 @@ jobs:
-e LAYOUT_AZURE_CLIENT_SECRET=${LAYOUT_AZURE_CLIENT_SECRET:-not_provided} \
-e LAYOUT_AZURE_TENANT_ID=${LAYOUT_AZURE_TENANT_ID:-not_provided} \
-e USER_RUNNER_ID=${user_runner_id} \
-v $(pwd)/testing:/deckhouse/testing \
-v $(pwd):/deckhouse \
-v ${TMP_DIR_PATH}:/tmp \
-w /deckhouse \
${INSTALL_IMAGE_NAME} \
Expand Down Expand Up @@ -1686,7 +1686,7 @@ jobs:
-e LAYOUT_AZURE_CLIENT_SECRET=${LAYOUT_AZURE_CLIENT_SECRET:-not_provided} \
-e LAYOUT_AZURE_TENANT_ID=${LAYOUT_AZURE_TENANT_ID:-not_provided} \
-e USER_RUNNER_ID=${user_runner_id} \
-v $(pwd)/testing:/deckhouse/testing \
-v $(pwd):/deckhouse \
-v ${TMP_DIR_PATH}:/tmp \
-w /deckhouse \
${INSTALL_IMAGE_NAME} \
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/e2e-abort-eks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ jobs:
-e KUBERNETES_VERSION=${KUBERNETES_VERSION} \
-e CRI=${CRI} \
-e USER_RUNNER_ID=${user_runner_id} \
-v $(pwd)/testing:/deckhouse/testing \
-v $(pwd):/deckhouse \
-v ${TMP_DIR_PATH}:/tmp \
${TERRAFORM_IMAGE_NAME} \
bash /deckhouse/testing/cloud_layouts/script_eks.sh cleanup
Expand Down Expand Up @@ -561,7 +561,7 @@ jobs:
-e KUBERNETES_VERSION=${KUBERNETES_VERSION} \
-e CRI=${CRI} \
-e USER_RUNNER_ID=${user_runner_id} \
-v $(pwd)/testing:/deckhouse/testing \
-v $(pwd):/deckhouse \
-v ${TMP_DIR_PATH}:/tmp \
${TERRAFORM_IMAGE_NAME} \
bash /deckhouse/testing/cloud_layouts/script_eks.sh cleanup
Expand Down Expand Up @@ -841,7 +841,7 @@ jobs:
-e KUBERNETES_VERSION=${KUBERNETES_VERSION} \
-e CRI=${CRI} \
-e USER_RUNNER_ID=${user_runner_id} \
-v $(pwd)/testing:/deckhouse/testing \
-v $(pwd):/deckhouse \
-v ${TMP_DIR_PATH}:/tmp \
${TERRAFORM_IMAGE_NAME} \
bash /deckhouse/testing/cloud_layouts/script_eks.sh cleanup
Expand Down Expand Up @@ -1121,7 +1121,7 @@ jobs:
-e KUBERNETES_VERSION=${KUBERNETES_VERSION} \
-e CRI=${CRI} \
-e USER_RUNNER_ID=${user_runner_id} \
-v $(pwd)/testing:/deckhouse/testing \
-v $(pwd):/deckhouse \
-v ${TMP_DIR_PATH}:/tmp \
${TERRAFORM_IMAGE_NAME} \
bash /deckhouse/testing/cloud_layouts/script_eks.sh cleanup
Expand Down Expand Up @@ -1401,7 +1401,7 @@ jobs:
-e KUBERNETES_VERSION=${KUBERNETES_VERSION} \
-e CRI=${CRI} \
-e USER_RUNNER_ID=${user_runner_id} \
-v $(pwd)/testing:/deckhouse/testing \
-v $(pwd):/deckhouse \
-v ${TMP_DIR_PATH}:/tmp \
${TERRAFORM_IMAGE_NAME} \
bash /deckhouse/testing/cloud_layouts/script_eks.sh cleanup
Expand Down Expand Up @@ -1681,7 +1681,7 @@ jobs:
-e KUBERNETES_VERSION=${KUBERNETES_VERSION} \
-e CRI=${CRI} \
-e USER_RUNNER_ID=${user_runner_id} \
-v $(pwd)/testing:/deckhouse/testing \
-v $(pwd):/deckhouse \
-v ${TMP_DIR_PATH}:/tmp \
${TERRAFORM_IMAGE_NAME} \
bash /deckhouse/testing/cloud_layouts/script_eks.sh cleanup
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/e2e-abort-gcp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ jobs:
-e SSH_KEY=${LAYOUT_SSH_KEY:-not_provided} \
-e LAYOUT_GCP_SERVICE_ACCOUT_KEY_JSON=${LAYOUT_GCP_SERVICE_ACCOUT_KEY_JSON:-not_provided} \
-e USER_RUNNER_ID=${user_runner_id} \
-v $(pwd)/testing:/deckhouse/testing \
-v $(pwd):/deckhouse \
-v ${TMP_DIR_PATH}:/tmp \
-w /deckhouse \
${INSTALL_IMAGE_NAME} \
Expand Down Expand Up @@ -550,7 +550,7 @@ jobs:
-e SSH_KEY=${LAYOUT_SSH_KEY:-not_provided} \
-e LAYOUT_GCP_SERVICE_ACCOUT_KEY_JSON=${LAYOUT_GCP_SERVICE_ACCOUT_KEY_JSON:-not_provided} \
-e USER_RUNNER_ID=${user_runner_id} \
-v $(pwd)/testing:/deckhouse/testing \
-v $(pwd):/deckhouse \
-v ${TMP_DIR_PATH}:/tmp \
-w /deckhouse \
${INSTALL_IMAGE_NAME} \
Expand Down Expand Up @@ -825,7 +825,7 @@ jobs:
-e SSH_KEY=${LAYOUT_SSH_KEY:-not_provided} \
-e LAYOUT_GCP_SERVICE_ACCOUT_KEY_JSON=${LAYOUT_GCP_SERVICE_ACCOUT_KEY_JSON:-not_provided} \
-e USER_RUNNER_ID=${user_runner_id} \
-v $(pwd)/testing:/deckhouse/testing \
-v $(pwd):/deckhouse \
-v ${TMP_DIR_PATH}:/tmp \
-w /deckhouse \
${INSTALL_IMAGE_NAME} \
Expand Down Expand Up @@ -1100,7 +1100,7 @@ jobs:
-e SSH_KEY=${LAYOUT_SSH_KEY:-not_provided} \
-e LAYOUT_GCP_SERVICE_ACCOUT_KEY_JSON=${LAYOUT_GCP_SERVICE_ACCOUT_KEY_JSON:-not_provided} \
-e USER_RUNNER_ID=${user_runner_id} \
-v $(pwd)/testing:/deckhouse/testing \
-v $(pwd):/deckhouse \
-v ${TMP_DIR_PATH}:/tmp \
-w /deckhouse \
${INSTALL_IMAGE_NAME} \
Expand Down Expand Up @@ -1375,7 +1375,7 @@ jobs:
-e SSH_KEY=${LAYOUT_SSH_KEY:-not_provided} \
-e LAYOUT_GCP_SERVICE_ACCOUT_KEY_JSON=${LAYOUT_GCP_SERVICE_ACCOUT_KEY_JSON:-not_provided} \
-e USER_RUNNER_ID=${user_runner_id} \
-v $(pwd)/testing:/deckhouse/testing \
-v $(pwd):/deckhouse \
-v ${TMP_DIR_PATH}:/tmp \
-w /deckhouse \
${INSTALL_IMAGE_NAME} \
Expand Down Expand Up @@ -1650,7 +1650,7 @@ jobs:
-e SSH_KEY=${LAYOUT_SSH_KEY:-not_provided} \
-e LAYOUT_GCP_SERVICE_ACCOUT_KEY_JSON=${LAYOUT_GCP_SERVICE_ACCOUT_KEY_JSON:-not_provided} \
-e USER_RUNNER_ID=${user_runner_id} \
-v $(pwd)/testing:/deckhouse/testing \
-v $(pwd):/deckhouse \
-v ${TMP_DIR_PATH}:/tmp \
-w /deckhouse \
${INSTALL_IMAGE_NAME} \
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/e2e-abort-openstack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ jobs:
-e SSH_KEY=${LAYOUT_SSH_KEY:-not_provided} \
-e LAYOUT_OS_PASSWORD=${LAYOUT_OS_PASSWORD:-not_provided} \
-e USER_RUNNER_ID=${user_runner_id} \
-v $(pwd)/testing:/deckhouse/testing \
-v $(pwd):/deckhouse \
-v ${TMP_DIR_PATH}:/tmp \
-w /deckhouse \
${INSTALL_IMAGE_NAME} \
Expand Down Expand Up @@ -550,7 +550,7 @@ jobs:
-e SSH_KEY=${LAYOUT_SSH_KEY:-not_provided} \
-e LAYOUT_OS_PASSWORD=${LAYOUT_OS_PASSWORD:-not_provided} \
-e USER_RUNNER_ID=${user_runner_id} \
-v $(pwd)/testing:/deckhouse/testing \
-v $(pwd):/deckhouse \
-v ${TMP_DIR_PATH}:/tmp \
-w /deckhouse \
${INSTALL_IMAGE_NAME} \
Expand Down Expand Up @@ -825,7 +825,7 @@ jobs:
-e SSH_KEY=${LAYOUT_SSH_KEY:-not_provided} \
-e LAYOUT_OS_PASSWORD=${LAYOUT_OS_PASSWORD:-not_provided} \
-e USER_RUNNER_ID=${user_runner_id} \
-v $(pwd)/testing:/deckhouse/testing \
-v $(pwd):/deckhouse \
-v ${TMP_DIR_PATH}:/tmp \
-w /deckhouse \
${INSTALL_IMAGE_NAME} \
Expand Down Expand Up @@ -1100,7 +1100,7 @@ jobs:
-e SSH_KEY=${LAYOUT_SSH_KEY:-not_provided} \
-e LAYOUT_OS_PASSWORD=${LAYOUT_OS_PASSWORD:-not_provided} \
-e USER_RUNNER_ID=${user_runner_id} \
-v $(pwd)/testing:/deckhouse/testing \
-v $(pwd):/deckhouse \
-v ${TMP_DIR_PATH}:/tmp \
-w /deckhouse \
${INSTALL_IMAGE_NAME} \
Expand Down Expand Up @@ -1375,7 +1375,7 @@ jobs:
-e SSH_KEY=${LAYOUT_SSH_KEY:-not_provided} \
-e LAYOUT_OS_PASSWORD=${LAYOUT_OS_PASSWORD:-not_provided} \
-e USER_RUNNER_ID=${user_runner_id} \
-v $(pwd)/testing:/deckhouse/testing \
-v $(pwd):/deckhouse \
-v ${TMP_DIR_PATH}:/tmp \
-w /deckhouse \
${INSTALL_IMAGE_NAME} \
Expand Down Expand Up @@ -1650,7 +1650,7 @@ jobs:
-e SSH_KEY=${LAYOUT_SSH_KEY:-not_provided} \
-e LAYOUT_OS_PASSWORD=${LAYOUT_OS_PASSWORD:-not_provided} \
-e USER_RUNNER_ID=${user_runner_id} \
-v $(pwd)/testing:/deckhouse/testing \
-v $(pwd):/deckhouse \
-v ${TMP_DIR_PATH}:/tmp \
-w /deckhouse \
${INSTALL_IMAGE_NAME} \
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/e2e-abort-static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ jobs:
-e SSH_KEY=${LAYOUT_SSH_KEY:-not_provided} \
-e LAYOUT_OS_PASSWORD=${LAYOUT_OS_PASSWORD:-not_provided} \
-e USER_RUNNER_ID=${user_runner_id} \
-v $(pwd)/testing:/deckhouse/testing \
-v $(pwd):/deckhouse \
-v ${TMP_DIR_PATH}:/tmp \
-w /deckhouse \
${INSTALL_IMAGE_NAME} \
Expand Down Expand Up @@ -550,7 +550,7 @@ jobs:
-e SSH_KEY=${LAYOUT_SSH_KEY:-not_provided} \
-e LAYOUT_OS_PASSWORD=${LAYOUT_OS_PASSWORD:-not_provided} \
-e USER_RUNNER_ID=${user_runner_id} \
-v $(pwd)/testing:/deckhouse/testing \
-v $(pwd):/deckhouse \
-v ${TMP_DIR_PATH}:/tmp \
-w /deckhouse \
${INSTALL_IMAGE_NAME} \
Expand Down Expand Up @@ -825,7 +825,7 @@ jobs:
-e SSH_KEY=${LAYOUT_SSH_KEY:-not_provided} \
-e LAYOUT_OS_PASSWORD=${LAYOUT_OS_PASSWORD:-not_provided} \
-e USER_RUNNER_ID=${user_runner_id} \
-v $(pwd)/testing:/deckhouse/testing \
-v $(pwd):/deckhouse \
-v ${TMP_DIR_PATH}:/tmp \
-w /deckhouse \
${INSTALL_IMAGE_NAME} \
Expand Down Expand Up @@ -1100,7 +1100,7 @@ jobs:
-e SSH_KEY=${LAYOUT_SSH_KEY:-not_provided} \
-e LAYOUT_OS_PASSWORD=${LAYOUT_OS_PASSWORD:-not_provided} \
-e USER_RUNNER_ID=${user_runner_id} \
-v $(pwd)/testing:/deckhouse/testing \
-v $(pwd):/deckhouse \
-v ${TMP_DIR_PATH}:/tmp \
-w /deckhouse \
${INSTALL_IMAGE_NAME} \
Expand Down Expand Up @@ -1375,7 +1375,7 @@ jobs:
-e SSH_KEY=${LAYOUT_SSH_KEY:-not_provided} \
-e LAYOUT_OS_PASSWORD=${LAYOUT_OS_PASSWORD:-not_provided} \
-e USER_RUNNER_ID=${user_runner_id} \
-v $(pwd)/testing:/deckhouse/testing \
-v $(pwd):/deckhouse \
-v ${TMP_DIR_PATH}:/tmp \
-w /deckhouse \
${INSTALL_IMAGE_NAME} \
Expand Down Expand Up @@ -1650,7 +1650,7 @@ jobs:
-e SSH_KEY=${LAYOUT_SSH_KEY:-not_provided} \
-e LAYOUT_OS_PASSWORD=${LAYOUT_OS_PASSWORD:-not_provided} \
-e USER_RUNNER_ID=${user_runner_id} \
-v $(pwd)/testing:/deckhouse/testing \
-v $(pwd):/deckhouse \
-v ${TMP_DIR_PATH}:/tmp \
-w /deckhouse \
${INSTALL_IMAGE_NAME} \
Expand Down
Loading

0 comments on commit 1829a44

Please sign in to comment.