Skip to content

Release Workflow

Kelle Cruz edited this page Oct 15, 2024 · 11 revisions
  • Figure out Version Number (#549)
    • N.X.YYYY.m.
      • N is for the schema
      • X is the for simple package
      • YYYY.m is for the database holdings.
  • Update Versions table
  • Create Release on Github
    • Tag and Release same should be the same.
  • If necessary, update SIMPLE-binary repo with new database file
    • Creating the release auto-triggers the Generate Database action
  • Run a codespace instance from SIMPLE-web repo to make sure the website works with new database.
    • The codespace takes a couple minutes to setup.
    • The setup script will get the latest database file. if not, wget https://raw.githubusercontent.com/SIMPLE-AstroDB/SIMPLE-binary/main/SIMPLE.sqlite
    • You should only need to run this line to launch the website: python -m simple_app.app_simple
  • Sync new file to website host.
    • Wait for Sunday at midnight or run manually with sh cronjob.sh from the Application Server Web SSH terminal.
  • Restart Application Server Nodes on website host
  • Start an instance of the app by visiting https://simple-bd-archive.org/. It may take a minute to load.
Clone this wiki locally