Skip to content

Commit

Permalink
ci: Update image UUIDs
Browse files Browse the repository at this point in the history
  • Loading branch information
akhil-jha committed Aug 4, 2023
1 parent 1042947 commit 1494043
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .rhcicd/pr_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@ accountID="3340851"
dbPod=$(oc get pods -o custom-columns=POD:.metadata.name --no-headers | grep 'image-builder-db')

# AWS stub
imageID="6c0cd30a-d306-4105-aae6-0548c20b9a0a" # created on 2023-07-19
imageID="fa67817e-a539-4799-9596-6cb1d964232b" # created on 2023-08-03
imageName="pipeline-aws"

composeRequestAWSJson='{"image_name": "'$imageName'", "distribution": "rhel-92", "customizations": {}, "image_requests": [{"image_type": "aws", "architecture": "x86_64", "upload_request": {"type": "aws", "options": {"share_with_accounts": ["093942615996"]}}}]}'
oc exec $dbPod -- psql -d image-builder -c "INSERT INTO public.composes (job_id, request, created_at, account_number, org_id, image_name, deleted) VALUES
('$imageID', '$composeRequestAWSJson', '$(date +"%Y-%m-%d %T")', '$orgID', '$accountID', '$imageName', false);"

# GCP stub
imageID="90be7a52-24d5-4bf1-97e7-cb2b8b2f482b" # created on 2023-07-18
imageID="ba6f621d-9cc9-4b40-97ac-9d5341516dc5" # created on 2023-08-03
imageName="pipeline-gcp"

composeRequestGCPJson='{"image_name": "'$imageName'", "distribution": "rhel-92", "customizations": {}, "image_requests": [{"image_type": "gcp", "architecture": "x86_64", "upload_request": {"type": "gcp", "options": {"share_with_accounts": ["user:oezr@redhat.com"]}}}]}'
Expand Down

0 comments on commit 1494043

Please sign in to comment.