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

Generation of static AMI list #221

Merged
merged 3 commits into from
Sep 21, 2018
Merged

Generation of static AMI list #221

merged 3 commits into from
Sep 21, 2018

Conversation

richardcase
Copy link
Contributor

Description

The list of AMIs to use for the static resolver is now generated
via go:generate. The list is queried from AWS and output to a code
file.

A separate makefile target called 'generate-ami' has been added that
runs go generate. The reason for a separate target is the fact that
AWS credentials are required for the code generation and this would
break the current workflow for the 'generate' target.

Another makefile target called 'ami-check' has been added. The
intended purpose of this by an automated scheduled process that
will run to check if new images are available.

Issue #49

Checklist

  • Code compiles correctly (i.e make build)
  • Added tests that cover your change (if possible)
  • All tests passing (i.e. make test)
  • Added/modified documentation as required (such as the README)
  • Added yourself to the humans.txt file

@stefanprodan
Copy link
Contributor

Hi @richardcase GitHub says that your branch is out of date with master, can you do rebase.

The list of AMIs to use for the static resolver is now generated
via go:generate. The list is queried from AWS and output to a code
file.

A separate makefile target called 'generate-ami' has been added that
runs go generate. The reason for a separate target is the fact that
AWS credentials are required for the code generation and this would
break the current workflow for the 'generate' target.

Another makefile target called 'ami-check' has been added. The
intended purpose of this by an automated scheduled process that
will run to check if new images are available.

Issue #49
The dockerfile for eksctl has been update to explicitly call the
'build' goal. And the default goal for the makefile has been set
to the new 'help' goal which print help/usage information.
@richardcase
Copy link
Contributor Author

Ah, rebased now. Thanks @stefanprodan

Copy link
Contributor

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

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

LGTM thanks!

@richardcase richardcase merged commit 78209ca into master Sep 21, 2018
@richardcase richardcase deleted the static-ami-generator branch September 21, 2018 04:02
@richardcase richardcase mentioned this pull request Sep 26, 2018
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