Re-Enable migration test steps in pipeline

This commit is contained in:
kolaente 2021-02-13 16:58:12 +01:00
parent ec7becd426
commit 65f42b8bda
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -89,68 +89,68 @@ steps:
when: when:
event: [ push, tag, pull_request ] event: [ push, tag, pull_request ]
# - name: test-migration-prepare - name: test-migration-prepare
# image: kolaente/toolbox:latest image: kolaente/toolbox:latest
# pull: true pull: true
# commands: commands:
# # Get the latest version # Get the latest version
# - wget https://dl.vikunja.io/api/unstable/vikunja-unstable-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-unstable-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
# pull: true pull: true
# depends_on: [ test-migration-prepare, build ] depends_on: [ test-migration-prepare, build ]
# environment: environment:
# VIKUNJA_DATABASE_TYPE: sqlite VIKUNJA_DATABASE_TYPE: sqlite
# VIKUNJA_DATABASE_PATH: ./vikunja-migration-test.db VIKUNJA_DATABASE_PATH: ./vikunja-migration-test.db
# VIKUNJA_LOG_DATABASE: stdout VIKUNJA_LOG_DATABASE: stdout
# VIKUNJA_LOG_DATABASELEVEL: debug VIKUNJA_LOG_DATABASELEVEL: debug
# commands: commands:
# - ./vikunja-unstable-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:
# event: [ push, tag, pull_request ] event: [ push, tag, pull_request ]
#
# - name: test-migration-mysql - name: test-migration-mysql
# image: kolaente/toolbox:latest image: kolaente/toolbox:latest
# pull: true pull: true
# depends_on: [ test-migration-prepare, build ] depends_on: [ test-migration-prepare, build ]
# environment: environment:
# VIKUNJA_DATABASE_TYPE: mysql VIKUNJA_DATABASE_TYPE: mysql
# VIKUNJA_DATABASE_HOST: test-mysql-migration VIKUNJA_DATABASE_HOST: test-mysql-migration
# VIKUNJA_DATABASE_USER: root VIKUNJA_DATABASE_USER: root
# VIKUNJA_DATABASE_PASSWORD: vikunjatest VIKUNJA_DATABASE_PASSWORD: vikunjatest
# VIKUNJA_DATABASE_DATABASE: vikunjatest VIKUNJA_DATABASE_DATABASE: vikunjatest
# VIKUNJA_LOG_DATABASE: stdout VIKUNJA_LOG_DATABASE: stdout
# VIKUNJA_LOG_DATABASELEVEL: debug VIKUNJA_LOG_DATABASELEVEL: debug
# commands: commands:
# - ./vikunja-unstable-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:
# event: [ push, tag, pull_request ] event: [ push, tag, pull_request ]
#
# - name: test-migration-psql - name: test-migration-psql
# image: kolaente/toolbox:latest image: kolaente/toolbox:latest
# pull: true pull: true
# depends_on: [ test-migration-prepare, build ] depends_on: [ test-migration-prepare, build ]
# environment: environment:
# VIKUNJA_DATABASE_TYPE: postgres VIKUNJA_DATABASE_TYPE: postgres
# VIKUNJA_DATABASE_HOST: test-postgres-migration VIKUNJA_DATABASE_HOST: test-postgres-migration
# VIKUNJA_DATABASE_USER: postgres VIKUNJA_DATABASE_USER: postgres
# VIKUNJA_DATABASE_PASSWORD: vikunjatest VIKUNJA_DATABASE_PASSWORD: vikunjatest
# VIKUNJA_DATABASE_DATABASE: vikunjatest VIKUNJA_DATABASE_DATABASE: vikunjatest
# VIKUNJA_DATABASE_SSLMODE: disable VIKUNJA_DATABASE_SSLMODE: disable
# VIKUNJA_LOG_DATABASE: stdout VIKUNJA_LOG_DATABASE: stdout
# VIKUNJA_LOG_DATABASELEVEL: debug VIKUNJA_LOG_DATABASELEVEL: debug
# commands: commands:
# - ./vikunja-unstable-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:
# event: [ push, tag, pull_request ] event: [ push, tag, pull_request ]
- name: test - name: test
image: vikunja/golang-build:latest image: vikunja/golang-build:latest