Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge develop in to openidc #3952

Open
wants to merge 617 commits into
base: openidc
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
617 commits
Select commit Hold shift + click to select a range
4b6f9d9
Remove s6 service timeout
jc21 May 9, 2023
4349d42
Merge pull request #2904 from NginxProxyManager/s6-verbose
jc21 May 10, 2023
0127dc7
Bump version
jc21 May 10, 2023
3d2406a
Merge pull request #2905 from NginxProxyManager/develop
jc21 May 10, 2023
05307aa
Fix certbot plugins install when using PUID/PGID
jc21 May 10, 2023
2a06384
Merge branch 'master' into develop
jc21 May 10, 2023
824c837
Merge pull request #2906 from NginxProxyManager/develop
jc21 May 10, 2023
4c59400
added support for dns.he.net certbot plugin #2153
benhubert May 16, 2023
847e879
Update certbot-dns-plugins.js
FlixMa May 18, 2023
53d61bd
Try to fix linter error in certbot plugin definitions.
FlixMa May 18, 2023
8105463
Fix for ignored ssl_protocols and ssl_ciphers directive in conf.d/inc…
nietzscheanic May 19, 2023
2dd4434
Add support for nginx 444 default response
wrouesnel May 22, 2023
f39e527
drop --user on pip install dns plugin godaddy
wolviex Jun 1, 2023
63ee69f
Fix device or resource busy when patching IPv6 settings
xrh0905 Jun 15, 2023
d1e9407
Bump tough-cookie from 4.0.0 to 4.1.3 in /docs
dependabot[bot] Jul 8, 2023
d20873d
Add bunny.net DNS to DNS challenges
deftdawg Jul 9, 2023
f458730
Bump semver from 5.7.1 to 5.7.2 in /backend
dependabot[bot] Jul 11, 2023
cdd0b2e
Bump semver from 7.3.2 to 7.5.4 in /test
dependabot[bot] Jul 12, 2023
3138ba4
Bump semver from 5.7.1 to 5.7.2 in /frontend
dependabot[bot] Jul 12, 2023
4a85d4a
Bump word-wrap from 1.2.3 to 1.2.4 in /test
dependabot[bot] Jul 18, 2023
11a98f4
Bump word-wrap from 1.2.3 to 1.2.4 in /frontend
dependabot[bot] Jul 18, 2023
c8caaa5
Bump word-wrap from 1.2.3 to 1.2.4 in /backend
dependabot[bot] Jul 18, 2023
e19d685
Merge pull request #3067 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Jul 19, 2023
d731353
Merge pull request #3066 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Jul 19, 2023
5ab4aea
Merge pull request #3065 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Jul 19, 2023
63b50fc
Merge pull request #3054 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Jul 19, 2023
52875fc
Merge pull request #3053 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Jul 19, 2023
a984a68
Merge pull request #3051 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Jul 19, 2023
ab4586f
Merge pull request #3049 from deftdawg/patch-1
jc21 Jul 19, 2023
f7b2be6
Merge pull request #3048 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Jul 19, 2023
a602bdd
Bump semver from 7.3.2 to 7.5.2 in /docs
dependabot[bot] Jul 19, 2023
1c9f751
Fix path to frontend service
6twenty Jul 19, 2023
f91f0ee
Merge pull request #3044 from 6twenty/2741-suppress-s6-supervise-disk…
jc21 Jul 19, 2023
e740fb4
update year 2022 -> 2023
lug-gh Jul 19, 2023
137e865
Merge pull request #3069 from lug-gh/develop
jc21 Jul 20, 2023
98465cf
Merge pull request #3018 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Jul 20, 2023
f1b7156
Merge pull request #3000 from xrh0905/xrh0905-patch-sed
jc21 Jul 20, 2023
f38cb5b
Merge pull request #2942 from wrouesnel/444_default_support
jc21 Jul 20, 2023
aee93a2
Merge pull request #2932 from nietzscheanic/patch-1
jc21 Jul 20, 2023
5454352
Merge pull request #2929 from FlixMa/develop
jc21 Jul 20, 2023
b1180f5
Corrected docker-compose.yml
andycandy-de Jul 25, 2023
9a79fce
Merge pull request #3078 from andycandy-de/patch-1
jc21 Jul 26, 2023
3333a32
Merge pull request #2971 from wolviex/certbot-dnsplugin-user-site-fix
jc21 Jul 30, 2023
fa851b6
Bump version
jc21 Jul 30, 2023
fe93cb3
Merge pull request #3089 from NginxProxyManager/develop
jc21 Aug 2, 2023
6f8db95
Added force renewal + --dns-duckdns-no-txt-restore
devedse Aug 24, 2023
5af834e
mix/max ports
AngusC222 Sep 9, 2023
4b9c02c
Add robots noindex meta tag to prevent indexing
OpenSourceSimon Sep 10, 2023
62e4edd
Update certbot-dns-plugins.js
zhzy0077 Sep 13, 2023
881d705
Add description for Strato 2FA and International Site Support
FlixMa Sep 24, 2023
6b565e6
Change perms on logrotated logs to npm user
FibreTTP Sep 27, 2023
4867db0
Remove explicit user and group - add su directive for default user (n…
FibreTTP Sep 27, 2023
f426e64
Add warning comment about changing the default user name and group name
FibreTTP Sep 27, 2023
0f3b76f
Merge pull request #3219 from FibreTTP/logrotate-perms
jc21 Oct 3, 2023
44e9f37
Merge pull request #3212 from FlixMa/develop
jc21 Oct 3, 2023
410c348
Merge pull request #3194 from zhzy0077/patch-1
jc21 Oct 3, 2023
853c48d
Merge pull request #3190 from OpenSourceSimon/patch-1
jc21 Oct 3, 2023
0f7be79
Merge pull request #3188 from AngusC222/develop
jc21 Oct 3, 2023
3197de4
Merge pull request #3155 from devedse/develop
jc21 Oct 3, 2023
e4ba22f
Removed /etc/letsencrypt from explicit volumes
iBobik Oct 15, 2023
53dbe25
Fix CI compose project name not allowing dots
jc21 Oct 17, 2023
2d9f04e
Bump @babel/traverse from 7.11.0 to 7.23.2 in /frontend
dependabot[bot] Oct 17, 2023
004a93f
update docker-compose execution
nmatton Oct 24, 2023
f41b106
Bump browserify-sign from 4.2.1 to 4.2.2 in /frontend
dependabot[bot] Oct 27, 2023
2df4620
Bump browserify-sign from 4.2.1 to 4.2.2 in /docs
dependabot[bot] Oct 27, 2023
134902d
Add a default-site-description string
xiaoxinpro Oct 29, 2023
940d06c
Replace the 'default-site' variable 'description' with the 'i18n' con…
xiaoxinpro Oct 29, 2023
e241819
min/max ports added
AngusC222 Nov 8, 2023
edb81ec
Fix CI branch names being incorrectly replaced
jc21 Nov 8, 2023
b608d33
Merge pull request #3312 from AngusC222/develop
jc21 Nov 8, 2023
9052502
Merge pull request #3293 from xiaoxinpro/develop
jc21 Nov 8, 2023
3666364
Merge pull request #3290 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Nov 22, 2023
4e0768d
Merge pull request #3289 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Nov 22, 2023
d1d1819
Merge pull request #3281 from nmatton/patch-1
jc21 Nov 22, 2023
e08a4d4
Update mariadb example to auto upgrade from latest image
jc21 Nov 27, 2023
289e438
only add hsts header with https.
DarioViva42 Dec 2, 2023
33dbffb
Improve container startup time
timob Dec 2, 2023
3ad2188
chore: upddate Proxmox Scripts link
ej52 Dec 4, 2023
ccf9cce
Fixed issue where the HTTP2 support was always enabled in nginx confi…
jlesage Dec 9, 2023
1ab3575
fix: increasing maxOptions (amount of domains) to 30
r3na Dec 12, 2023
5165de4
fix: updating default maxOptions to 30 (proxy)
r3na Dec 12, 2023
3b8cb86
fix: updating default maxOptions to 30 (redirection)
r3na Dec 12, 2023
ca56e04
fix: updating default maxOptions to 30 (dead)
r3na Dec 12, 2023
4704bd6
Merge branch 'develop' into patch-1
r3na Dec 12, 2023
1975e4a
fix: updating maxItems (schema/definitions) to 30
r3na Dec 12, 2023
881a067
update to latest vultr certbot plugin
clord Dec 13, 2023
27bc8c4
use same formatting
clord Dec 13, 2023
49a7655
Fix proxmox scripts link
hywax Dec 19, 2023
388fff8
Fixes for the server reachability test.
jlesage Dec 14, 2023
13d4f98
Update certbot-dns-plugins.js for gandi (deprecation of Apikey in fav…
JeremieA Dec 20, 2023
7d85463
Add support for certbot-dns-plesk
arussell Dec 21, 2023
af475ab
Add documentation on customising logrotate config
Encephala Dec 30, 2023
da55e93
Update year to 2024 in footer
Encephala Jan 3, 2024
c6aab8d
Merge pull request #3427 from Encephala/bump-year
jc21 Jan 8, 2024
7be5485
Merge pull request #3422 from Encephala/logrotate-docs
jc21 Jan 8, 2024
1308ae4
Merge pull request #3408 from arussell/certbot-dns-plesk
jc21 Jan 8, 2024
ea6e975
Merge pull request #3401 from JeremieA/certbot-dns-gandi-1.5.0
jc21 Jan 8, 2024
1c498f8
Merge pull request #3399 from hywax/patch-1
jc21 Jan 8, 2024
bc8211a
Merge pull request #3388 from jlesage/reachability-test-fix
jc21 Jan 8, 2024
fa557d8
Merge pull request #3387 from clord/clord/update-vultr
jc21 Jan 8, 2024
5de95a8
Merge pull request #3382 from r3na/patch-1
jc21 Jan 8, 2024
965873a
Merge pull request #3377 from jlesage/http2-support-fix
jc21 Jan 8, 2024
4e27cda
Merge pull request #3263 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Jan 8, 2024
b3564b6
Bump @babel/traverse from 7.11.0 to 7.23.7 in /docs
dependabot[bot] Jan 8, 2024
997e9d4
Merge pull request #2924 from benhubert/2153_add-support-for-dns-hurr…
jc21 Jan 8, 2024
2273eae
Merge pull request #3436 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Jan 8, 2024
082c4e1
Fix typo in logrotate config path
Encephala Jan 8, 2024
b8596ac
Merge pull request #3367 from ej52/develop
jc21 Jan 8, 2024
9c813bc
Merge pull request #3437 from Encephala/fix-logrotate-docs
jc21 Jan 8, 2024
459b7a2
Merge pull request #3361 from timob/improve-container-start
jc21 Jan 8, 2024
09d5e2c
Merge pull request #3360 from DarioViva42/hsts-only-with-https
jc21 Jan 8, 2024
e4ef095
Deploy develop docs in CI, updated readme
jc21 Jan 8, 2024
f7c87f6
Updated CI to run some things in parallel
jc21 Jan 9, 2024
b699f05
Run integration tests in parallel
jc21 Jan 9, 2024
025fc97
Pre-build cypress images before runnings integration tests
jc21 Jan 9, 2024
6aee2bb
Fix race condition with integration network
jc21 Jan 9, 2024
883a272
Bump version
jc21 Jan 9, 2024
c70f65d
upgrade to v2.0.0-rc and implement dark mode
tilalx Dec 18, 2023
8ec0c76
update docs-build and add yarn.lock
tilalx Dec 19, 2023
4c90628
try to set the yarn version in jenkins
tilalx Dec 21, 2023
d1119ec
revert change
tilalx Jan 8, 2024
4028120
Merge pull request #3395 from tilalx/develop
jc21 Jan 9, 2024
a7fe687
Fix permission recursiveness
jc21 Jan 9, 2024
33c8678
Fix jenkinsfile after messy merge
jc21 Jan 9, 2024
30772a4
Fix jenkinsfile after messy merge - again
jc21 Jan 9, 2024
be39253
No need to use berry yarn for docs
jc21 Jan 9, 2024
e696849
Use nginxproxymanager/nginx-full image base
jc21 Jan 9, 2024
96fc6a2
Merge pull request #3444 from NginxProxyManager/bookworm-base
jc21 Jan 10, 2024
d19ebf5
Update the config.js to fix pr/3395
tilalx Jan 10, 2024
58ef9a6
Merge pull request #3445 from tilalx/develop
jc21 Jan 10, 2024
fe4bd9f
Make auto-renew use built-in renew function
stevecrozz Dec 15, 2023
f7d1c49
Run renews sequentially
stevecrozz Jan 2, 2024
9c54d1b
Provide the token model for certificate renewal
stevecrozz Jan 11, 2024
1be87f4
Merge pull request #3392 from stevecrozz/auto-renew-uses-bulitin-renew
jc21 Jan 12, 2024
834fb1a
Add missing args to certbot command, was causing failures in rovokation
jc21 Jan 12, 2024
00264bc
Mount letsencrypt folder in CI
jc21 Jan 14, 2024
9f16dae
Merge pull request #3258 from iBobik/patch-1
jc21 Jan 14, 2024
fe0c046
Add stale github action and set a wide limit
jc21 Jan 15, 2024
8646cb5
Allow stale action to run manually
jc21 Jan 15, 2024
db23c9a
Refactor certbot plugins install
jc21 Jan 18, 2024
cddd6fb
certbot-dns-cloudns update 0.6.0 from PR #3459 by @existful
jc21 Jan 18, 2024
a2e85ce
Use certbot version for godaddy plugin, relates to #3165
jc21 Jan 18, 2024
0472aba
Remove test file
jc21 Jan 18, 2024
c722eb1
Merge branch 'master' into develop
jc21 Jan 18, 2024
10d9760
Refactor certbot plugin install for setup
jc21 Jan 18, 2024
a3630a6
Fix unused var
jc21 Jan 18, 2024
0353051
Prevent installing same plugin over and over
jc21 Jan 18, 2024
89a405f
Merge pull request #3466 from NginxProxyManager/develop
jc21 Jan 19, 2024
47b868b
Bump vite from 5.0.11 to 5.0.12 in /docs
dependabot[bot] Jan 19, 2024
da820db
Fix startup hang due to unresolved promise
jc21 Jan 21, 2024
58138fb
Bump version
jc21 Jan 21, 2024
209c1b3
Merge branch 'master' into develop
jc21 Jan 21, 2024
aec3020
Merge pull request #3483 from NginxProxyManager/develop
jc21 Jan 21, 2024
39f4836
Updated certbot-dns-webstorm plugin to 2.0.1
setrin Jan 30, 2024
a946601
Renamed certbot-dns-websupportsk plugin to certbot-dns-websupport & u…
setrin Jan 30, 2024
5b53825
Fixed certbot-dns-websupport plugin name
setrin Jan 30, 2024
eaa11fe
Update README.md
eltociear Feb 4, 2024
e42e2ac
Add DNS Provider TimeWeb Cloud
hywax Feb 7, 2024
f0c7564
the generated keys appear to be for JWT, not GPG
Habbie Feb 7, 2024
577954e
Bump version DNS Provider TimeWeb Cloud
hywax Feb 7, 2024
1c84eaa
Add FreeDNS certbot plugin
bricas Feb 16, 2024
40d81d6
Adding easyDNS provider.
drachul Feb 17, 2024
c55e47a
Bump ip from 2.0.0 to 2.0.1 in /backend
dependabot[bot] Feb 20, 2024
9c2e838
Bump ip from 2.0.0 to 2.0.1 in /frontend
dependabot[bot] Feb 21, 2024
1fb9a75
Fix: increase max number of domains to 100
davidindra Feb 23, 2024
55d765e
Update README.md to support Podman
michto01 Feb 25, 2024
0503a6a
Fix so that nginx config is loaded after configuration happens
timob Feb 25, 2024
10ece35
Fixing "the map directive is not allowed here" at the validation stag…
davidindra Feb 26, 2024
3e1b731
Merge pull request #3584 from timob/develop
jc21 Feb 27, 2024
e3d4882
Merge pull request #3583 from michto01/patch-1
jc21 Feb 27, 2024
63cd9ba
Merge pull request #3581 from davidindra/increase-max-domains-count
jc21 Feb 27, 2024
bf36c79
Merge pull request #3570 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Feb 27, 2024
bfbf751
Merge pull request #3560 from drachul/develop
jc21 Feb 27, 2024
5aff969
Merge pull request #3554 from bricas/develop
jc21 Feb 27, 2024
c989a28
Merge pull request #3532 from Habbie/jwt-not-gpg
jc21 Feb 27, 2024
0dcd648
Merge pull request #3531 from hywax/develop
jc21 Feb 27, 2024
fa67f25
Merge pull request #3526 from eltociear/patch-1
jc21 Feb 27, 2024
69ec017
Merge pull request #3513 from setrin/websupport-fix
jc21 Feb 27, 2024
d40f9e0
Merge pull request #3479 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Feb 27, 2024
d06572b
Bump ip from 2.0.0 to 2.0.1 in /docs
dependabot[bot] Feb 27, 2024
8eab8d7
Update duckdns version
sdaqo Mar 3, 2024
a5b21d0
replaxed chown with find -not -user ... chown
woodmichl Mar 10, 2024
a88f77c
Update certbot-dns-plugins.json
wolviex Mar 19, 2024
6721923
fix: update certbot-dns-transip to latest version
leinelissen Mar 20, 2024
abca9cc
Add DNS multi
starsoccer Mar 20, 2024
b135527
Fix version key
starsoccer Mar 20, 2024
5a76123
Bump express from 4.17.3 to 4.19.2 in /backend
dependabot[bot] Mar 28, 2024
317003b
Bump vite from 5.0.12 to 5.0.13 in /docs
dependabot[bot] Apr 3, 2024
587b97c
fix: update certbot-dns-strato to latest version
jdolderer Apr 4, 2024
c575a70
Update certbot-dns-plugins.json
Fuechslein Apr 9, 2024
b35aa50
Bump tar from 6.1.11 to 6.2.1 in /frontend
dependabot[bot] Apr 10, 2024
52eaa04
Bump tar from 6.2.0 to 6.2.1 in /docs
dependabot[bot] Apr 11, 2024
2d929df
Merge pull request #3698 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Apr 19, 2024
8655b7d
Merge pull request #3697 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Apr 19, 2024
6aeade6
Merge pull request #3676 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Apr 19, 2024
09bcf40
Merge pull request #3660 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Apr 19, 2024
c62c095
Merge pull request #3643 from starsoccer/patch-1
jc21 Apr 19, 2024
79a453f
Merge pull request #3642 from leinelissen/fix/certbot-dns-transip
jc21 Apr 19, 2024
4d91cfc
Merge pull request #3639 from wolviex/develop
jc21 Apr 19, 2024
02aefa5
Merge pull request #3617 from woodmichl/fix-slow-startup
jc21 Apr 19, 2024
280bac8
advanced config move to top of default confg
clhey Apr 28, 2024
c5c5fa0
Merge pull request #3691 from Fuechslein/fix/certbot-dns-infomaniak
jc21 May 1, 2024
4b100a3
Merge pull request #3679 from jdolderer/fix/update-certbot-dns-strato
jc21 May 1, 2024
035eaed
Merge pull request #3600 from sdaqo/patch-1
jc21 May 1, 2024
f1e4337
Merge pull request #3571 from NginxProxyManager/dependabot/npm_and_ya…
jc21 May 1, 2024
35f0fe7
Merge pull request #3569 from NginxProxyManager/dependabot/npm_and_ya…
jc21 May 1, 2024
09a03ed
Bump version
jc21 May 1, 2024
79cd0c5
Merge branch 'master' into develop
jc21 May 1, 2024
256a667
Merge pull request #3733 from NginxProxyManager/develop
jc21 May 1, 2024
47dddc5
Migrate from vuepress to vitepress for docs site
jc21 May 10, 2024
4ee940d
Fix missing feature on docs homepage
jc21 May 10, 2024
2422587
Updates to docs FAQ
jc21 May 10, 2024
029b184
Merge branch 'master' into develop
jc21 May 10, 2024
dcb9628
CI improvement: move docs upload to separate build
jc21 May 10, 2024
1f45e6a
Fix unescaped character in CI
jc21 May 10, 2024
8d80af3
Fix CI
jc21 May 10, 2024
12d77e3
Merge pull request #3747 from NginxProxyManager/develop
jc21 May 10, 2024
516b4d9
Pin version as requested by dep
ransbachm May 18, 2024
3ce477d
add include for `root_top.conf` in the nginx.conf
kroegerama May 19, 2024
b383f46
Merge pull request #3764 from ransbachm/develop
jc21 May 20, 2024
3754a56
Merge pull request #3729 from clhey/custom_proxy
jc21 May 20, 2024
ef23e79
update advanced config documentation
kroegerama May 20, 2024
6ac9a82
Major update to cypress
jc21 May 21, 2024
bed387e
Small fix for CI cleanup
jc21 May 21, 2024
d3a654b
Fix flakey CI due to full stack network determination
jc21 May 22, 2024
e20a11d
Remove spaces around cloudflare api credential
jinhei May 29, 2024
1d19c29
Read initial admin email and password from env vars.
Jun 3, 2024
d66e4e0
#3790 Attempt to make ci happy.
Jun 3, 2024
6f9eed8
Bump braces from 3.0.2 to 3.0.3 in /backend
dependabot[bot] Jun 16, 2024
b4560d7
feat: changing `log_format proxy` default location
Brendon-Mendicino Jun 16, 2024
13fec42
Add Hover.com DNS plugin
alexjsp Jun 20, 2024
5e35e53
Merge pull request #3815 from alexjsp/alex/hover-dns-plugin
jc21 Jun 25, 2024
51414ce
Merge pull request #3810 from Brendon-Mendicino/change_log_format_loc…
jc21 Jun 25, 2024
a5c06c1
Add wedos dns
Hadatko Jun 25, 2024
50aeae2
Bump glob-parent from 5.1.1 to 5.1.2 in /backend
dependabot[bot] Jun 27, 2024
c93656a
Update README.md
Allesanddro Jun 28, 2024
5578e82
Update version
Hadatko Jun 29, 2024
001c77e
Fix syntax that causes errors (generateKeys log)
jay-lab Jun 30, 2024
8936402
Merge pull request #3843 from jay-lab/feature/fix-syntax-cause-err
jc21 Jul 1, 2024
c7e2946
Merge pull request #3837 from Allesanddro/patch-1
jc21 Jul 1, 2024
d1c23b6
Merge pull request #3833 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Jul 1, 2024
7913c9a
Merge pull request #3827 from Hadatko/feature/addWedosDns
jc21 Jul 1, 2024
e948b60
Merge pull request #3809 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Jul 1, 2024
b330127
Merge pull request #3790 from DavidLievrouw/initial_admin
jc21 Jul 1, 2024
5454fd6
Merge pull request #3781 from jinhei/patch-1
jc21 Jul 1, 2024
120d50e
Merge pull request #3766 from kroegerama/kroegerama-patch-1
jc21 Jul 1, 2024
99cce7e
Fix command injection when passing bash commands into the dns provide…
jc21 Jul 1, 2024
b5a0d74
Bump version
jc21 Jul 1, 2024
63d06da
Merge branch 'master' into develop
jc21 Jul 1, 2024
694d8a0
Merge branch 'develop' into openidc
Trozz Aug 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '30 1 * * *'
workflow_dispatch:

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
stale-issue-label: 'stale'
stale-pr-label: 'stale'
stale-issue-message: 'Issue is now considered stale. If you want to keep it open, please comment :+1:'
stale-pr-message: 'PR is now considered stale. If you want to keep it open, please comment :+1:'
close-issue-message: 'Issue was closed due to inactivity.'
close-pr-message: 'PR was closed due to inactivity.'
days-before-stale: 182
days-before-close: 365
operations-per-run: 50
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@
._*
.vscode
certbot-help.txt
test/node_modules
*/node_modules
docker/dev/dnsrouter-config.json.tmp
docker/dev/resolv.conf
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.9.8
2.11.3
247 changes: 112 additions & 135 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
import groovy.transform.Field

@Field
def shOutput = ""
def buildxPushTags = ""

pipeline {
agent {
label 'docker-multiarch'
Expand All @@ -8,14 +14,12 @@ pipeline {
ansiColor('xterm')
}
environment {
IMAGE = "nginx-proxy-manager"
IMAGE = 'nginx-proxy-manager'
BUILD_VERSION = getVersion()
MAJOR_VERSION = "2"
BRANCH_LOWER = "${BRANCH_NAME.toLowerCase().replaceAll('/', '-')}"
COMPOSE_PROJECT_NAME = "npm_${BRANCH_LOWER}_${BUILD_NUMBER}"
COMPOSE_FILE = 'docker/docker-compose.ci.yml'
MAJOR_VERSION = '2'
BRANCH_LOWER = "${BRANCH_NAME.toLowerCase().replaceAll('\\\\', '-').replaceAll('/', '-').replaceAll('\\.', '-')}"
BUILDX_NAME = "npm_${BRANCH_LOWER}_${BUILD_NUMBER}"
COMPOSE_INTERACTIVE_NO_CLI = 1
BUILDX_NAME = "${COMPOSE_PROJECT_NAME}"
}
stages {
stage('Environment') {
Expand All @@ -26,7 +30,7 @@ pipeline {
}
steps {
script {
env.BUILDX_PUSH_TAGS = "-t docker.io/jc21/${IMAGE}:${BUILD_VERSION} -t docker.io/jc21/${IMAGE}:${MAJOR_VERSION} -t docker.io/jc21/${IMAGE}:latest"
buildxPushTags = "-t docker.io/jc21/${IMAGE}:${BUILD_VERSION} -t docker.io/jc21/${IMAGE}:${MAJOR_VERSION} -t docker.io/jc21/${IMAGE}:latest"
}
}
}
Expand All @@ -39,7 +43,7 @@ pipeline {
steps {
script {
// Defaults to the Branch name, which is applies to all branches AND pr's
env.BUILDX_PUSH_TAGS = "-t docker.io/jc21/${IMAGE}:github-${BRANCH_LOWER}"
buildxPushTags = "-t docker.io/jc21/${IMAGE}:github-${BRANCH_LOWER}"
}
}
}
Expand All @@ -54,105 +58,96 @@ pipeline {
}
}
}
stage('Frontend') {
steps {
sh './scripts/frontend-build'
}
}
stage('Backend') {
steps {
echo 'Checking Syntax ...'
// See: https://github.com/yarnpkg/yarn/issues/3254
sh '''docker run --rm \\
-v "$(pwd)/backend:/app" \\
-v "$(pwd)/global:/app/global" \\
-w /app \\
node:latest \\
sh -c "yarn install && yarn eslint . && rm -rf node_modules"
'''

echo 'Docker Build ...'
sh '''docker build --pull --no-cache --squash --compress \\
-t "${IMAGE}:ci-${BUILD_NUMBER}" \\
-f docker/Dockerfile \\
--build-arg TARGETPLATFORM=linux/amd64 \\
--build-arg BUILDPLATFORM=linux/amd64 \\
--build-arg BUILD_VERSION="${BUILD_VERSION}" \\
--build-arg BUILD_COMMIT="${BUILD_COMMIT}" \\
--build-arg BUILD_DATE="$(date '+%Y-%m-%d %T %Z')" \\
.
'''
stage('Builds') {
parallel {
stage('Project') {
steps {
script {
// Frontend and Backend
def shStatusCode = sh(label: 'Checking and Building', returnStatus: true, script: '''
set -e
./scripts/ci/frontend-build > ${WORKSPACE}/tmp-sh-build 2>&1
./scripts/ci/test-and-build > ${WORKSPACE}/tmp-sh-build 2>&1
''')
shOutput = readFile "${env.WORKSPACE}/tmp-sh-build"
if (shStatusCode != 0) {
error "${shOutput}"
}
}
}
post {
always {
sh 'rm -f ${WORKSPACE}/tmp-sh-build'
}
failure {
npmGithubPrComment("CI Error:\n\n```\n${shOutput}\n```", true)
}
}
}
stage('Docs') {
steps {
dir(path: 'docs') {
sh 'yarn install'
sh 'yarn build'
}
}
}
}
}
stage('Integration Tests Sqlite') {
steps {
// Bring up a stack
sh 'docker-compose up -d fullstack-sqlite'
sh './scripts/wait-healthy $(docker-compose ps -q fullstack-sqlite) 120'

// Run tests
sh 'rm -rf test/results'
sh 'docker-compose up cypress-sqlite'
// Get results
sh 'docker cp -L "$(docker-compose ps -q cypress-sqlite):/test/results" test/'
stage('Test Sqlite') {
environment {
COMPOSE_PROJECT_NAME = "npm_${BRANCH_LOWER}_${BUILD_NUMBER}_sqlite"
COMPOSE_FILE = 'docker/docker-compose.ci.yml:docker/docker-compose.ci.sqlite.yml'
}
post {
always {
// Dumps to analyze later
sh 'mkdir -p debug'
sh 'docker-compose logs fullstack-sqlite | gzip > debug/docker_fullstack_sqlite.log.gz'
sh 'docker-compose logs db | gzip > debug/docker_db.log.gz'
// Cypress videos and screenshot artifacts
dir(path: 'test/results') {
archiveArtifacts allowEmptyArchive: true, artifacts: '**/*', excludes: '**/*.xml'
}
junit 'test/results/junit/*'
when {
not {
equals expected: 'UNSTABLE', actual: currentBuild.result
}
}
}
stage('Integration Tests Mysql') {
steps {
// Bring up a stack
sh 'docker-compose up -d fullstack-mysql'
sh './scripts/wait-healthy $(docker-compose ps -q fullstack-mysql) 120'

// Run tests
sh 'rm -rf test/results'
sh 'docker-compose up cypress-mysql'
// Get results
sh 'docker cp -L "$(docker-compose ps -q cypress-mysql):/test/results" test/'
sh 'rm -rf ./test/results/junit/*'
sh './scripts/ci/fulltest-cypress'
}
post {
always {
// Dumps to analyze later
sh 'mkdir -p debug'
sh 'docker-compose logs fullstack-mysql | gzip > debug/docker_fullstack_mysql.log.gz'
sh 'docker-compose logs db | gzip > debug/docker_db.log.gz'
// Cypress videos and screenshot artifacts
dir(path: 'test/results') {
archiveArtifacts allowEmptyArchive: true, artifacts: '**/*', excludes: '**/*.xml'
}
sh 'mkdir -p debug/sqlite'
sh 'docker logs $(docker-compose ps --all -q fullstack) > debug/sqlite/docker_fullstack.log 2>&1'
sh 'docker logs $(docker-compose ps --all -q stepca) > debug/sqlite/docker_stepca.log 2>&1'
sh 'docker logs $(docker-compose ps --all -q pdns) > debug/sqlite/docker_pdns.log 2>&1'
sh 'docker logs $(docker-compose ps --all -q pdns-db) > debug/sqlite/docker_pdns-db.log 2>&1'
sh 'docker logs $(docker-compose ps --all -q dnsrouter) > debug/sqlite/docker_dnsrouter.log 2>&1'
junit 'test/results/junit/*'
sh 'docker-compose down --remove-orphans --volumes -t 30 || true'
}
}
}
stage('Docs') {
stage('Test Mysql') {
environment {
COMPOSE_PROJECT_NAME = "npm_${BRANCH_LOWER}_${BUILD_NUMBER}_mysql"
COMPOSE_FILE = 'docker/docker-compose.ci.yml:docker/docker-compose.ci.mysql.yml'
}
when {
not {
equals expected: 'UNSTABLE', actual: currentBuild.result
}
}
steps {
dir(path: 'docs') {
sh 'yarn install'
sh 'yarn build'
}

dir(path: 'docs/.vuepress/dist') {
sh 'tar -czf ../../docs.tgz *'
sh 'rm -rf ./test/results/junit/*'
sh './scripts/ci/fulltest-cypress'
}
post {
always {
// Dumps to analyze later
sh 'mkdir -p debug/mysql'
sh 'docker logs $(docker-compose ps --all -q fullstack) > debug/mysql/docker_fullstack.log 2>&1'
sh 'docker logs $(docker-compose ps --all -q stepca) > debug/mysql/docker_stepca.log 2>&1'
sh 'docker logs $(docker-compose ps --all -q pdns) > debug/mysql/docker_pdns.log 2>&1'
sh 'docker logs $(docker-compose ps --all -q pdns-db) > debug/mysql/docker_pdns-db.log 2>&1'
sh 'docker logs $(docker-compose ps --all -q dnsrouter) > debug/mysql/docker_dnsrouter.log 2>&1'
junit 'test/results/junit/*'
sh 'docker-compose down --remove-orphans --volumes -t 30 || true'
}

archiveArtifacts(artifacts: 'docs/docs.tgz', allowEmptyArchive: false)
}
}
stage('MultiArch Build') {
Expand All @@ -163,78 +158,60 @@ pipeline {
}
steps {
withCredentials([usernamePassword(credentialsId: 'jc21-dockerhub', passwordVariable: 'dpass', usernameVariable: 'duser')]) {
// Docker Login
sh "docker login -u '${duser}' -p '${dpass}'"
// Buildx with push from cache
sh "./scripts/buildx --push ${BUILDX_PUSH_TAGS}"
sh 'docker login -u "${duser}" -p "${dpass}"'
sh "./scripts/buildx --push ${buildxPushTags}"
}
}
}
stage('Docs Deploy') {
when {
allOf {
branch 'master'
not {
equals expected: 'UNSTABLE', actual: currentBuild.result
stage('Docs / Comment') {
parallel {
stage('Docs Job') {
when {
allOf {
branch pattern: "^(develop|master)\$", comparator: "REGEXP"
not {
equals expected: 'UNSTABLE', actual: currentBuild.result
}
}
}
}
}
steps {
withCredentials([[$class: 'AmazonWebServicesCredentialsBinding', accessKeyVariable: 'AWS_ACCESS_KEY_ID', credentialsId: 'npm-s3-docs', secretKeyVariable: 'AWS_SECRET_ACCESS_KEY']]) {
sh """docker run --rm \\
--name \${COMPOSE_PROJECT_NAME}-docs-upload \\
-e S3_BUCKET=jc21-npm-site \\
-e AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID \\
-e AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY \\
-v \$(pwd):/app \\
-w /app \\
jc21/ci-tools \\
scripts/docs-upload /app/docs/.vuepress/dist/
"""

sh """docker run --rm \\
--name \${COMPOSE_PROJECT_NAME}-docs-invalidate \\
-e AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID \\
-e AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY \\
jc21/ci-tools \\
aws cloudfront create-invalidation --distribution-id EN1G6DEWZUTDT --paths '/*'
"""
}
}
}
stage('PR Comment') {
when {
allOf {
changeRequest()
not {
equals expected: 'UNSTABLE', actual: currentBuild.result
steps {
build wait: false, job: 'nginx-proxy-manager-docs', parameters: [string(name: 'docs_branch', value: "$BRANCH_NAME")]
}
}
}
steps {
script {
def comment = pullRequest.comment("This is an automated message from CI:\n\nDocker Image for build ${BUILD_NUMBER} is available on [DockerHub](https://cloud.docker.com/repository/docker/jc21/${IMAGE}) as `jc21/${IMAGE}:github-${BRANCH_LOWER}`\n\n**Note:** ensure you backup your NPM instance before testing this PR image! Especially if this PR contains database changes.")
stage('PR Comment') {
when {
allOf {
changeRequest()
not {
equals expected: 'UNSTABLE', actual: currentBuild.result
}
}
}
steps {
script {
npmGithubPrComment("Docker Image for build ${BUILD_NUMBER} is available on [DockerHub](https://cloud.docker.com/repository/docker/jc21/${IMAGE}) as `jc21/${IMAGE}:github-${BRANCH_LOWER}`\n\n**Note:** ensure you backup your NPM instance before testing this PR image! Especially if this PR contains database changes.", true)
}
}
}
}
}
}
post {
always {
sh 'docker-compose down --rmi all --remove-orphans --volumes -t 30'
sh 'echo Reverting ownership'
sh 'docker run --rm -v $(pwd):/data jc21/ci-tools chown -R $(id -u):$(id -g) /data'
sh 'docker run --rm -v "$(pwd):/data" jc21/ci-tools chown -R "$(id -u):$(id -g)" /data'
}
success {
juxtapose event: 'success'
sh 'figlet "SUCCESS"'
}
failure {
archiveArtifacts(artifacts: 'debug/**.*', allowEmptyArchive: true)
archiveArtifacts(artifacts: 'debug/**/*.*', allowEmptyArchive: true)
juxtapose event: 'failure'
sh 'figlet "FAILURE"'
}
unstable {
archiveArtifacts(artifacts: 'debug/**.*', allowEmptyArchive: true)
archiveArtifacts(artifacts: 'debug/**/*.*', allowEmptyArchive: true)
juxtapose event: 'unstable'
sh 'figlet "UNSTABLE"'
}
Expand Down
Loading