Skip to content

Commit 4c7efb8

Browse files
MarcinGinsztAllda
authored andcommitted
using proxy to access Pyxis
1 parent 56b46d9 commit 4c7efb8

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

ansible/roles/operator-pipeline/templates/openshift/pipelines/operator-ci-pipeline.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,8 @@ spec:
451451
value: "$(tasks.set-env.results.pyxis_url)"
452452
- name: pipeline_name
453453
value: "$(context.pipelineRun.name)"
454+
- name: env
455+
value: $(params.env)
454456

455457
- name: show-support-link
456458
taskRef:

ansible/roles/operator-pipeline/templates/openshift/tasks/upload-pipeline-logs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ spec:
2727
description: Operator package name
2828
- name: pipeline_name
2929
description: Tekton pipeline run name where logs will be gathered from
30+
- name: env
31+
description: Environment. One of [dev, qa, stage, prod]
3032
results:
3133
- name: pipeline_log_url
3234
workspaces:
@@ -52,6 +54,8 @@ spec:
5254
value: $(params.pyxis_cert_path)
5355
- name: PYXIS_KEY_PATH
5456
value: $(params.pyxis_key_path)
57+
- name: ENVIRONMENT
58+
value: $(params.env)
5559
script: |
5660
#! /usr/bin/env bash
5761
echo "Uploading pipeline logs"

0 commit comments

Comments
 (0)