Skip to content
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

Multi region #187

Merged
2 commits merged into from Dec 12, 2022
Merged

Multi region #187

2 commits merged into from Dec 12, 2022

Conversation

ghost
Copy link

@ghost ghost commented Nov 24, 2022

What type of PR is this?
/kind feature

What this PR does / why we need it:
Release image in cloudgouv region

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #189
Fixes #181

Special notes for your reviewer:

Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

TODOs:

  • squashed commits
  • includes documentation
  • adds unit tests

@ghost
Copy link
Author

ghost commented Nov 24, 2022

Closes #189

@ghost
Copy link
Author

ghost commented Nov 24, 2022

Closes #181

@ghost ghost requested a review from outscale-hmi November 25, 2022 08:15
Copy link
Contributor

@outscale-hmi outscale-hmi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good

@ghost ghost assigned outscale-mdr and unassigned outscale-mdr Nov 25, 2022
@ghost ghost requested a review from outscale-mdr November 25, 2022 13:15
Makefile Outdated
@@ -25,7 +25,8 @@ OSC_ACCESS_KEY ?= access
OSC_SECRET_KEY ?= secret
OSC_CLUSTER ?= cluster-api
CLUSTER ?= cluster-api
GH_ORG_NAME ?= outscale-dev
GH_ORG_NAME ?= outscale-dev
GH_ORG_USER_NAME ?= outscale-vbr
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is temporary ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will replace GH_ORG_USER_NAME ?= outscale-vbr
by GH_ORG_USER_NAME ?= outscale-dev

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok done

@ghost ghost requested a review from outscale-mdr December 2, 2022 08:29
Copy link
Contributor

@outscale-mdr outscale-mdr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Be careful when committing

Comment on lines 130 to 131
cloud-provider: external
provider-id: osc://'{{ ds.meta_data.instance_id }}'
provider-id: aws:///'{{ ds.meta_data.instance_id }}'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not for the PR, watchout during the commit !

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is remove

Makefile Outdated
@@ -121,7 +122,7 @@ mock-generate: mockgen ## Generate mock

.PHONY: generate-image-docs
generate-image-docs:
./.github/scripts/launch.sh -c ${GIT_BRANCH} -o ${GH_ORG_NAME} -r ${GH_REPO_NAME} -n ${GIT_USERNAME} -e ${GIT_USEREMAIL}
./.github/scripts/launch.sh -c "${GIT_BRANCH}" -o "${GH_ORG_NAME}" -r "${GH_REPO_NAME}" -n "${GIT_USERNAME}" -g "${GH_ORG_USER_NAME}" -e "${GIT_USEREMAIL}"
Copy link
Contributor

@outscale-mdr outscale-mdr Dec 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is nice to have a new parameter but now we have a lot. Do we really need to introduce a new one ? GH_ORG_USER_NAME has the same value as GH_ORG_NAME. In the future, i don't see why it will be different

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@outscale-mdr Are you ok with the latest version ?

@ghost ghost added the kind/feature Feature resolution label Dec 7, 2022
@ghost ghost requested a review from outscale-mdr December 7, 2022 13:33
@ghost
Copy link
Author

ghost commented Dec 8, 2022

@outscale-mdr Are you ok with the latest version ?

echo "Set Default Values";
GH_ORG_USER_NAME=outscale-vbr
else
echo "GH_ORG_USER_NAME is set ti '$GH_ORG_USER_NAME'"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to

Makefile Outdated
@@ -121,7 +122,7 @@ mock-generate: mockgen ## Generate mock

.PHONY: generate-image-docs
generate-image-docs:
./.github/scripts/launch.sh -c ${GIT_BRANCH} -o ${GH_ORG_NAME} -r ${GH_REPO_NAME} -n ${GIT_USERNAME} -e ${GIT_USEREMAIL}
./.github/scripts/launch.sh -c "${GIT_BRANCH}" -o "${GH_ORG_NAME}" -r "${GH_REPO_NAME}" -n "${GIT_USERNAME}" -g "${GH_ORG_USER_NAME}" -e "${GIT_USEREMAIL}"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@outscale-mdr Are you ok with the latest version ?

Comment on lines 130 to 131
cloud-provider: external
provider-id: osc://'{{ ds.meta_data.instance_id }}'
provider-id: aws:///'{{ ds.meta_data.instance_id }}'
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is remove

@ghost ghost merged commit c28aff7 into outscale:main Dec 12, 2022
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Feature resolution
Development

Successfully merging this pull request may close these issues.

Release Kubernetes Image in cloudgov Script failed with AK/SK not in good region
3 participants