Skip to content

Stateful backend to keep track of unity versions and docker build queues

License

Notifications You must be signed in to change notification settings

brako/versioning-backend

This branch is 2 commits behind game-ci/versioning-backend:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e3d917f · Jun 6, 2024

History

68 Commits
Jun 5, 2024
Jun 6, 2024
Oct 5, 2020
Oct 5, 2020
Oct 5, 2020
Jun 5, 2024
Oct 5, 2020
Oct 5, 2020
Oct 5, 2020
Oct 5, 2020
Oct 5, 2020
Jan 23, 2022
Oct 5, 2020
Jun 5, 2024
Jun 5, 2024
Feb 27, 2021
Feb 27, 2021
Jun 5, 2024
Oct 5, 2020
Jun 5, 2024

Repository files navigation

GameCI Versioning Backend

Unity version ingest

TODO - Describe how it works

game-ci/docker version ingest

TODO - Describe how it works

Scheduler

Each CiJob starts its own workflow.

Each Workflow generates multiple CiBuilds: one per baseOs-targetPlatform combination. The CiJob workflow will report back a CiBuild for each combination.

For example:

...
  ubuntu-<version>-linuxIl2cpp
  ubuntu-<version>-webgl
  windows-<version>-webgl
...

An endpoint from this backend will listen to the reports and update the database. Each CiBuild starts with the status "started" after it is being reported.

When the last CiBuild is set to "published", the CiJob for that version is also set to "completed". Completed CiJobs are reported to Discord.

Ingeminator

TODO - Describe how it works

Database Backup

The firestore database can be backed up with the following command: yarn run backfire export ./export/versioningBackendBackup --project unity-ci-versions --keyFile <PATH_TO_GOOGLE_CLOUD_SERVICE_ACCOUNT_KEYFILE.json>

Similarly, it can be used to restore a backup with: yarn run backfire import ./export/versioningBackendBackup --project unity-ci-versions --keyFile <PATH_TO_GOOGLE_CLOUD_SERVICE_ACCOUNT_KEYFILE.json>

You likely would want to empty the database before restoring but you can also use flags like overwrite, merge, etc to control the restoration rules.

About

Stateful backend to keep track of unity versions and docker build queues

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 93.1%
  • HTML 4.9%
  • JavaScript 2.0%