underpost 3.2.11 → 3.2.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/ghpkg.ci.yml +1 -0
- package/.github/workflows/npmpkg.ci.yml +9 -5
- package/CHANGELOG.md +76 -1
- package/CLI-HELP.md +906 -1130
- package/README.md +50 -48
- package/bin/build.js +88 -137
- package/bin/build.template.js +23 -179
- package/bin/deploy.js +4 -1
- package/bin/index.js +2 -2
- package/conf.js +11 -37
- package/manifests/cronjobs/dd-cron/dd-cron-backup.yaml +2 -2
- package/manifests/cronjobs/dd-cron/dd-cron-dns.yaml +1 -1
- package/manifests/deployment/dd-default-development/deployment.yaml +2 -2
- package/package.json +9 -14
- package/src/cli/deploy.js +0 -228
- package/src/cli/image.js +58 -4
- package/src/cli/monitor.js +190 -6
- package/src/cli/release.js +5 -5
- package/src/cli/repository.js +80 -3
- package/src/cli/run.js +115 -69
- package/src/index.js +1 -1
- package/src/runtime/wp/Dockerfile +3 -3
- package/src/server/catalog-underpost.js +61 -0
- package/src/server/catalog.js +77 -0
- package/src/server/conf.js +336 -50
- package/src/server/start.js +9 -5
- package/test/deploy-monitor.test.js +188 -0
- package/manifests/deployment/dd-test-development/deployment.yaml +0 -256
- package/manifests/deployment/dd-test-development/proxy.yaml +0 -102
|
@@ -57,6 +57,7 @@ jobs:
|
|
|
57
57
|
- name: Clone and Push to github package repository
|
|
58
58
|
env:
|
|
59
59
|
GITHUB_TOKEN: ${{ secrets.GIT_AUTH_TOKEN }}
|
|
60
|
+
GITHUB_USERNAME: ${{ github.repository_owner }}
|
|
60
61
|
run: |
|
|
61
62
|
node bin clone --bare underpostnet/pwa-microservices-template-ghpkg
|
|
62
63
|
rm -rf ./.git
|
|
@@ -11,7 +11,7 @@ on:
|
|
|
11
11
|
required: false
|
|
12
12
|
default: ''
|
|
13
13
|
deploy_conf_id:
|
|
14
|
-
description: 'Engine conf ID to dispatch after build
|
|
14
|
+
description: 'Engine conf ID to dispatch after build'
|
|
15
15
|
required: false
|
|
16
16
|
default: ''
|
|
17
17
|
deploy_type:
|
|
@@ -85,20 +85,24 @@ jobs:
|
|
|
85
85
|
run: |
|
|
86
86
|
cd .. && node engine/bin clone underpostnet/pwa-microservices-template
|
|
87
87
|
cd engine
|
|
88
|
-
npm run
|
|
88
|
+
npm run build:template
|
|
89
89
|
cd ../pwa-microservices-template
|
|
90
90
|
git remote set-url origin git@github.com:underpostnet/pwa-microservices-template.git
|
|
91
91
|
git add .
|
|
92
92
|
git config user.name 'underpostnet'
|
|
93
93
|
git config user.email 'fcoverdugoa@underpost.net'
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
if git diff --cached --quiet; then
|
|
95
|
+
echo "[INFO] No template changes to publish; skipping commit and push."
|
|
96
|
+
else
|
|
97
|
+
node ../engine/bin cmt . ci package-pwa-microservices-template-ghpkg "$LAST_COMMIT_MESSAGE"
|
|
98
|
+
node ../engine/bin push . underpostnet/pwa-microservices-template
|
|
99
|
+
fi
|
|
96
100
|
|
|
97
101
|
- name: Dispatch all engine CIs
|
|
98
102
|
run: |
|
|
99
103
|
DEPLOY_CONF_ID="${{ github.event.inputs.deploy_conf_id }}"
|
|
100
104
|
DEPLOY_TYPE="${{ github.event.inputs.deploy_type }}"
|
|
101
|
-
for ENGINE in engine-core engine-cyberia engine-lampp engine-test; do
|
|
105
|
+
for ENGINE in engine-core engine-prototype engine-cyberia engine-lampp engine-test; do
|
|
102
106
|
SYNC="false"
|
|
103
107
|
DT=""
|
|
104
108
|
if [ "$ENGINE" = "$DEPLOY_CONF_ID" ]; then
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,81 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 2026-
|
|
3
|
+
## 2026-06-02
|
|
4
|
+
|
|
5
|
+
### runtime-wp
|
|
6
|
+
|
|
7
|
+
- Enhance Dockerfile: Add retry logic for XAMPP installation to handle flaky SourceForge transfers ([d76f7ec69](https://github.com/underpostnet/engine/commit/d76f7ec6959f6ef049d9ef46475e95b7045855a6))
|
|
8
|
+
|
|
9
|
+
### cli-run
|
|
10
|
+
|
|
11
|
+
- Bundle runner: Enhance client build process by adding options for zip building and replica handling; improve bundle upload logic for deployment ([ee79ccfea](https://github.com/underpostnet/engine/commit/ee79ccfeaf870c0f772027c0a103634774ac1d10))
|
|
12
|
+
- Add shared-dir command execution to UnderpostRun class ([a5d6a3a09](https://github.com/underpostnet/engine/commit/a5d6a3a09ab8ba439a2a21467a9e290a4f4ed59b))
|
|
13
|
+
|
|
14
|
+
### monitor
|
|
15
|
+
|
|
16
|
+
- Enhance pod status monitoring by adding advanced error checks and tracking for container status regressions ([de54ee20c](https://github.com/underpostnet/engine/commit/de54ee20c1cb76b53898c9785aefe4d2f972e84c))
|
|
17
|
+
- Refactor deployment monitoring and image management; add tests for deployment failure detection ([819d17f30](https://github.com/underpostnet/engine/commit/819d17f306f1d62e0663023fbd667ecf26f8df61))
|
|
18
|
+
|
|
19
|
+
### github-actions
|
|
20
|
+
|
|
21
|
+
- Add GITHUB_USERNAME environment variable to CI workflows for better repository management ([2f47aaaa1](https://github.com/underpostnet/engine/commit/2f47aaaa14e08a30904ae2cc8187b8fabb74a906))
|
|
22
|
+
- Update CI workflows to use environment-specific configuration files for engine core, cyberia, lampp, prototype, and test ([5c94eedf5](https://github.com/underpostnet/engine/commit/5c94eedf59ddd0a575288f028dbe8588c2931766))
|
|
23
|
+
- Add conditional checks to skip commit and push if no changes are detected in CI workflows ([033afed27](https://github.com/underpostnet/engine/commit/033afed27cd0fe9e12d614fb15ef00e056140aa9))
|
|
24
|
+
- Add npm install step to CI workflows for engine core, cyberia, lampp, prototype, and test ([25457022f](https://github.com/underpostnet/engine/commit/25457022f22b3b7e53c1a156cb2a0a7d35c7cd83))
|
|
25
|
+
- Add sparse checkout and configuration updates for engine prototype workflows ([787cbac2b](https://github.com/underpostnet/engine/commit/787cbac2b3694c050335f69656cca4e77d2d62bd))
|
|
26
|
+
- Add prototype ci cd workflows ([147f9c90e](https://github.com/underpostnet/engine/commit/147f9c90e00d36a2f44453432849d5b15200c7f5))
|
|
27
|
+
|
|
28
|
+
### docs
|
|
29
|
+
|
|
30
|
+
- Refactor CLI documentation generation in buildCliDoc ([fd2ef99ba](https://github.com/underpostnet/engine/commit/fd2ef99bac6204bfc3f8188c9e3b9cfb1707f7b9))
|
|
31
|
+
- Update architecture and server documentation ([a3eefadd1](https://github.com/underpostnet/engine/commit/a3eefadd1a26c2c2e1fbed6a6c24fae2bfa21ccf))
|
|
32
|
+
- Refactor documentation for Cyberia and Underpost Platform ([36c8234df](https://github.com/underpostnet/engine/commit/36c8234df258f2af819d21db3da88019f195d354))
|
|
33
|
+
|
|
34
|
+
### bin-build
|
|
35
|
+
|
|
36
|
+
- Enhance build process by adding source repo validation and restoration; implement pullSourceRepo method for managing public source repositories ([7cf35bcd8](https://github.com/underpostnet/engine/commit/7cf35bcd889f5a690f75df03fc0a082ee15f2c87))
|
|
37
|
+
- Enhance build process by adding template rebuild option and refactoring build template logic; streamline deployment template assembly ([eb28b47f3](https://github.com/underpostnet/engine/commit/eb28b47f3d7b53b3f3209b5db763db6cd7abe419))
|
|
38
|
+
- Refactor build main entry logic related to CI workflows and build process for engine components ([d1aba687a](https://github.com/underpostnet/engine/commit/d1aba687a3b0b3b65ebd5ddaf6a32e14c591150b))
|
|
39
|
+
|
|
40
|
+
### catalog
|
|
41
|
+
|
|
42
|
+
- Refactor build process and introduce dynamic product catalogs for Cyberia and Prototype; enhance deployment template assembly and configuration syncing ([65dc9cc6b](https://github.com/underpostnet/engine/commit/65dc9cc6bdc39bf9482d26fec74730ff5a942ecd))
|
|
43
|
+
|
|
44
|
+
### engine-prototype
|
|
45
|
+
|
|
46
|
+
- Add deployment and proxy configurations for dd-prototype-development ([40549234c](https://github.com/underpostnet/engine/commit/40549234c9bae7b3bc62573d1df1104df6bce776))
|
|
47
|
+
|
|
48
|
+
### repository
|
|
49
|
+
|
|
50
|
+
- Refactor CI workflow and enhance repository management with sparse checkout functionality ([27485162d](https://github.com/underpostnet/engine/commit/27485162d728f4c4d1147b0141c3ebe278097043))
|
|
51
|
+
|
|
52
|
+
### engine
|
|
53
|
+
|
|
54
|
+
- Remove update defualt conf.js per deploy-id workflow ([746285d10](https://github.com/underpostnet/engine/commit/746285d10debbd30ed652275dad605a3210b7fd4))
|
|
55
|
+
|
|
56
|
+
### engine-core
|
|
57
|
+
|
|
58
|
+
- Remove no core src ([1a90ce0d7](https://github.com/underpostnet/engine/commit/1a90ce0d7742a88c794ed2d37392632cbf12e11c))
|
|
59
|
+
|
|
60
|
+
## New release v:3.2.12 (2026-05-31)
|
|
61
|
+
|
|
62
|
+
### docs
|
|
63
|
+
|
|
64
|
+
- Refactor Underpost Platform documentation for clarity and structure ([e554d3d69](https://github.com/underpostnet/engine/commit/e554d3d6947d35f31b28319de024120c16cc2210))
|
|
65
|
+
|
|
66
|
+
### engine-cyberia
|
|
67
|
+
|
|
68
|
+
- Refactor README and CLI command descriptions for clarity and consistency ([b322c77f1](https://github.com/underpostnet/engine/commit/b322c77f14347c3b9d94236c5d522a4decb6e5ee))
|
|
69
|
+
|
|
70
|
+
### server-conf
|
|
71
|
+
|
|
72
|
+
- Refactor awaitDeployMonitor parameters inverse arg functionality and fianl deployment event handle ([c34661ad0](https://github.com/underpostnet/engine/commit/c34661ad039cafe55a3858c006ba9c54bad4a001))
|
|
73
|
+
|
|
74
|
+
### server-start
|
|
75
|
+
|
|
76
|
+
- Remove error throw on unexpected deployment exit for improved error handling ([e6554e09c](https://github.com/underpostnet/engine/commit/e6554e09cc7274ed137a9860a751b0706a961284))
|
|
77
|
+
|
|
78
|
+
## New release v:3.2.11 (2026-05-31)
|
|
4
79
|
|
|
5
80
|
### deploy
|
|
6
81
|
|