Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mobdna-k8s
Project
Overview
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
shenggui.li
mobdna-k8s
Commits
f8ece23b
Commit
f8ece23b
authored
Mar 24, 2022
by
shenggui.li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update .gitlab-ci.yml
parent
1d87d53f
Pipeline
#2078
passed with stages
in 4 minutes 25 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
.gitlab-ci.yml
.gitlab-ci.yml
+7
-7
No files found.
.gitlab-ci.yml
View file @
f8ece23b
...
@@ -24,7 +24,7 @@ mvn_package:
...
@@ -24,7 +24,7 @@ mvn_package:
# - mkdir -p /root/.m2/
# - mkdir -p /root/.m2/
# - wget -O /root/.m2/settings.xml http://configure_read:reyun.123@nexus.minrow.com/repository/configure/maven/config/settings.xml
# - wget -O /root/.m2/settings.xml http://configure_read:reyun.123@nexus.minrow.com/repository/configure/maven/config/settings.xml
# - mvn clean
# - mvn clean
-
mvn clean package -DskipTests=true
-U
-
mvn clean package -DskipTests=true
# - mv docker_conf Dockerfile target/
# - mv docker_conf Dockerfile target/
-
mkdir target
-
mkdir target
-
cp web/target/mob-dna-1.0.jar target/ && cp Dockerfile target/
-
cp web/target/mob-dna-1.0.jar target/ && cp Dockerfile target/
...
@@ -47,10 +47,10 @@ build_image:
...
@@ -47,10 +47,10 @@ build_image:
-
mobdna-k8s
-
mobdna-k8s
deplay_app
:
#
deplay_app:
stage
:
deplay
#
stage: deplay
script
:
#
script:
-
docker run -i --network host --rm amazon/aws-cli ecr get-login-password --region cn-north-1 | docker login --username AWS --password-stdin ${REG_BASE}
#
- docker run -i --network host --rm amazon/aws-cli ecr get-login-password --region cn-north-1 | docker login --username AWS --password-stdin ${REG_BASE}
#- docker run -i --network host --rm ${MAXCLOUD_TOOL} ${REG_URL}:${CI_COMMIT_SHA} ${APP_NAME} ${APP_BUNDLE_ID} ${APP_SECERT}
#- docker run -i --network host --rm ${MAXCLOUD_TOOL} ${REG_URL}:${CI_COMMIT_SHA} ${APP_NAME} ${APP_BUNDLE_ID} ${APP_SECERT}
tags
:
#
tags:
-
mobdna-k8s
#
- mobdna-k8s
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