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

DM-40142: Infrastructure upgrades #52

Merged
merged 19 commits into from
Jul 24, 2023
Merged

DM-40142: Infrastructure upgrades #52

merged 19 commits into from
Jul 24, 2023

Conversation

jonathansick
Copy link
Member

@jonathansick jonathansick commented Jul 21, 2023

Updates to the Times Square codebase to bring it up to our modern standards:

  • Adopt scriv for managing the changelog.
  • Adopt ruff for linting, and update the codebase accordingly.
  • Adopt the new neophile workflow for managing dependencies.
  • Adopt the new lsst-sqre/build-and-push-to-ghcr GitHub Action for building and pushing Docker images.
  • Adopt the new FastAPI lifespan function for handling start-up and shutdown.
  • Create a Sphinx documentation site at times-square.lsst.io.

This enables us to migrate to scriv
FastAPI is deprecated "example", now using "examples".
- Use new actions in the main ci.yaml workflow
- Adopt the dependencies.yaml to update pre-commit hooks
- Use periodic-ci.yaml to test if the app is compatible with future
  dependencies.
- Delete unneeded tagging script
It's super annoying because it fails if the existing dependencies are
unhashed. This is definitely better as a weekly heads-up.
- Create an enum of common tags to apply to path operations.
- Drop the v1 tag
@jonathansick jonathansick marked this pull request as ready for review July 24, 2023 18:53
@jonathansick jonathansick merged commit 0b9d5e6 into main Jul 24, 2023
4 checks passed
@jonathansick jonathansick deleted the tickets/DM-40142 branch July 24, 2023 18:57
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.

None yet

1 participant