Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
I
install.api
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
Script
install.api
Commits
99460bb7
Commit
99460bb7
authored
Apr 09, 2020
by
金凯强
🎨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI配置
parent
96140f20
Pipeline
#22352
passed with stage
in 23 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
14 deletions
+1
-14
.gitlab-ci.yml
.gitlab-ci.yml
+0
-11
Dockerfile
Dockerfile
+1
-3
No files found.
.gitlab-ci.yml
View file @
99460bb7
...
...
@@ -12,17 +12,6 @@ variables:
before_script
:
-
docker login -u $HUANSI_USER -p $HUANSI_PASSWORD $HUANSI_REGISTRY_URL
build
:
stage
:
build
retry
:
2
tags
:
-
dev
script
:
-
python /sync_release_info_to_db.py
-
docker build -t ${APP_IMAGE}:${CI_COMMIT_REF_NAME} .
except
:
-
master
push
:
stage
:
push
retry
:
2
...
...
Dockerfile
View file @
99460bb7
FROM
47.110.145.204:8084/huansi/python
3:slim-util-0.0.1
FROM
47.110.145.204:8084/huansi/python
:install
COPY
. .
EXPOSE
8080
RUN
pip
install
docker
-i
https://pypi.tuna.tsinghua.edu.cn/simple
&&
pip
install
-i
https://pypi.tuna.tsinghua.edu.cn/simple paramiko
CMD
["/bin/bash","docker_entry.sh"]
...
...
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