From 1c07da8f82b395c153db92d05bbf6c5ef08ebeb8 Mon Sep 17 00:00:00 2001 From: luqiuwen Date: Tue, 18 Jun 2019 10:48:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3CI=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6=EF=BC=8C=E5=9F=BA=E4=BA=8E=E6=94=B9=E7=94=A8=E5=9F=BA?= =?UTF-8?q?=E4=BA=8Eframework=E7=9A=84docker=E9=95=9C=E5=83=8F=E7=9A=84?= =?UTF-8?q?=E6=96=B9=E5=BC=8F=E7=BC=96=E8=AF=91=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 35 +++++++++-------------------------- 1 file changed, 9 insertions(+), 26 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2a5668c..efb3e8b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,7 @@ +image: "git.mesalab.cn:7443/mesa_framework/framework:master" variables: GIT_STRATEGY: "clone" - INSTALL_PREFIX: "/home/mesasoft/tfe" + INSTALL_PREFIX: "/home/tsg/tfe" stages: - build @@ -27,6 +28,8 @@ build_debug: variables: BUILD_TYPE: Debug extends: .build_by_travis + tags: + - share except: - tags @@ -35,6 +38,8 @@ build_release: variables: BUILD_TYPE: RelWithDebInfo extends: .build_by_travis + tags: + - share except: - tags @@ -48,6 +53,8 @@ package_debug: name: "tfe-install-$CI_COMMIT_REF_NAME-debug" paths: - build/*.rpm + tags: + - share only: - tags @@ -61,31 +68,7 @@ package_release: name: "tfe-install-$CI_COMMIT_REF_NAME-release" paths: - build/*.rpm - only: - - tags - -deploy_debug: - stage: deploy tags: - - package-server - dependencies: - - package_debug - variables: - GIT_STRATEGY: "none" - RPM_REPO_PATH: "/data/ci/repos/tango" - extends: .deploy_to_package_server - only: - - tags - -deploy_release: - stage: deploy - tags: - - package-server - dependencies: - - package_release - variables: - GIT_STRATEGY: "none" - RPM_REPO_PATH: "/data/ci/repos/tango" - extends: .deploy_to_package_server + - share only: - tags