Commit ac989643 authored by HUA YUEN HUI's avatar HUA YUEN HUI Committed by GitHub Enterprise
Browse files

chore: expose git token support (#17)

parent 7f26c93c
......@@ -61,6 +61,8 @@ properties:
- type: secure
name: toolchain-apikey
value: ${API_KEY}
- name: git-token
type: secure
- name: apikey
value: ${API_KEY}
type: SECURE
......
......@@ -43,6 +43,8 @@ properties:
- name: apikey
value: ${API_KEY}
type: SECURE
- name: git-token
type: secure
- name: pipeline-debug
value: "0"
type: text
......@@ -16,6 +16,9 @@ spec:
- name: revision
description: the git revision/commit for the git repo
default: ""
- name: git-token
description: access token for the git repo
default: ""
- name: app-name
description: application name
- name: fail-on-lint-errors
......@@ -93,6 +96,8 @@ spec:
value: $(params.branch)
- name: revision
value: $(params.revision)
- name: git-token
value: $(params.git-token)
- name: app-name
value: $(params.app-name)
- name: fail-on-lint-errors
......
......@@ -17,6 +17,8 @@ spec:
- name: revision
description: the git revision/commit for the git repo
default: ""
- name: git-token
description: access token for the git repo
- name: fail-on-lint-errors
description: force failure of task when docker lint errors are found
default: "true"
......@@ -83,6 +85,8 @@ spec:
params:
- name: ibmcloud-api
value: $(params.ibmcloud-api)
- name: git-access-token
value: $(params.git-token)
- name: continuous-delivery-context-secret
value: "secure-properties"
- name: ibmcloud-apikey-secret-key
......
......@@ -7,6 +7,8 @@ spec:
params:
- name: ibmcloud-api
description: The ibmcloud api
- name: git-token
description: access token for the git repo
- name: ibmcloud-region
description: (Optional) ibmcloud region to use
- name: pipeline-debug
......@@ -108,6 +110,8 @@ spec:
value: $(params.ibmcloud-api)
- name: ibmcloud-apikey-secret-key
value: "apikey"
- name: git-access-token
value: $(params.git-token)
- name: pipeline-debug
value: $(params.pipeline-debug)
- name: pr-branch
......
......@@ -10,6 +10,9 @@ spec:
- name: ibmcloud-api
description: The ibmcloud api
default: "https://cloud.ibm.com"
- name: git-token
description: access token for the git repo
default: ""
- name: ibmcloud-region
description: (Optional) ibmcloud region to use
default: ""
......@@ -153,6 +156,8 @@ spec:
params:
- name: ibmcloud-api
value: $(params.ibmcloud-api)
- name: git-token
value: $(params.git-token)
- name: ibmcloud-region
value: $(params.ibmcloud-region)
- name: pipeline-debug
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment