Skip to content

psmdb-image-preparation#6

Open
nmarukovich wants to merge 1 commit intomainfrom
psmdb-image-preparation
Open

psmdb-image-preparation#6
nmarukovich wants to merge 1 commit intomainfrom
psmdb-image-preparation

Conversation

@nmarukovich
Copy link
Copy Markdown
Contributor

No description provided.

@nmarukovich nmarukovich requested a review from jvpasinatto July 4, 2024 12:37
@@ -0,0 +1,59 @@
repo='percona'
Copy link
Copy Markdown

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?

Comment on lines +12 to +15
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"
Copy link
Copy Markdown

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
Copy link
Copy Markdown

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"
Copy link
Copy Markdown

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants