From a06e6feb1fe393830a18ee881f6e5249baa93764 Mon Sep 17 00:00:00 2001 From: Anatolii Bazko Date: Fri, 2 Feb 2024 10:43:19 +0100 Subject: [PATCH] fixup Signed-off-by: Anatolii Bazko --- .github/workflows/release.yml | 4 ++-- test/e2e/e2e-upgrade-version.test.ts | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4dca3f4fa..d106a97bc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -66,8 +66,8 @@ jobs: run: | # since we're using Flavius' token below to generate PRs, should also make tags/branches/commits by same owner # see https://github.com/che-incubator/chectl/settings/secrets/actions for the token used - git config --global user.name "Flavius Lacatusu" - git config --global user.email "flacatus@redhat.com" + git config --global user.name "Anatolii Bazko" + git config --global user.email "abazko@redhat.com" export GITHUB_TOKEN=${{ secrets.CHE_INCUBATOR_BOT_GITHUB_TOKEN }} DWO_VERSION=${{ github.event.inputs.devworkspaceOperatorVersion }} if [[ -z ${DWO_VERSION} ]]; then diff --git a/test/e2e/e2e-upgrade-version.test.ts b/test/e2e/e2e-upgrade-version.test.ts index 86b440e62..ce903399c 100644 --- a/test/e2e/e2e-upgrade-version.test.ts +++ b/test/e2e/e2e-upgrade-version.test.ts @@ -38,7 +38,9 @@ describe('Test Che upgrade', () => { it('Update Eclipse Che Version', async () => { const binChectl = E2eHelper.getChectlBinaries() // scale deployments down to free up some resources + await helper.runCliCommand('kubectl', ['scale', 'deployment', 'che', '--replicas=0', `-n ${NAMESPACE}`]) await helper.runCliCommand(binChectl, ['server:update', '-y', `-n ${NAMESPACE}`, '--telemetry=off']) + await helper.runCliCommand(binChectl, ['server:start', `-n ${NAMESPACE}`, '--telemetry=off']) await helper.waitForCheServerImageTag(helper.getNewVersion(), UPDATE_CHE_TIMEOUT_MS) })