Skip to content

Remove old staging deployment, automatically deploy tracker.security.nixos.org#479

Merged
Erethon merged 3 commits intoNixOS:mainfrom
Erethon:staging-to-infra
Feb 3, 2025
Merged

Remove old staging deployment, automatically deploy tracker.security.nixos.org#479
Erethon merged 3 commits intoNixOS:mainfrom
Erethon:staging-to-infra

Conversation

@Erethon
Copy link
Collaborator

@Erethon Erethon commented Jan 9, 2025

Opening as a draft PR for now as I want to verify that GH actions work as expected first.

This completely removes the old staging setup, @RaitoBezarius I believe you can now destroy that installation if you want to reclaim your resources. CC'ing @fricklerhandwerk to verify this is true.

This also updates GH actions to automatically update the new infra on code changes in the repo. For now it removes the database dumps because they depended on various infra components that were part of Raito's setup, but if we think they're important we can re-introduce them in a different manner. It also breaks the development using a container, but we can re-introduce this easily if it was used.

@fricklerhandwerk
Copy link
Collaborator

Dismantling the staging configuration is alright. We just need to keep track of what needs to get reconstructed. That gets kinda annoying when the original code is removed. I recommend opening issues for each feature and linking to the old commits so it's easy to find the previous state.

@Erethon Erethon force-pushed the staging-to-infra branch 3 times, most recently from 038aa76 to bebe046 Compare January 31, 2025 20:32
@Erethon Erethon marked this pull request as ready for review January 31, 2025 20:50
@Erethon
Copy link
Collaborator Author

Erethon commented Jan 31, 2025

Marked this as ready to review, but I think we can merge as is and see if the CI fails after this (it shouldn't).

Copy link
Collaborator

@fricklerhandwerk fricklerhandwerk left a comment

Choose a reason for hiding this comment

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

Yep. Just make sure to recreate the DB eventually. We can take care of auto-updating dependencies later, the code never built with unstable anyway.

Move container.nix into infra so local container development is still
possible
@Erethon Erethon merged commit fa23d3f into NixOS:main Feb 3, 2025
4 checks passed
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