Skip to content
Snippets Groups Projects
Verified Commit 023df432 authored by Laurent Heirendt's avatar Laurent Heirendt :airplane:
Browse files

trigger pipeline mechanism

parent 355311e6
No related branches found
No related tags found
No related merge requests found
......@@ -147,3 +147,18 @@ deploy:vm:
- scp -P $SSHPORT -r processed_build/* $SSHCONNECT:~/$CI_COMMIT_REF_NAME/sources/public/$CI_JOB_ID
- ssh -p $SSHPORT $SSHCONNECT "cd ~/$CI_COMMIT_REF_NAME/public && ln -fs ../sources/public/$CI_JOB_ID/* . && cd ~/$CI_COMMIT_REF_NAME/sources/public/ && find . -type d -not -newermt '-1 minutes' -exec rm -rf {} +;"
# Trigger pipelines in internal repo
# ------------------------------------------------------------------------------------
trigger:
stage: test-required
image: docker:19.03.13
rules:
- if: '$CI_COMMIT_BRANCH == "master" || $CI_COMMIT_BRANCH == "develop"'
tags:
- privileged
services:
- name: docker:19.03.13-dind
command: ["--tls=false", "--mtu=1458", "--registry-mirror", "https://docker-registry.lcsb.uni.lu"]
script:
- docker run curlimages/curl --silent --output /dev/null -X POST -F token=$GIT_ACCESS_TOKEN -F ref=$CI_COMMIT_BRANCH $INTERNAL_REPO
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment