Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 23e362d

Browse filesBrowse files
committed
Rename CI jobs for UI (ui_ prefix)
1 parent 73a9c0f commit 23e362d
Copy full SHA for 23e362d

File tree

3 files changed

+16
-9
lines changed
Filter options

3 files changed

+16
-9
lines changed

‎ui/README.md

Copy file name to clipboardExpand all lines: ui/README.md
+7Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff 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 -->

‎ui/packages/ce/.gitlab-ci.yml

Copy file name to clipboardExpand all lines: ui/packages/ce/.gitlab-ci.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
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:

‎ui/packages/platform/.gitlab-ci.yml

Copy file name to clipboardExpand all lines: ui/packages/platform/.gitlab-ci.yml
+7-7Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.