Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-mysqlbackend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-mysqlbackend
Commits
76205673
Commit
76205673
authored
2 years ago
by
Daniel Hornung
Browse files
Options
Downloads
Patches
Plain Diff
WIP: simplify pipeline.
parent
9a55ec6a
No related branches found
No related tags found
2 merge requests
!17
Release 6.0
,
!8
"trigger" keyword and failing strategy
Pipeline
#23783
passed
2 years ago
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+41
-41
41 additions, 41 deletions
.gitlab-ci.yml
with
41 additions
and
41 deletions
.gitlab-ci.yml
+
41
−
41
View file @
76205673
...
...
@@ -53,47 +53,47 @@ build-testenv:
######## Test ########
# Run the unit tests with MariaDB
unittests-mariadb
:
tags
:
[
docker
]
stage
:
test
services
:
-
mariadb:10.4
script
:
-
make pipeline-test SQL_HOST=mariadb
# Run the unit tests with MySQL 8
unittests-mysql-8
:
tags
:
[
docker
]
stage
:
test
# Should not stop the pipeline from continuing.
allow_failure
:
true
services
:
-
name
:
mysql:8.0
command
:
[
"
--default-authentication-plugin=mysql_native_password"
]
script
:
-
sed "s/NO_AUTO_CREATE_USER,//" -i tests/example.dump.sql
-
rm tests/test_autotap.sql
-
make pipeline-test SQL_HOST=mysql
# Run the unit tests with MySQL 5
unittests-mysql-5
:
tags
:
[
docker
]
stage
:
test
# Should not stop the pipeline from continuing.
allow_failure
:
true
services
:
-
name
:
mysql:5.7
command
:
[
"
--default-authentication-plugin=mysql_native_password"
]
script
:
# remove some lines from autotap because the checks of column default
# values don't work with mysql-5
-
sed -i "/col_default_is.*NULL/d" tests/test_autotap.sql
-
sed -i "/col_default_is.*INACTIVE/d" tests/test_autotap.sql
-
sed -i "/col_default_is.*SHA/d" tests/test_autotap.sql
-
make pipeline-test SQL_HOST=mysql
#
unittests-mariadb:
#
tags: [ docker ]
#
stage: test
#
services:
#
- mariadb:10.4
#
script:
#
- make pipeline-test SQL_HOST=mariadb
#
# Run the unit tests with MySQL 8
#
unittests-mysql-8:
#
tags: [ docker ]
#
stage: test
#
# Should not stop the pipeline from continuing.
#
allow_failure: true
#
services:
#
- name: mysql:8.0
#
command: ["--default-authentication-plugin=mysql_native_password"]
#
script:
#
- sed "s/NO_AUTO_CREATE_USER,//" -i tests/example.dump.sql
#
- rm tests/test_autotap.sql
#
- make pipeline-test SQL_HOST=mysql
#
# Run the unit tests with MySQL 5
#
unittests-mysql-5:
#
tags: [ docker ]
#
stage: test
#
# Should not stop the pipeline from continuing.
#
allow_failure: true
#
services:
#
- name: mysql:5.7
#
command: ["--default-authentication-plugin=mysql_native_password"]
#
script:
#
# remove some lines from autotap because the checks of column default
#
# values don't work with mysql-5
#
- sed -i "/col_default_is.*NULL/d" tests/test_autotap.sql
#
- sed -i "/col_default_is.*INACTIVE/d" tests/test_autotap.sql
#
- sed -i "/col_default_is.*SHA/d" tests/test_autotap.sql
#
- make pipeline-test SQL_HOST=mysql
######## Deploy ########
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment