From 019f0da11abe4d14780c99567f3866fa040d58d6 Mon Sep 17 00:00:00 2001 From: Francisco Schulz Date: Wed, 7 Jun 2023 15:18:40 +0200 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a870cf6..12a945b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,28 +7,3 @@ stages: - data - build - deploy - -dvc pull: - image: python:3.8 - stage: data - script: - # install dvc - - pip install dvc - - pip install dvc-azure - # configure dvc - - echo "pulling data with remote $DVC_REMOTE_NAME, from storage $DVC_AZURE_BLOB_STORE_NAME and connection $DVC_AZURE_BLOB_STORE_CONNECTION_STRING" - - dvc remote add -d -f ${DVC_REMOTE_NAME} azure://${DVC_AZURE_BLOB_STORE_NAME}/ - - dvc remote modify ${DVC_REMOTE_NAME} connection_string "${DVC_AZURE_BLOB_STORE_CONNECTION_STRING} --verbose" - # get data - - dvc pull - rules: - - if: $CI_COMMIT_TAG - - if: $CI_COMMIT_BRANCH =~ /^release/ - - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - - if: $CI_COMMIT_TAG == null - when: manual - artifacts: - name: ${CI_PROJECT_DIR}-dvc-files - paths: - - data/* - expire_in: 1 day