File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Expand file tree Collapse file tree 1 file changed +6
-9
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 : 4
4
+ epoch : 5
5
5
description : An API/Schema registry - stores APIs and Schemas
6
6
copyright :
7
7
- license : Apache-2.0
@@ -71,9 +71,12 @@ 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
@@ -82,24 +85,18 @@ subpackages:
82
85
pipeline :
83
86
- working-directory : ui
84
87
runs : |
85
- # Configure certificate and key
88
+ # Configure certificate and key (per upstream)
86
89
mkdir -p /etc/pki/nginx/private
87
90
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/pki/nginx/private/server.key -out /etc/pki/nginx/server.crt --batch
88
91
chown -R 1001:0 /etc/pki/nginx/ && chmod 755 /etc/pki/nginx/private/server.key /etc/pki/nginx/server.crt
89
92
90
- # Copy configuration scripts
93
+ # Copy configuration scripts (per upstream)
91
94
config_dest="${{targets.contextdir}}/usr/local/bin/"
92
95
install -Dm644 -o 1001 -g 0 .docker-scripts/create-config.cjs "${config_dest}/create-config.cjs"
93
96
install -Dm644 -o 1001 -g 0 .docker-scripts/update-base-href.cjs "${config_dest}/update-base-href.cjs"
94
97
install -Dm644 -o 1001 -g 0 .docker-scripts/entrypoint.sh "${config_dest}/entrypoint.sh"
95
98
install -Dm644 -o 1001 -g 0 .docker-scripts/nginx.conf "${config_dest}/etc/nginx/nginx.conf"
96
99
97
- # Copy dist files
98
- # cp dist/ ${{targets.contextdir}}
99
-
100
- # Grant write permission to group
101
- # chmod -R g+w /opt/app-root/src /usr/local/bin/
102
-
103
100
update :
104
101
enabled : true
105
102
github :
You can’t perform that action at this time.
0 commit comments