File tree Expand file tree Collapse file tree 3 files changed +16
-9
lines changed Expand file tree Collapse file tree 3 files changed +16
-9
lines changed Original file line number Diff line number Diff line change @@ -36,4 +36,11 @@ _Important note: don't use commands for `@postgres.ai/shared` - it's dependent p
3636- ` npm ci -ws `
3737- ` npm build -ws `
3838
39+ ### CI pipelines for UI code
40+ To deploy UI changes, tag the commit with ` ui/ ` prefix and push it. For example:
41+ ``` shell
42+ git tag ui/1.0.12
43+ git push origin ui/1.0.12
44+ ```
45+
3946<!-- TODO: move this ^ to the main README.md and CONTRIBUTING.md -->
Original file line number Diff line number Diff line change 2020 - bash ./ui/packages/ce/ci_docker_build_push.sh
2121
2222# Jobs.
23- build_basic_image_release :
23+ ui_build_ce_image_release :
2424 << : *build_definition
2525 << : *only_ui_tag_release
2626 variables :
@@ -32,7 +32,7 @@ build_basic_image_release:
3232 - export UI_VERSION=$(echo ${CI_COMMIT_TAG#"ui/"})
3333 - export TAGS="${DOCKER_NAME}:${UI_VERSION},${DOCKER_NAME}:latest"
3434
35- build_basic_image_dev :
35+ ui_build_ce_image_dev :
3636 << : *build_definition
3737 << : *only_ui_feature
3838 variables :
Original file line number Diff line number Diff line change @@ -84,38 +84,38 @@ workflow:
8484
8585# Jobs.
8686# Production.
87- build_cloud_image_tag_release :
87+ ui_build_platform_image_tag_release :
8888 << : *env_production
8989 << : *only_ui_tag_release
9090 << : *build_definition
9191
92- deploy_cloud_image_tag_release :
92+ ui_deploy_platform_image_tag_release :
9393 << : *env_production
9494 << : *only_ui_tag_release
9595 << : *deploy_definition
9696
9797# Staging.
98- build_cloud_image_staging :
98+ ui_build_platform_image_staging :
9999 << : *env_staging
100100 << : *only_ui_staging
101101 << : *build_definition
102102
103- deploy_cloud_image_staging :
103+ ui_deploy_platform_image_staging :
104104 << : *env_staging
105105 << : *only_ui_staging
106106 << : *deploy_definition
107107
108108# Dev.
109- build_cloud_image_dev :
109+ ui_build_platform_image_dev :
110110 << : *env_dev
111111 << : *only_ui_feature
112112 << : *build_definition
113113 allow_failure : true # Workaround: https://gitlab.com/gitlab-org/gitlab/-/issues/20237
114114
115- deploy_cloud_image_dev :
115+ ui_deploy_platform_image_dev :
116116 << : *env_dev
117117 << : *only_ui_feature
118118 << : *deploy_definition
119119 allow_failure : true
120120 needs :
121- - build_cloud_image_dev
121+ - ui_build_platform_image_dev
You can’t perform that action at this time.
0 commit comments