A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
docs(ci): Update CI configuration
LinkinStars6bf83b2033fb
diff --git a/.gitlab-ci.yml b/.gitlab-ci.ymlindex f96e65ef..e2519366 100644--- a/.gitlab-ci.yml+++ b/.gitlab-ci.yml@@ -5,48 +5,8 @@ include:file: ".deploy-helm.yml"stages:- - compile-html- - compile-golang- - push- deploy-dev-"compile the html and other static files":- image: node:16- stage: compile-html- before_script:- - npm config set registry https://repo.huaweicloud.com/repository/npm/- - make install-ui-packages- script:- - make ui- artifacts:- paths:- - ./build--"compile the golang project":- image: golang:1.18- stage: compile-golang-# before_script:-# - export GOPROXY=https://goproxy.cn,direct- script:- - make build- artifacts:- paths:- - ./answer--"build docker images and push":- stage: push-# before_script:-# - export GOPROXY=https://goproxy.cn,direct- extends: .docker-build-push- only:- - test- variables:- DockerNamespace: sf_app- DockerImage: answer- DockerTag: "$CI_COMMIT_SHORT_SHA latest"- DockerfilePath: .- PushPolicy: qingcloud-"deploy-to-local-develop-environment":stage: deploy-devextends: .deploy-helm