Skip to content

Commit b6572a7

Browse files
MarcinGinsztAllda
authored andcommitted
reverting unnecessary changes
1 parent 212e94f commit b6572a7

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

ansible/roles/operator-pipeline/templates/openshift/tasks/bundle-path-validation.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ spec:
1919
- name: bundle-parse
2020
image: "$(params.pipeline_image)"
2121
workingDir: $(workspaces.source.path)
22-
imagePullPolicy: Always
2322
script: |
2423
#! /usr/bin/env bash
2524
set -xe

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spec:
1515
- name: pyxis_key_path
1616
default: ""
1717
- name: pyxis_url
18-
default: https://catalog.redhat.com/api/containers
18+
default: https://catalog.redhat.com/api/containers/
1919
description: Red Hat's container API URL
2020
- name: md5sum
2121
description: Operator content md5 hash
@@ -80,7 +80,7 @@ spec:
8080
8181
LOG_ID=$(cat pipeline-logs-artifact.json | jq -r "._id")
8282
83-
LOG_URL="$(params.pyxis_url)/v1/projects/certification/artifacts/id/$LOG_ID"
83+
LOG_URL="$(params.pyxis_url)v1/projects/certification/artifacts/id/$LOG_ID"
8484
8585
echo "Pipeline logs URL: "
8686
echo -n $LOG_URL | tee $(results.pipeline_log_url.path)

operator-pipeline-images/operatorcert/entrypoints/upload_artifacts.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,7 @@ def upload_artifact(args: Any, file_path: str, org_id: Any = None) -> Dict[str,
9393
Dict[str, Any]: Pyxis response
9494
"""
9595
upload_url = urljoin(
96-
args.pyxis_url,
97-
f"v1/projects/certification/id/{args.cert_project_id}/artifacts",
96+
args.pyxis_url, f"v1/projects/certification/id/{args.cert_project_id}/artifacts"
9897
)
9998
file_name = os.path.basename(file_path)
10099
file_size = os.path.getsize(file_path)

0 commit comments

Comments
 (0)