Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
E
ES Subset Generator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ChEMBL
C
ChEMBL
Main Web Interface
ES Subset Generator
Commits
d9dd45c0
Commit
d9dd45c0
authored
Aug 18, 2020
by
David Mendez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Activate unit tests
parent
67b619ba
Pipeline
#93037
passed with stages
in 3 minutes and 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
26 deletions
+26
-26
.gitlab-ci.yml
.gitlab-ci.yml
+26
-26
No files found.
.gitlab-ci.yml
View file @
d9dd45c0
...
...
@@ -31,7 +31,7 @@ services:
stages
:
-
build
#
- prepare_config_tests
-
prepare_config_tests
-
test_and_qa
# - prepare_config_staging
# - deploy_to_staging
...
...
@@ -83,31 +83,31 @@ pylint:
### ---------------------------------------------------------------------------------------------------------------------
### Tests
### ---------------------------------------------------------------------------------------------------------------------
#
prepare_config_tests:
#
stage: prepare_config_tests
#
image:
#
name: alpine/git
#
entrypoint: ["/bin/sh", "-c"]
#
except:
#
- schedules
#
script:
#
- set -x
#
- mkdir -p ${CONFIGS_FOLDER}
#
- git clone https://${CONFIG_DEPLOY_GITLAB_USERNAME}:${CONFIG_DEPLOY_GITLAB_TOKEN}@${CONFIGURATIONS_REPO} ${CONFIGS_FOLDER}
#
artifacts:
#
paths:
#
- ${CONFIG_UNIT_TESTS_FILE_PATH}
#
#
unit_tests:
#
stage: test_and_qa
#
image:
#
name: $SERVER_IMAGE_TAG
#
entrypoint: [""]
#
except:
#
- schedules
#
script:
#
- set -x
#
- CONFIG_FILE_PATH=${CONFIG_UNIT_TESTS_FILE_PATH} python -m unittest
prepare_config_tests
:
stage
:
prepare_config_tests
image
:
name
:
alpine/git
entrypoint
:
[
"
/bin/sh"
,
"
-c"
]
except
:
-
schedules
script
:
-
set -x
-
mkdir -p ${CONFIGS_FOLDER}
-
git clone https://${CONFIG_DEPLOY_GITLAB_USERNAME}:${CONFIG_DEPLOY_GITLAB_TOKEN}@${CONFIGURATIONS_REPO} ${CONFIGS_FOLDER}
artifacts
:
paths
:
-
${CONFIG_UNIT_TESTS_FILE_PATH}
unit_tests
:
stage
:
test_and_qa
image
:
name
:
$SERVER_IMAGE_TAG
entrypoint
:
[
"
"
]
except
:
-
schedules
script
:
-
set -x
-
CONFIG_FILE_PATH=${CONFIG_UNIT_TESTS_FILE_PATH} python -m unittest
#
### ----------------------------------------------------------------------------------------------------------------------
### Deployment to staging
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment