Skip to content

Commit 3c98c29

Browse files
author
Alexandru Cheltuitor
committed
Update CI jobs
1 parent a50ca99 commit 3c98c29

File tree

1 file changed

+3
-24
lines changed

1 file changed

+3
-24
lines changed

.gitlab-ci.yml

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -68,31 +68,8 @@ make-image-arch:
6868
script:
6969
- make image-arch branch=$CI_COMMIT_REF_SLUG src=archlinux
7070

71-
## Once the CI is green, we retag the current branch-master to latest
72-
publish-latest-deb:
73-
stage: image-latest
74-
extends: .common-image
75-
dependencies: [] # Prevent download + extract artifacts
76-
only:
77-
- master
78-
except:
79-
- schedules
80-
- triggers
81-
script:
82-
- make latest src=ubuntu
83-
84-
publish-latest-rpm:
85-
extends: publish-latest-deb
86-
script:
87-
- make latest src=fedora
88-
89-
publish-latest-arch:
90-
extends: publish-latest-deb
91-
script:
92-
- make latest src=archlinux
93-
9471

95-
######### CI Jobs ##########
72+
######### CI Test Jobs ##########
9673
test-deb:
9774
stage: test
9875
image: $CI_REGISTRY_IMAGE:branch-$CI_COMMIT_REF_SLUG-ubuntu
@@ -121,6 +98,7 @@ release-publish-github:
12198
needs:
12299
- job: build-deb
123100
- job: build-rpm
101+
when: on_success
124102
variables:
125103
RELEASE_SYNC_PUBLIC_URL: [email protected]:ProtonMail/proton-python-client.git
126104
RELEASE_SYNC_TO_BRANCH: 'master'
@@ -132,6 +110,7 @@ release-publish-github-tags:
132110
needs:
133111
- job: build-deb
134112
- job: build-rpm
113+
when: on_success
135114
variables:
136115
RELEASE_SYNC_PUBLIC_URL: [email protected]:ProtonMail/proton-python-client.git
137116
RELEASE_SYNC_TO_BRANCH: 'master'

0 commit comments

Comments
 (0)