summaryrefslogtreecommitdiff
path: root/.gitlab
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-10-07 19:49:35 +0000
committermo khan <mo.khan@gmail.com>2020-10-07 19:49:35 +0000
commit1e2005682f1cd5f0fee3ee21235bd2a349d529a4 (patch)
tree5b5af5f973e81019f52aa8bb876351014c9955c2 /.gitlab
parentcb0681e7b20537d8aeb5785ad09934cd9fe103f8 (diff)
parent8e4aaaf041950ae90916397cd08ab0f36f80c622 (diff)
Merge branch '215933-new-repo' into 'main'v3.28.0
Relocate project See merge request gitlab-org/security-products/analyzers/license-finder!3
Diffstat (limited to '.gitlab')
-rw-r--r--.gitlab/deb.yml1
-rw-r--r--.gitlab/deploy.yml9
-rw-r--r--.gitlab/test.yml1
3 files changed, 3 insertions, 8 deletions
diff --git a/.gitlab/deb.yml b/.gitlab/deb.yml
index e695ebe..190b6af 100644
--- a/.gitlab/deb.yml
+++ b/.gitlab/deb.yml
@@ -5,6 +5,7 @@
- bin/omnibus setup
- bin/omnibus build $OMNIBUS_PROJECT
artifacts:
+ expire_in: 1 day
paths:
- pkg/
expire_in: 1 day
diff --git a/.gitlab/deploy.yml b/.gitlab/deploy.yml
index 2c649b3..6fbe6f4 100644
--- a/.gitlab/deploy.yml
+++ b/.gitlab/deploy.yml
@@ -37,12 +37,5 @@ major:
rules:
- if: $CI_COMMIT_TAG
when: manual
- after_script:
- # Also push to registry.gitlab.com/gitlab-org/security-products/analyzers/license-finder
- - docker login -u gitlab-ci-token -p $GITLAB_TOKEN $CI_REGISTRY
- - export TARGET_IMAGE=$CI_REGISTRY_IMAGE:${IMAGE_TAG:-$CI_JOB_NAME}
- - export DESTINATION_IMAGE=registry.gitlab.com/gitlab-org/security-products/analyzers/license-finder:${IMAGE_TAG:-$CI_JOB_NAME}
- - docker tag $TARGET_IMAGE $DESTINATION_IMAGE
- - docker push $DESTINATION_IMAGE
variables:
- IMAGE_TAG: $MAJOR
+ IMAGE_TAG: 3
diff --git a/.gitlab/test.yml b/.gitlab/test.yml
index 43f35cc..2a5c7e3 100644
--- a/.gitlab/test.yml
+++ b/.gitlab/test.yml
@@ -42,6 +42,7 @@ lint:
paths:
- vendor
artifacts:
+ expire_in: 1 week
paths:
- coverage/coverage.xml
- rspec.xml