Skip to content

Commit

Permalink
Merge branch 'release/2.0.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
Tecnobutrul committed Jun 15, 2023
2 parents 510ed20 + 82ac3f4 commit d597f03
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ stages:
- Quality
- Test CE
- Test PRO
- Publish

include: '.gitlab-ci/**.yml'
include: '.gitlab-ci/**.yml'
24 changes: 24 additions & 0 deletions .gitlab-ci/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
.to-gcs:
stage: Publish
image: registry.gitlab.com/passbolt/passbolt-ci-docker-images/gcloud
variables:
EDITION: "ce"
BUCKET: "download.passbolt.com"
PREFIX: "installer"
script:
- gcloud auth activate-service-account --key-file "$SVC_ACC"
- gsutil cp "passbolt-repo-setup.$EDITION.sh" "gs://$BUCKET/$EDITION/$PREFIX/"
after_script:
gsutil -m setmeta -r -h "Content-Type:text/html" \
-h "Cache-Control:no-cache" \
"gs://$BUCKET/$PREFIX/*"
rules:
- if: '$CI_COMMIT_TAG != null'

ce:
extends: .to-gcs

pro:
extends: .to-gcs
variables:
EDITION: "pro"

0 comments on commit d597f03

Please sign in to comment.