Skip to content

Commit 155dc4c

Browse files
authored
Merge pull request #57462 from mcaveety/apicurio-registry-ui
apicurio-registry: update package
2 parents c7c6a7c + a2021b8 commit 155dc4c

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

apicurio-registry.yaml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package:
22
name: apicurio-registry
33
version: "3.0.9"
4-
epoch: 3
4+
epoch: 4
55
description: An API/Schema registry - stores APIs and Schemas
66
copyright:
77
- license: Apache-2.0
@@ -71,12 +71,30 @@ subpackages:
7171
- working-directory: ui
7272
runs: |
7373
npm install
74+
npm run clean
7475
npm audit fix --package-lock-only --legacy-peer-deps || true
7576
npm run build
77+
npm run package
7678
79+
# Move UI assets to expected directory
7780
mkdir -p ${{targets.contextdir}}/opt/app-root/src
7881
cp -r ui-app/dist/* ${{targets.contextdir}}/opt/app-root/src/
7982
83+
- name: ${{package.name}}-nginx-config
84+
description: nginx configuration files for upstream configuration
85+
dependencies:
86+
runtime:
87+
- docker-nginx
88+
pipeline:
89+
- working-directory: ui
90+
runs: |
91+
# Copy configuration scripts (per upstream)
92+
config_dest="${{targets.contextdir}}/usr/local/bin/"
93+
install -Dm644 .docker-scripts/create-config.cjs "${config_dest}/create-config.cjs"
94+
install -Dm644 .docker-scripts/update-base-href.cjs "${config_dest}/update-base-href.cjs"
95+
install -Dm644 .docker-scripts/entrypoint.sh "${config_dest}/entrypoint.sh"
96+
install -Dm644 .docker-scripts/nginx.conf "${config_dest}/etc/nginx/nginx.conf"
97+
8098
update:
8199
enabled: true
82100
github:

0 commit comments

Comments
 (0)