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

Implement automation for archival snapshots #428

Closed
wants to merge 45 commits into from

Conversation

sudo-shashank
Copy link
Contributor

@sudo-shashank sudo-shashank commented Mar 26, 2024

Summary of changes
Changes introduced in this pull request:

Reference issue to close (if applicable)

Closes #414

Other information and links

@sudo-shashank sudo-shashank force-pushed the shashank/archival-snapshots branch from f4de8c7 to 47630a4 Compare March 27, 2024 10:48
@sudo-shashank sudo-shashank force-pushed the shashank/archival-snapshots branch from 3c67b82 to c8afdd4 Compare March 27, 2024 13:45
@sudo-shashank sudo-shashank marked this pull request as ready for review April 1, 2024 11:05
@sudo-shashank sudo-shashank requested a review from a team as a code owner April 1, 2024 11:05
@sudo-shashank sudo-shashank requested review from ruseinov and hanabi1224 and removed request for a team April 1, 2024 11:05
Copy link
Contributor

@lemmih lemmih left a comment

Choose a reason for hiding this comment

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

Good start. There are a few things that need to be addressed:

  • The code appears to be fragile. If aws or ruby are missing, the code will fail silently. If there's an error in the script, the code will fail silently. If the snapshots aren't exported or uploaded correctly, the code will fail silently.
  • There are a lot of assumptions about Archie that aren't guaranteed to hold:
    • You can't assume aws is installed.
    • You can't assume forest is installed.
    • You can't assume a Forest node is running.
    • You can't assume Ruby is installed.

ansible/archival-snapshots/resources/diff_script.sh Outdated Show resolved Hide resolved
ansible/archival-snapshots/resources/init.sh Outdated Show resolved Hide resolved
ansible/archival-snapshots/resources/init.sh Outdated Show resolved Hide resolved
.github/workflows/deploy-archival-snapshots.yml Outdated Show resolved Hide resolved
.github/workflows/deploy-archival-snapshots.yml Outdated Show resolved Hide resolved
ansible/archival-snapshots/resources/init.sh Outdated Show resolved Hide resolved
@lemmih
Copy link
Contributor

lemmih commented Apr 3, 2024

Also, please describe your solution/changes in the PR description.

@sudo-shashank sudo-shashank force-pushed the shashank/archival-snapshots branch from 77f1e96 to d8aa928 Compare June 6, 2024 06:25
@sudo-shashank sudo-shashank marked this pull request as ready for review June 19, 2024 10:54
@sudo-shashank sudo-shashank marked this pull request as draft June 19, 2024 10:54
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.

Automate archival snapshot uploads
3 participants