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

add dev setup guide #656

Merged
merged 13 commits into from
Jun 27, 2022
Merged

add dev setup guide #656

merged 13 commits into from
Jun 27, 2022

Conversation

cjerad
Copy link
Contributor

@cjerad cjerad commented Jun 23, 2022

Issue #, if available:

Description of changes:

Re-organize files and add instructions for setting up a development environment (see DEVELOPMENT.md).

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@cjerad cjerad marked this pull request as ready for review June 23, 2022 20:29
@cjerad cjerad requested a review from a team as a code owner June 23, 2022 20:29
Copy link
Contributor

@LikithaVemulapalli LikithaVemulapalli left a comment

Choose a reason for hiding this comment

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

Great work Jerad. Followed the Dev Setup guide, looks good to me 👍

@brycahta brycahta self-requested a review June 24, 2022 15:40
Copy link
Contributor

@brycahta brycahta left a comment

Choose a reason for hiding this comment

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

Nice work 👍 Appreciate the clear descriptions and thorough steps.

DEVELOPMENT.md Outdated Show resolved Hide resolved
DEVELOPMENT.md Outdated Show resolved Hide resolved
DEVELOPMENT.md Show resolved Hide resolved
export TERMINATOR_NAME=<name>
export QUEUE_URL=$(./scripts/get-cfn-stack-output.sh "${QUEUE_STACK_NAME}" QueueURL)

envsubst <resources/terminator.yaml.tmpl >terminator-${TERMINATOR_NAME}.yaml
Copy link
Contributor

Choose a reason for hiding this comment

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

similar to previous section, I think it's better to state what needs to be done (substitution) and let user decide how to do it

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I view this as a how-to guide. When I'm reading a how-to guide I prefer clear and detailed instructions rather than the implementation being left as "an exercise for the reader".

Specifically referencing the use of envsubst: below the code block, alternate instructions are given if the reader does not wish to use that tool.

resources/dev-infrastructure.yaml Outdated Show resolved Hide resolved
resources/infrastructure.yaml Outdated Show resolved Hide resolved
resources/queue-infrastructure.yaml Outdated Show resolved Hide resolved
scripts/clear-image-repo.sh Outdated Show resolved Hide resolved
scripts/get-cfn-stack-output.sh Outdated Show resolved Hide resolved
Copy link
Contributor

@brycahta brycahta left a comment

Choose a reason for hiding this comment

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

/lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
V2
Awaiting triage
Development

Successfully merging this pull request may close these issues.

None yet

3 participants