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

Docs about AWS hubs and CI/CD automation #717

Merged
merged 12 commits into from
Nov 1, 2021
Merged

Docs about AWS hubs and CI/CD automation #717

merged 12 commits into from
Nov 1, 2021

Conversation

damianavila
Copy link
Contributor

This is just the first iteration to put stuff out there for some early feedback (I am pretty sure I have a lot of things to fix on the formatting side).

Btw, I am pretty sure @choldgraf will have a LOT of comments and all of them are welcome.

Starting as draft PR for now, for obvious reasons! 😉

Copy link
Member

@choldgraf choldgraf left a comment

Choose a reason for hiding this comment

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

This is looking like a lot of good content @damianavila! I gave it a quick look-through and have some high-level comments throughout. I can give it a closer pass w/ edits later on after some iterations. I think my biggest questions are around the right location for much of this information. Also kind-of feel like we should treat "automatically deploy a hub" as a pre-requisite for deploying the hub in the first place (AKA, don't make it seem like manually-deploying hubs is an acceptable outcome...that should be a very rare case assuming that our automatic deployment infrastructure works).

If it's helpful to chat about this I'd be happy to hop on a call sometime this week to discuss!

docs/howto/operate/ci-cd.md Outdated Show resolved Hide resolved
docs/howto/operate/ci-cd.md Outdated Show resolved Hide resolved
docs/howto/operate/ci-cd.md Outdated Show resolved Hide resolved
docs/howto/operate/ci-cd.md Outdated Show resolved Hide resolved
docs/howto/operate/ci-cd.md Outdated Show resolved Hide resolved
docs/howto/operate/ci-cd.md Outdated Show resolved Hide resolved
docs/howto/operate/ci-cd.md Outdated Show resolved Hide resolved
docs/howto/operate/index.md Outdated Show resolved Hide resolved
docs/howto/operate/new-hub/index.md Outdated Show resolved Hide resolved
docs/howto/operate/new-hub/index.md Show resolved Hide resolved
Thanks to Chris' feedback I was able to reorganize the documentation I
have written in a minor (placeholder) reference section for our CI/CD
system and a how-to guide to set up the CI/CD stuff on AWS clusters.

In addition, I have tried to fix some identation problem so I get the
expected numbering in the subsections, I tried to be more specific in
the referenced (hiperlinked) sections and some other minor fixes such as
new notes or removing superfluos admonitions.
@damianavila damianavila marked this pull request as ready for review October 13, 2021 01:15
Copy link
Member

@GeorgianaElena GeorgianaElena left a comment

Choose a reason for hiding this comment

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

This looks great 🚀 Thanks @damianavila! I left a few comments, but are more about the syntax rather than the content.

docs/howto/operate/new-hub/aws.md Outdated Show resolved Hide resolved
docs/howto/operate/new-hub/aws.md Outdated Show resolved Hide resolved
docs/howto/operate/new-hub/aws.md Outdated Show resolved Hide resolved
docs/howto/operate/new-hub/index.md Outdated Show resolved Hide resolved
docs/howto/operate/new-hub/index.md Outdated Show resolved Hide resolved
docs/howto/operate/setup-ci-cd-aws.md Outdated Show resolved Hide resolved
docs/howto/operate/setup-ci-cd-aws.md Outdated Show resolved Hide resolved
docs/reference/ci-cd.md Outdated Show resolved Hide resolved
docs/reference/ci-cd.md Outdated Show resolved Hide resolved
docs/reference/tools.md Show resolved Hide resolved
Copy link
Member

@choldgraf choldgraf left a comment

Choose a reason for hiding this comment

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

Another quick high-level pass - the structure is much better than last time! I had a few more high-level comments and can dig into the content again after another iteration or two + addressing @GeorgianaElena's comments!

docs/howto/operate/new-hub/aws.md Outdated Show resolved Hide resolved
docs/howto/operate/setup-ci-cd-aws.md Outdated Show resolved Hide resolved
docs/howto/operate/setup-ci-cd-aws.md Outdated Show resolved Hide resolved
docs/howto/operate/setup-ci-cd-aws.md Outdated Show resolved Hide resolved
@choldgraf
Copy link
Member

Also wanted to bring over a great point from @sgibson91 in a recent issue:

For future reference, the path list the would cause new deployments can be found here:

paths:
- deployer/**
- hub-templates/**
- requirements.txt
- dev-requirements.txt
- config/secrets.yaml
- config/hubs/**
- .github/workflows/deploy-hubs.yaml
- .github/actions/deploy/**

Since we are adding some CI/CD sections here, I think this would be a great place to document which files will trigger new builds if we edit them.

@damianavila
Copy link
Contributor Author

@choldgraf @GeorgianaElena I think this is ready for another review 😉 .

@choldgraf choldgraf changed the title Create the first iteration on docs about AWS hubs automation Docs about AWS hubs automation Oct 26, 2021
@choldgraf choldgraf changed the title Docs about AWS hubs automation Docs about AWS hubs and CI/CD automation Oct 26, 2021
Copy link
Member

@choldgraf choldgraf left a comment

Choose a reason for hiding this comment

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

I just took another pass and pushed a commit with a few edits and clean-ups. I mostly made changes to reduce wordiness and try to make the flow a bit more clear. I think that this is pretty much good to go! We can iterate on this content in subsequent iterations!

Copy link
Member

@GeorgianaElena GeorgianaElena left a comment

Choose a reason for hiding this comment

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

🚀

@choldgraf
Copy link
Member

@damianavila anything you want to finish up here, or shall we merge?

@damianavila
Copy link
Contributor Author

damianavila commented Nov 1, 2021

This is ready, let's push the green button.
Thanks everyone for your feedback!!

@damianavila damianavila merged commit b5bdcc0 into master Nov 1, 2021
@damianavila damianavila deleted the aws_ci_docs branch November 1, 2021 19:45
@damianavila damianavila mentioned this pull request Nov 1, 2021
5 tasks
@choldgraf
Copy link
Member

wahoo!

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.

Add documentation about best-practices in deploying hubs on AWS
3 participants