Skip to content

Commit

Permalink
fix: e2e tests, task title
Browse files Browse the repository at this point in the history
Signed-off-by: Anatolii Bazko <[email protected]>
  • Loading branch information
tolusha committed Feb 2, 2024
1 parent 7ca02cf commit 2be9c87
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/tasks/installers/eclipse-che/eclipse-che-tasks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ export namespace EclipseCheTasks {
ctx[OperatorImageUpgradeContext.NEW_IMAGE_NAME] = newImage
ctx[OperatorImageUpgradeContext.NEW_IMAGE_TAG] = newTag

task.title = `${task.title} ${ctx[OperatorImageUpgradeContext.NEW_IMAGE_TAG]} -> ${ctx[OperatorImageUpgradeContext.DEPLOYED_IMAGE_TAG]}`
task.title = `${task.title} ${ctx[OperatorImageUpgradeContext.DEPLOYED_IMAGE_TAG]} -> ${ctx[OperatorImageUpgradeContext.NEW_IMAGE_TAG]}`
},
}
}
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/e2e-upgrade-version.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ describe('Test Che upgrade', () => {
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)
})

Expand Down

0 comments on commit 2be9c87

Please sign in to comment.