File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change 1
1
package :
2
2
name : apicurio-registry
3
3
version : " 3.0.9"
4
- epoch : 3
4
+ epoch : 4
5
5
description : An API/Schema registry - stores APIs and Schemas
6
6
copyright :
7
7
- license : Apache-2.0
@@ -71,12 +71,30 @@ subpackages:
71
71
- working-directory : ui
72
72
runs : |
73
73
npm install
74
+ npm run clean
74
75
npm audit fix --package-lock-only --legacy-peer-deps || true
75
76
npm run build
77
+ npm run package
76
78
79
+ # Move UI assets to expected directory
77
80
mkdir -p ${{targets.contextdir}}/opt/app-root/src
78
81
cp -r ui-app/dist/* ${{targets.contextdir}}/opt/app-root/src/
79
82
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
+
80
98
update :
81
99
enabled : true
82
100
github :
You can’t perform that action at this time.
0 commit comments