Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion docs/downloads/bitbucket-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,13 @@ pipelines:
script:
- git clone --shallow-since="6 months ago" --no-tags https://x-token-auth:$oauth_token@bitbucket.org/$full_repo.git gitstream/repo
- git clone --depth=1 --no-tags https://x-token-auth:$oauth_token@bitbucket.org/$BITBUCKET_WORKSPACE/$BITBUCKET_REPO_SLUG.git gitstream/cm
- cd gitstream/repo && git fetch origin $head_ref:$head_ref && git checkout $head_ref
- |
set -e
cd gitstream/repo
git checkout --detach
# Fetch all branches so any base branch can be diffed; keep --shallow-since or this pulls full history.
git fetch --no-tags --force --shallow-since="6 months ago" origin '+refs/heads/*:refs/heads/*'
Comment thread
MishaKav marked this conversation as resolved.
git checkout "$head_ref"
- docker pull gitstream/rules-engine:latest
- |
docker run -v $BITBUCKET_CLONE_DIR/gitstream:/code \
Expand Down
8 changes: 7 additions & 1 deletion docs/downloads/gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,13 @@ gitstream-job:
script:
- git clone --shallow-since="6 months ago" --no-tags https://gitlab-ci-token:${CI_JOB_TOKEN}${repoUrl} gitstream/repo
- git clone --depth=1 --no-tags https://gitlab-ci-token:${CI_JOB_TOKEN}${cmUrl} gitstream/cm
- cd gitstream/repo && git fetch origin $head_ref:$head_ref && git checkout $head_ref
- |
set -e
cd gitstream/repo
git checkout --detach
# Fetch all branches so any base branch can be diffed; keep --shallow-since or this pulls full history.
git fetch --no-tags --force --shallow-since="6 months ago" origin '+refs/heads/*:refs/heads/*'
git checkout "$head_ref"
- docker pull gitstream/rules-engine:latest
- |
docker run -v $CI_PROJECT_DIR/gitstream:/code \
Expand Down
8 changes: 7 additions & 1 deletion docs/downloads/gitlab-k8s-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,13 @@ gitstream-job:
script:
- git clone --shallow-since="6 months ago" --no-tags https://gitlab-ci-token:${CI_JOB_TOKEN}${repoUrl} gitstream/repo
- git clone --depth=1 --no-tags https://gitlab-ci-token:${CI_JOB_TOKEN}${cmUrl} gitstream/cm
- cd gitstream/repo && git fetch origin $head_ref:$head_ref && git checkout $head_ref
- |
set -e
cd gitstream/repo
git checkout --detach
# Fetch all branches so any base branch can be diffed; keep --shallow-since or this pulls full history.
git fetch --no-tags --force --shallow-since="6 months ago" origin '+refs/heads/*:refs/heads/*'
git checkout "$head_ref"
- docker pull gitstream/rules-engine:latest
- |
docker run -v $CI_PROJECT_DIR/gitstream:/code \
Expand Down
8 changes: 7 additions & 1 deletion docs/downloads/gitlab-shell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@ gitstream-job:
script:
- git clone --shallow-since="6 months ago" --no-tags https://gitlab-ci-token:${CI_JOB_TOKEN}${repoUrl} gitstream/repo
- git clone --depth=1 --no-tags https://gitlab-ci-token:${CI_JOB_TOKEN}${cmUrl} gitstream/cm
- cd gitstream/repo && git fetch origin $head_ref:$head_ref && git checkout $head_ref
- |
set -e
cd gitstream/repo
git checkout --detach
# Fetch all branches so any base branch can be diffed; keep --shallow-since or this pulls full history.
git fetch --no-tags --force --shallow-since="6 months ago" origin '+refs/heads/*:refs/heads/*'
git checkout "$head_ref"
- docker pull gitstream/rules-engine:latest
- |
docker run -v $CI_PROJECT_DIR/gitstream:/code \
Expand Down