@@ -213,75 +213,6 @@ jobs:
213213 echo "K0S_VERSION=\"$K0S_VERSION\""
214214 echo "k0s_version=$K0S_VERSION" >> "$GITHUB_OUTPUT"
215215
216- build-legacydr :
217- name : Build legacy DR
218- runs-on : embedded-cluster-2
219- needs :
220- - git-sha
221- outputs :
222- k0s_version : ${{ steps.export.outputs.k0s_version }}
223- steps :
224- - name : Checkout
225- uses : actions/checkout@v4
226- with :
227- fetch-depth : 0
228-
229- - name : Cache embedded bins
230- uses : actions/cache@v4
231- with :
232- path : |
233- output/bins
234- key : bins-cache
235-
236- - name : Setup go
237- uses : actions/setup-go@v5
238- with :
239- go-version-file : go.mod
240- cache-dependency-path : " **/*.sum"
241-
242- - name : Install dagger
243- run : |
244- curl -fsSL https://dl.dagger.io/dagger/install.sh | sh
245- sudo mv ./bin/dagger /usr/local/bin/dagger
246-
247- - name : Build
248- env :
249- APP_CHANNEL_ID : 2cHXb1RCttzpR0xvnNWyaZCgDBP
250- APP_CHANNEL_SLUG : ci
251- RELEASE_YAML_DIR : e2e/kots-release-install-legacydr
252- S3_BUCKET : " tf-staging-embedded-cluster-bin"
253- USES_DEV_BUCKET : " 0"
254- AWS_ACCESS_KEY_ID : ${{ secrets.STAGING_EMBEDDED_CLUSTER_UPLOAD_IAM_KEY_ID }}
255- AWS_SECRET_ACCESS_KEY : ${{ secrets.STAGING_EMBEDDED_CLUSTER_UPLOAD_IAM_SECRET }}
256- AWS_REGION : " us-east-1"
257- USE_CHAINGUARD : " 1"
258- UPLOAD_BINARIES : " 1"
259- SKIP_RELEASE : " 1"
260- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
261- run : |
262- export K0S_VERSION=$(make print-K0S_VERSION)
263- export EC_VERSION=$(git describe --tags --abbrev=4 --match='[0-9]*.[0-9]*.[0-9]*')-legacydr
264- export APP_VERSION=appver-dev-${{ needs.git-sha.outputs.git_sha }}-legacydr
265- # avoid rate limiting
266- export FIO_VERSION=$(gh release list --repo axboe/fio --json tagName,isLatest | jq -r '.[] | select(.isLatest==true)|.tagName' | cut -d- -f2)
267-
268- ./scripts/build-and-release.sh
269- cp output/bin/embedded-cluster output/bin/embedded-cluster-legacydr
270-
271- - name : Upload release
272- uses : actions/upload-artifact@v4
273- with :
274- name : legacydr-release
275- path : |
276- output/bin/embedded-cluster-legacydr
277-
278- - name : Export k0s version
279- id : export
280- run : |
281- K0S_VERSION="$(make print-K0S_VERSION)"
282- echo "K0S_VERSION=\"$K0S_VERSION\""
283- echo "k0s_version=$K0S_VERSION" >> "$GITHUB_OUTPUT"
284-
285216 build-previous-k0s :
286217 name : Build previous k0s
287218 runs-on : embedded-cluster-2
@@ -518,7 +449,6 @@ jobs:
518449 needs :
519450 - git-sha
520451 - build-current
521- - build-legacydr
522452 - build-previous-k0s
523453 - build-upgrade
524454 - find-previous-stable
@@ -591,7 +521,7 @@ jobs:
591521 ./scripts/ci-release-app.sh
592522
593523 # promote a release with improved dr support
594- export EC_VERSION="$(git describe --tags --abbrev=4 --match='[0-9]*.[0-9]*.[0-9]*')-legacydr "
524+ export EC_VERSION="$(git describe --tags --abbrev=4 --match='[0-9]*.[0-9]*.[0-9]*')"
595525 export APP_VERSION="appver-${SHORT_SHA}-legacydr"
596526 export RELEASE_YAML_DIR=e2e/kots-release-install-legacydr
597527 ./scripts/ci-release-app.sh
@@ -636,12 +566,6 @@ jobs:
636566 export RELEASE_YAML_DIR=e2e/kots-release-install
637567 ./scripts/ci-release-app.sh
638568
639- # promote a release with improved dr support
640- export EC_VERSION="$(git describe --tags --abbrev=4 --match='[0-9]*.[0-9]*.[0-9]*')-legacydr"
641- export APP_VERSION="appver-${SHORT_SHA}-legacydr"
642- export RELEASE_YAML_DIR=e2e/kots-release-install-legacydr
643- ./scripts/ci-release-app.sh
644-
645569 # then a noop upgrade
646570 export EC_VERSION="$(git describe --tags --abbrev=4 --match='[0-9]*.[0-9]*.[0-9]*')"
647571 export APP_VERSION="appver-${SHORT_SHA}-noop"
@@ -687,7 +611,6 @@ jobs:
687611 needs :
688612 - git-sha
689613 - build-current
690- - build-legacydr
691614 - build-previous-k0s
692615 - build-upgrade
693616 - find-previous-stable
@@ -735,11 +658,6 @@ jobs:
735658 with :
736659 name : current-release
737660 path : output/bin
738- - name : Download new DR binary
739- uses : actions/download-artifact@v4
740- with :
741- name : legacydr-release
742- path : output/bin
743661 - name : Setup go
744662 uses : actions/setup-go@v5
745663 with :
@@ -786,7 +704,6 @@ jobs:
786704 runs-on : ${{ matrix.runner || 'ubuntu-22.04' }}
787705 needs :
788706 - build-current
789- - build-legacydr
790707 - build-previous-k0s
791708 - build-upgrade
792709 - find-previous-stable
@@ -854,7 +771,6 @@ jobs:
854771 runs-on : ${{ matrix.runner || 'ubuntu-22.04' }}
855772 needs :
856773 - build-current
857- - build-legacydr
858774 - build-previous-k0s
859775 - build-upgrade
860776 - find-previous-stable
0 commit comments