Change unstable versions in migration tests

This commit is contained in:
kolaente 2021-02-10 18:53:30 +01:00
parent 7debeaa9ff
commit 61d76e6875
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -93,8 +93,8 @@ steps:
pull: true pull: true
commands: commands:
# Get the latest version # Get the latest version
- wget https://dl.vikunja.io/api/master/vikunja-master-linux-amd64-full.zip -q -O vikunja-latest.zip - wget https://dl.vikunja.io/api/unstable/vikunja-unstable-linux-amd64-full.zip -q -O vikunja-latest.zip
- unzip vikunja-latest.zip vikunja-master-linux-amd64 - unzip vikunja-latest.zip vikunja-unstable-linux-amd64
- name: test-migration-sqlite - name: test-migration-sqlite
image: kolaente/toolbox:latest image: kolaente/toolbox:latest
@ -106,7 +106,7 @@ steps:
VIKUNJA_LOG_DATABASE: stdout VIKUNJA_LOG_DATABASE: stdout
VIKUNJA_LOG_DATABASELEVEL: debug VIKUNJA_LOG_DATABASELEVEL: debug
commands: commands:
- ./vikunja-master-linux-amd64 migrate - ./vikunja-unstable-linux-amd64 migrate
# Run the migrations from the binary build in the step before # Run the migrations from the binary build in the step before
- ./vikunja migrate - ./vikunja migrate
when: when:
@ -125,7 +125,7 @@ steps:
VIKUNJA_LOG_DATABASE: stdout VIKUNJA_LOG_DATABASE: stdout
VIKUNJA_LOG_DATABASELEVEL: debug VIKUNJA_LOG_DATABASELEVEL: debug
commands: commands:
- ./vikunja-master-linux-amd64 migrate - ./vikunja-unstable-linux-amd64 migrate
# Run the migrations from the binary build in the step before # Run the migrations from the binary build in the step before
- ./vikunja migrate - ./vikunja migrate
when: when:
@ -145,7 +145,7 @@ steps:
VIKUNJA_LOG_DATABASE: stdout VIKUNJA_LOG_DATABASE: stdout
VIKUNJA_LOG_DATABASELEVEL: debug VIKUNJA_LOG_DATABASELEVEL: debug
commands: commands:
- ./vikunja-master-linux-amd64 migrate - ./vikunja-unstable-linux-amd64 migrate
# Run the migrations from the binary build in the step before # Run the migrations from the binary build in the step before
- ./vikunja migrate - ./vikunja migrate
when: when:
@ -441,9 +441,9 @@ steps:
commands: commands:
- apk add git go - apk add git go
- ./mage-static release:packages - ./mage-static release:packages
- mv dist/os-packages/vikunja*.x86_64.rpm dist/os-packages/vikunja-master-x86_64.rpm - mv dist/os-packages/vikunja*.x86_64.rpm dist/os-packages/vikunja-unstable-x86_64.rpm
- mv dist/os-packages/vikunja*_amd64.deb dist/os-packages/vikunja-master-amd64.deb - mv dist/os-packages/vikunja*_amd64.deb dist/os-packages/vikunja-unstable-amd64.deb
- mv dist/os-packages/vikunja*_x86_64.apk dist/os-packages/vikunja-master-x86_64.apk - mv dist/os-packages/vikunja*_x86_64.apk dist/os-packages/vikunja-unstable-x86_64.apk
depends_on: [ static-build-linux ] depends_on: [ static-build-linux ]
# Push the os releases to our pseudo-s3-bucket # Push the os releases to our pseudo-s3-bucket