Skip to content

Commit fffc1b4

Browse files
committed
CI: remove KUBESPRAY_VERSION
1 parent c79b3ce commit fffc1b4

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

.gitlab-ci.yml

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ stages:
66
- deploy-extended
77

88
variables:
9-
KUBESPRAY_VERSION: v2.27.0
109
FAILFASTCI_NAMESPACE: 'kargo-ci'
1110
GITLAB_REPOSITORY: 'kargo-ci/kubernetes-sigs-kubespray'
1211
GIT_CONFIG_COUNT: 1

RELEASE.md

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ The Kubespray Project is released on an as-needed basis. The process is as follo
1212
1. (For major releases) On the `master` branch: bump the version in `galaxy.yml` to the next expected major release (X.y.0 with y = Y + 1), make a Pull Request.
1313
1. (For minor releases) On the `release-X.Y` branch: bump the version in `galaxy.yml` to the next expected minor release (X.Y.z with z = Z + 1), make a Pull Request.
1414
1. The corresponding version of [quay.io/kubespray/kubespray:vX.Y.Z](https://quay.io/repository/kubespray/kubespray) and [quay.io/kubespray/vagrant:vX.Y.Z](https://quay.io/repository/kubespray/vagrant) container images are built and tagged. See the following `Container image creation` section for the details.
15-
1. (Only for major releases) The `KUBESPRAY_VERSION` in `.gitlab-ci.yml` is upgraded to the version we just released # TODO clarify this, this variable is for testing upgrades.
1615
1. The release issue is closed
1716
1. An announcement email is sent to `[email protected]` with the subject `[ANNOUNCE] Kubespray $VERSION is released`
1817
1. The topic of the #kubespray channel is updated with `vX.Y.Z is released! | ...`

tests/scripts/testcases_run.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ fi
1717

1818
# Check out latest tag if testing upgrade
1919
if [ "${UPGRADE_TEST}" != "false" ]; then
20-
git fetch --all && git checkout "$KUBESPRAY_VERSION"
20+
git fetch --all && git checkout $(git describe --tags --abbrev=0)
2121
# Checkout the current tests/ directory ; even when testing old version,
2222
# we want the up-to-date test setup/provisionning
2323
git checkout "${CI_COMMIT_SHA}" -- tests/

0 commit comments

Comments
 (0)