Commit f8ece23b by shenggui.li

Update .gitlab-ci.yml

parent 1d87d53f
Pipeline #2078 passed with stages
in 4 minutes 25 seconds
......@@ -24,7 +24,7 @@ mvn_package:
# - mkdir -p /root/.m2/
# - wget -O /root/.m2/settings.xml http://configure_read:reyun.123@nexus.minrow.com/repository/configure/maven/config/settings.xml
# - mvn clean
- mvn clean package -DskipTests=true -U
- mvn clean package -DskipTests=true
# - mv docker_conf Dockerfile target/
- mkdir target
- cp web/target/mob-dna-1.0.jar target/ && cp Dockerfile target/
......@@ -47,10 +47,10 @@ build_image:
- mobdna-k8s
deplay_app:
stage: deplay
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}
#deplay_app:
# stage: deplay
# 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 ${MAXCLOUD_TOOL} ${REG_URL}:${CI_COMMIT_SHA} ${APP_NAME} ${APP_BUNDLE_ID} ${APP_SECERT}
tags:
- mobdna-k8s
# tags:
# - mobdna-k8s
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment