Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
T
test-cicd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
胡凯旋
test-cicd
Commits
9bcf4f18
Commit
9bcf4f18
authored
Jan 15, 2019
by
胡凯旋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test ci
parent
318b42df
Pipeline
#2
failed
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
10 deletions
+8
-10
.gitlab-ci.yml
.gitlab-ci.yml
+8
-10
No files found.
.gitlab-ci.yml
View file @
9bcf4f18
stages
:
stages
:
-
test
-
test
-
build
-
build
-
deploy_integration
-
deploy_staging
-
deploy_production
variables
:
variables
:
MYSQL_DATABASE
:
test
#
MYSQL_DATABASE: test
MYSQL_ALLOW_EMPTY_PASSWORD
:
yes
#
MYSQL_ALLOW_EMPTY_PASSWORD: yes
SEA_ENV
:
testing
#
SEA_ENV: testing
DOCKER_HOST
:
tcp://dockerd:2375
#
DOCKER_HOST: tcp://dockerd:2375
IMAGE
:
registry.mydocker.com/devops
/${CI_PROJECT_NAMESPACE}-${CI_PROJECT_NAME}
IMAGE
:
harbor.test.gengmei/backend
/${CI_PROJECT_NAMESPACE}-${CI_PROJECT_NAME}
before_script
:
before_script
:
-
IMAGE_TAG=${IMAGE}:${CI_COMMIT_SHA:0:8}
-
IMAGE_TAG=${IMAGE}:${CI_COMMIT_SHA:0:8}
...
@@ -27,8 +24,9 @@ test_all:
...
@@ -27,8 +24,9 @@ test_all:
before_script
:
before_script
:
-
pip install -U -r requirements.txt
-
pip install -U -r requirements.txt
script
:
script
:
-
flake8 app jobs
# - flake8 app jobs
-
sea test
# - sea test
-
pwd
#========================================== Build Image =================================================
#========================================== Build Image =================================================
build_image
:
build_image
:
...
...
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