From 81722c7751bcc0888a247a7c205c5b7646f603a3 Mon Sep 17 00:00:00 2001 From: Joe Bellus Date: Thu, 17 Feb 2022 20:44:35 -0500 Subject: [PATCH] Uncommented pipeline conditions --- .gitlab-ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 00020fd..e23fbb8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,8 +22,8 @@ build-ui: - apt-get -y install libssl-dev - npm install - npm run build - # rules: - # - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_TAG + rules: + - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_TAG artifacts: paths: - dist/ @@ -53,8 +53,8 @@ build-musl-bin: - build-ui stage: build image: 'rust:latest' - # rules: - # - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_TAG + rules: + - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_TAG script: - rustup target add x86_64-unknown-linux-musl - apt update && apt install -y musl-tools musl-dev @@ -125,8 +125,8 @@ deploy-prod-docker: - docker login -u $DOCKERHUB_USER -p $DOCKERHUB_PASS - docker build -t fivesigma/vade . - docker push fivesigma/vade - # rules: - # - if: $CI_COMMIT_TAG + rules: + - if: $CI_COMMIT_TAG deploy-binaries: dependencies: