1
0
Fork 0
mirror of synced 2024-07-04 05:50:57 +12:00
budibase/.github/workflows/README.md

46 lines
1.5 KiB
Markdown
Raw Normal View History

2021-12-22 05:21:44 +13:00
# Budibase CI Pipelines
2023-12-12 04:04:28 +13:00
Welcome to the Budibase CI pipelines directory. This document details what each of the CI pipelines are for, and come common combinations.
2021-12-22 05:21:44 +13:00
## All CI Pipelines
### Standard CI Build Job (budibase_ci.yml)
2023-09-08 01:27:13 +12:00
Triggers:
2023-09-08 01:27:13 +12:00
- PR or push to master
2021-12-22 05:21:44 +13:00
2023-12-12 04:04:28 +13:00
The standard CI Build job is what runs when you raise a PR to master.
2023-09-08 01:27:13 +12:00
- Installs all dependencies,
2023-09-08 01:27:13 +12:00
- builds the project
- run the unit tests
- Generate test coverage metrics with codecov
2023-09-08 01:27:13 +12:00
- Run the integration tests
2023-12-12 04:04:28 +13:00
- Check that the pro and account portal submodules are pointing to the lastest master head
2021-12-22 05:21:44 +13:00
2023-12-12 04:04:28 +13:00
### Release Job (tag-release.yml)
2023-09-08 01:27:13 +12:00
Triggers:
2023-09-08 01:27:13 +12:00
2023-12-12 04:04:28 +13:00
- Manually triggered
2023-12-12 04:04:28 +13:00
This job is responsible for building and pushing all the production services, packages and images. This is done via [budibase-deploys](https://github.com/Budibase/budibase-deploys/actions/workflows/release.yml).
2023-09-08 01:27:13 +12:00
2023-12-12 04:04:28 +13:00
An input is required, indicating if the new version will be a `patch`, `minor` or `major` bump.
2023-12-12 04:04:28 +13:00
More documentation can be found in here: https://budibase.atlassian.net/wiki/spaces/DEVOPS/pages/347930625/Production+release
2021-12-22 05:21:44 +13:00
## Common Workflows
### Deploy Changes to Production (Release)
2023-09-08 01:27:13 +12:00
2023-12-12 04:04:28 +13:00
- Merge your changes into `master`
- Run `tag-release.yml`
- Check the progress in [budibase-deploys](https://github.com/Budibase/budibase-deploys/actions/workflows/release.yml)
2021-12-22 05:21:44 +13:00
### Rollback A Bad Cloud Deployment
2023-09-08 01:27:13 +12:00
2023-12-12 04:40:11 +13:00
Rollback documentation can be found in here.
https://budibase.atlassian.net/wiki/spaces/DEVOPS/pages/347930625/Production+release#Rollback