-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
psmdb-image-preparation #6
base: main
Are you sure you want to change the base?
Conversation
@@ -0,0 +1,59 @@ | |||
repo='percona' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we change the extension to .sh and put the shebang #!/usr/bin/env bash
?
export PSMDB_IMAGES_PROJECT_ID="5e627846b6bf136294e8bb8b" | ||
export PSMDB_OPERATOR_PROJECT_ID="5e62470102235d3f505f60e3" | ||
export PSMDB_IMAGES_PROJECT_USER="redhat-isv-containers+5e627846b6bf136294e8bb8b-robot" | ||
export PSMDB_OPERATOR_PROJECT_USER="redhat-isv-containers+5e62470102235d3f505f60e3-robot" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these private?
Also ,we can simplify to PSMDB_IMAGES_PROJECT_USER="redhat-isv-containers+$PSMDB_IMAGES_PROJECT_ID-robot"
and the same for the operator
operator_image_id=`docker images | grep "${release} " | awk '{print $3}'` | ||
echo $operator_image_id | ||
docker tag $operator_image_id quay.io/redhat-isv-containers/${PSMDB_OPERATOR_PROJECT_ID}:${release} && docker push quay.io/redhat-isv-containers/${PSMDB_OPERATOR_PROJECT_ID}:${release} | ||
preflight check container --platform=linux/amd64 quay.io/redhat-isv-containers/${PSMDB_OPERATOR_PROJECT_ID}:${release} --docker-config=/Users/marukovich/.docker/config.json --submit --pyxis-api-token=$PYXIS_API_TOKEN --certification-project-id=$PSMDB_OPERATOR_PROJECT_ID |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should create an env var for the docker config file. Please check the same in the cmds below
@@ -0,0 +1,59 @@ | |||
repo='percona' | |||
psmdb-operator="percona-server-mongodb-operator" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change to psmdb_operator here and in line 27
No description provided.