Skip to content

Commit a935e95

Browse files
authored
refactor: remove duplicate fields from pipeline configurations (#836)
- Remove resolver credentials from Bitbucket/GitLab pipeline docs (now in clientPayload) - Remove unused installation_id from GitHub workflow template - Maintains backward compatibility via backend sending all fields
1 parent 4673b38 commit a935e95

4 files changed

Lines changed: 0 additions & 22 deletions

File tree

docs/downloads/bitbucket-pipelines.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,6 @@ pipelines:
1111
description: the client payload
1212
- name: head_ref
1313
description: the head sha
14-
- name: base_ref
15-
description: The base sha
16-
- name: resolver_url
17-
description: the resolver url to pass results to
18-
- name: resolver_token
19-
description: Optional resolver token for resolver service
2014
- name: debug_mode
2115
description: Debug mode
2216
default: 'true'
@@ -50,10 +44,6 @@ pipelines:
5044
- docker pull gitstream/rules-engine:latest
5145
- |
5246
docker run -v $BITBUCKET_CLONE_DIR/gitstream:/code \
53-
-e HEAD_REF=$head_ref \
54-
-e BASE_REF=$base_ref \
5547
-e RUN_ID=$BITBUCKET_BUILD_NUMBER \
5648
-e CLIENT_PAYLOAD="$client_payload" \
57-
-e RULES_RESOLVER_URL=$resolver_url \
58-
-e RULES_RESOLVER_TOKEN=$resolver_token \
5949
-e DEBUG_MODE=$debug_mode gitstream/rules-engine:latest

docs/downloads/gitlab-ci.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,5 @@ gitstream-job:
3030
- docker pull gitstream/rules-engine:latest
3131
- |
3232
docker run -v $CI_PROJECT_DIR/gitstream:/code \
33-
-e HEAD_REF=$head_ref \
34-
-e BASE_REF=$base_ref \
3533
-e CLIENT_PAYLOAD="$client_payload" \
36-
-e RULES_RESOLVER_URL=$resolver_url \
37-
-e RULES_RESOLVER_TOKEN=$resolver_token \
3834
-e DEBUG_MODE=true gitstream/rules-engine:latest

docs/downloads/gitlab-k8s-ci.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ gitstream-job:
3030
- docker pull gitstream/rules-engine:latest
3131
- |
3232
docker run -v $CI_PROJECT_DIR/gitstream:/code \
33-
-e HEAD_REF=$head_ref \
34-
-e BASE_REF=$base_ref \
3533
-e CLIENT_PAYLOAD="$client_payload" \
36-
-e RULES_RESOLVER_URL=$resolver_url \
37-
-e RULES_RESOLVER_TOKEN=$resolver_token \
3834
-e DEBUG_MODE=true gitstream/rules-engine:latest
3935

docs/downloads/gitlab-shell-ci.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,5 @@ gitstream-job:
2424
- docker pull gitstream/rules-engine:latest
2525
- |
2626
docker run -v $CI_PROJECT_DIR/gitstream:/code \
27-
-e HEAD_REF=$head_ref \
28-
-e BASE_REF=$base_ref \
2927
-e CLIENT_PAYLOAD="$client_payload" \
30-
-e RULES_RESOLVER_URL=$resolver_url \
31-
-e RULES_RESOLVER_TOKEN=$resolver_token \
3228
-e DEBUG_MODE=true gitstream/rules-engine:latest

0 commit comments

Comments
 (0)