Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Add all valid regions as of July 19th 2018... #62

Merged
merged 1 commit into from
Sep 8, 2018

Conversation

mgajda
Copy link

@mgajda mgajda commented Aug 27, 2018

Just to make it work for all non-US people out of the box...

@mgajda
Copy link
Author

mgajda commented Aug 27, 2018

Just update of #61, #59, #55, and #54.

Copy link
Contributor

@jpignata jpignata left a comment

Choose a reason for hiding this comment

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

Looks good! Couple of questions, and it would be great if you could squash to eliminate some of the debugging commits.

cmd/root.go Outdated
}
if (! foundRegion) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you run this through gofmt?

Copy link
Author

Choose a reason for hiding this comment

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

Sure, will.

docker/main.go Outdated
@@ -46,7 +46,7 @@ func (repository *Repository) Login(username, password string) {

func (repository *Repository) Build(tag string) {
console.Debug("Building Docker image [%s]", repository.UriFor(tag))
console.Shell("docker build --tag %s .", repository.UriFor(tag))
console.Shell("docker build --rm=false --tag %s .", repository.UriFor(tag))
Copy link
Contributor

Choose a reason for hiding this comment

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

Hmm - this seems unrelated to the fix proposed. Happy to merge it separately with some explanation about the benefits.

Copy link
Author

Choose a reason for hiding this comment

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

Yes, I will put it into separate branch. Shortens build time when you frequently rebuild the same image.

@tisba
Copy link

tisba commented Sep 4, 2018

Please keep in mind that there seems to be more changes required, as pointed out in #54 (issues regarding security groups).

@jpignata
Copy link
Contributor

jpignata commented Sep 4, 2018

Thanks, @tisba. I suppose we can handle that separately. It seems possible to me off the top of my head that default VPCs have some kind of behavior difference between US East (N. Virginia) and elsewhere, though I don't know of any off the top of my head.

@tisba
Copy link

tisba commented Sep 4, 2018

I don't recall exactly what the issue was. The only solution I found back then was to provide an explicit security group.

¯_(ツ)_/¯

Also fixed failing loop that allows only one region ever.
@mgajda
Copy link
Author

mgajda commented Sep 8, 2018

Hi John,
I implemented your suggestions:

@mgajda
Copy link
Author

mgajda commented Sep 8, 2018 via email

@jpignata jpignata merged commit d1a9e15 into awslabs:master Sep 8, 2018
@tisba
Copy link

tisba commented Sep 24, 2018

Are you planning to make a new release, @jpignata?

@osterman osterman mentioned this pull request Oct 8, 2018
@pahud
Copy link

pahud commented Nov 4, 2018

please release 0.2.4 with this PR, thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants