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
2 changes: 1 addition & 1 deletion gha-script/upload-scripts/upload_file.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if [[ $(echo "$token_request" | jq -r '.errorCode') == "null" ]]; then
token=$(echo "$token_request" | jq -r '.access_token')

# curl command for uploading the file
response=$(curl -X PUT -H "Authorization: bearer $token" -H "Content-Type: application/gzip" -T $1 "https://s3.us.cloud-object-storage.appdomain.cloud/ose-s390x-toolci-bucket-production/$PACKAGE_NAME/$VERSION/$1")
response=$(curl -X PUT -H "Authorization: bearer $token" -H "Content-Type: application/gzip" -T $1 "https://s3.us-east.cloud-object-storage.appdomain.cloud/ose-s390x-toolci-bucket-production/$PACKAGE_NAME/$VERSION/$1")

# Check if the PUT request was successful based on the absence of an <Error> block
if ! echo "$response" | grep -q "<Error>"; then
Expand Down
2 changes: 1 addition & 1 deletion gha-script/upload-scripts/upload_wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if [[ $(echo "$token_request" | jq -r '.errorCode') == "null" ]]; then
token=$(echo "$token_request" | jq -r '.access_token')

# curl command for uploading the file
response=$(curl -X PUT -H "Authorization: bearer $token" -H "Content-Type: application/octet-stream" -T $1 "https://s3.us.cloud-object-storage.appdomain.cloud/ose-s390x-artifacts-production/$PACKAGE_NAME/$VERSION/$1")
response=$(curl -X PUT -H "Authorization: bearer $token" -H "Content-Type: application/octet-stream" -T $1 "https://s3.us-east.cloud-object-storage.appdomain.cloud/ose-s390x-artifacts-production/$PACKAGE_NAME/$VERSION/$1")

# Check if the PUT request was successful based on the absence of an <Error> block
if ! echo "$response" | grep -q "<Error>"; then
Expand Down
3 changes: 2 additions & 1 deletion process_bom/ca_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
]
CLOUD_OBJECT_BUCKET_NAME = "ose-s390x-toolci-bucket-production"
CLOUD_OBJECT_CVE_SBOM_BUCKET = "ose-s390x-sbom-cve-details-production"
CLOUD_OBJECT_STORAGE_URL = "https://s3.us.cloud-object-storage.appdomain.cloud"
CLOUD_OBJECT_STORAGE_URL = "https://s3.us-east.cloud-object-storage.appdomain.cloud"
CLOUD_OBJECT_AUTH_ENDPOINT = "https://iam.cloud.ibm.com/identity/token"


Expand All @@ -56,3 +56,4 @@




Loading