logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://anongit.hacktivis.me/git/pleroma.git/
commit: d09ec25454e7634b2bac9c00a347a197a489d7bb
parent 6026046b1cf3db5fb082eec963af2c788b6c046b
Author: Mark Felder <feld@feld.me>
Date:   Thu, 23 Oct 2025 12:12:19 -0700

CI: use triggers for docs and api-docs deployments

This is a "bridge job" which is more efficient. We do not need a token or API call then to make the CI run in the target repos.

Diffstat:

M.gitlab-ci.yml24++++++++----------------
1 file changed, 8 insertions(+), 16 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml @@ -229,16 +229,13 @@ dialyzer: docs-deploy: stage: deploy - artifacts: *default_artifacts - cache: *testing_cache_policy - image: alpine:latest + trigger: + project: pleroma/docs + branch: develop + strategy: depend only: - stable@pleroma/pleroma - develop@pleroma/pleroma - before_script: - - apk add curl - script: - - curl --fail-with-body -X POST -F"token=$DOCS_PIPELINE_TRIGGER" -F'ref=master' -F"variables[BRANCH]=$CI_COMMIT_REF_NAME" https://git.pleroma.social/api/v4/projects/673/trigger/pipeline review_app: image: alpine:3.9 stage: deploy @@ -271,17 +268,12 @@ review_app: spec-deploy: stage: deploy - artifacts: - paths: - - spec.json - expire_in: 30 days + trigger: + project: pleroma/api-docs + branch: develop + strategy: depend only: - develop@pleroma/pleroma - image: alpine:latest - before_script: - - apk add curl - script: - - curl --fail-with-body -X POST -F"token=$API_DOCS_PIPELINE_TRIGGER" -F'ref=master' -F"variables[BRANCH]=$CI_COMMIT_REF_NAME" -F"variables[JOB_REF]=$CI_JOB_ID" https://git.pleroma.social/api/v4/projects/1130/trigger/pipeline stop_review_app: