From 8175d5b8cb50c4a19496da3e41d29da0a1a051d4 Mon Sep 17 00:00:00 2001 From: Federico Falconieri Date: Tue, 25 Jan 2022 13:17:28 +0000 Subject: [PATCH 1/4] Update .gitlab-ci.yml --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 80de1d0..c360b63 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,6 +25,12 @@ dgad-cli: - dgad --domains wikipedia.org sjdkahflaksdjhf.net - dgad --csv tests/data/domains_todo.csv +pip: + stage: test + image: python:3.9 + script: + - pip install dgad + redis-worker: stage: build inherit: -- GitLab From f403f63cab0e3f679a177839def738c773ccbcc1 Mon Sep 17 00:00:00 2001 From: Federico Falconieri Date: Tue, 25 Jan 2022 13:17:59 +0000 Subject: [PATCH 2/4] Update .gitlab-ci.yml --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c360b63..0e2d2a5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,6 +30,7 @@ pip: image: python:3.9 script: - pip install dgad + needs: [] redis-worker: stage: build -- GitLab From 47ea6d89c34558f2b2ca363a0b0c529f729afa07 Mon Sep 17 00:00:00 2001 From: Federico Falconieri Date: Tue, 25 Jan 2022 13:22:33 +0000 Subject: [PATCH 3/4] Update .gitlab-ci.yml --- .gitlab-ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0e2d2a5..55cb3ce 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,12 +25,11 @@ dgad-cli: - dgad --domains wikipedia.org sjdkahflaksdjhf.net - dgad --csv tests/data/domains_todo.csv -pip: - stage: test +pip:install: + stage: .post image: python:3.9 script: - pip install dgad - needs: [] redis-worker: stage: build -- GitLab From f9cc54b623a5d7d4f269c85cf5c05ba681908ea0 Mon Sep 17 00:00:00 2001 From: Federico Falconieri Date: Tue, 25 Jan 2022 13:24:24 +0000 Subject: [PATCH 4/4] Update .gitlab-ci.yml --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 55cb3ce..927a002 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,6 +30,8 @@ pip:install: image: python:3.9 script: - pip install dgad + rules: + - if: ($CI_COMMIT_TAG =~ /^v[0-9]+(\.[0-9]+){2}(.*)$/) redis-worker: stage: build @@ -78,7 +80,7 @@ snyk:container:nobase: python:twine:pypi: image: registry.gitlab.com/just-ci/images/python:3.9 - stage: .post + stage: build before_script: - cat $pypirc > .pypirc script: -- GitLab