Commit 94404fb7 authored by xieshaojun's avatar xieshaojun

移除ci

parent 5c660e6d
image: registry.cn-shenzhen.aliyuncs.com/thinker-open/maven:3.6-jdk14
variables:
MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository"
MAVEN_CLI_OPTS: "compile jib:build "
KUBECONFIG: "/etc/deploy/config"
# Cache downloaded dependencies and plugins between builds.
# To keep cache across branches add 'key: "$CI_JOB_NAME"'
cache:
paths:
- .m2/repository
stages:
- build
- deploy
build:jdk13-master:
stage: build
services:
- docker:18.09-dind
variables:
DOCKER_HOST: tcp://localhost:2375
DOCKER_DRIVER: overlay2
script:
- mvn $MAVEN_CLI_OPTS -Djib.to.auth.username=${docker_username} -Djib.to.auth.password=${docker_password}
only:
- master
docker-compose-down-and-up:
stage: deploy
tags:
- thinker-cloud-app
script:
- echo ">>>>docker-compose down and up"
- cd /data/thinker-devops-cloud/backend
- docker-compose pull thinker-protocol-proxy-service
- docker-compose up -d thinker-protocol-proxy-service
- docker system prune -f
- echo ">>>>done"
variables:
GIT_STRATEGY: clone
GIT_CHECKOUT: "false"
cache: {}
only:
- master
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