Skip to content

Commit

Permalink
EVEREST-107 Update release workflow (#562)
Browse files Browse the repository at this point in the history
* EVEREST-107 update release workflow

* revert psmdb versions in tests
  • Loading branch information
oksana-grishchenko authored Jul 30, 2024
1 parent 8002703 commit 899f35f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name: Release
on:
workflow_dispatch:
inputs:
version:
description: "The RC/Release version, format: X.Y.Z-rcN for RC, X.Y.Z for releases"
required: true
Expand Down Expand Up @@ -404,7 +405,7 @@ jobs:
- name: Everest - build binary
run: |
if [[ $env.IS_RC ]]; then
if [[ $IS_RC == 1 ]]; then
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 make rc
else
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 make release
Expand Down
4 changes: 2 additions & 2 deletions api-tests/tests/database-engines.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ test('get/edit database engine versions', async ({ request }) => {
const availableVersions = engineData.status.availableVersions

expect(availableVersions.engine['6.0.5-4'].imageHash).toBe('b6f875974c59d8ea0174675c85f41668460233784cbf2cbe7ce5eca212ac5f6a')
expect(availableVersions.backup['2.4.1'].status).toBe('recommended')
expect(availableVersions.backup['2.3.0'].status).toBe('recommended')

const allowedVersions = ['6.0.5-4', '6.0.4-3', '5.0.7-6', '7.0.8-5']
const allowedVersions = ['6.0.5-4', '6.0.4-3', '5.0.7-6', '6.0.9-7']

delete engineData.status
engineData.spec.allowedVersions = allowedVersions
Expand Down

0 comments on commit 899f35f

Please sign in to comment.