Skip to content

Commit e4c1013

Browse files
committed
Merge branch 'NginxProxyManager:develop' into stream-ssl
2 parents d3526de + 2f9e062 commit e4c1013

File tree

178 files changed

+7926
-5271
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

178 files changed

+7926
-5271
lines changed

.version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.11.3
1+
2.12.1

Jenkinsfile

+19-12
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,13 @@ pipeline {
5656
sh 'sed -i -E "s/(version-)[0-9]+\\.[0-9]+\\.[0-9]+(-green)/\\1${BUILD_VERSION}\\2/" README.md'
5757
}
5858
}
59+
stage('Docker Login') {
60+
steps {
61+
withCredentials([usernamePassword(credentialsId: 'jc21-dockerhub', passwordVariable: 'dpass', usernameVariable: 'duser')]) {
62+
sh 'docker login -u "${duser}" -p "${dpass}"'
63+
}
64+
}
65+
}
5966
}
6067
}
6168
stage('Builds') {
@@ -120,6 +127,11 @@ pipeline {
120127
junit 'test/results/junit/*'
121128
sh 'docker-compose down --remove-orphans --volumes -t 30 || true'
122129
}
130+
unstable {
131+
dir(path: 'testing/results') {
132+
archiveArtifacts(allowEmptyArchive: true, artifacts: '**/*', excludes: '**/*.xml')
133+
}
134+
}
123135
}
124136
}
125137
stage('Test Mysql') {
@@ -148,6 +160,11 @@ pipeline {
148160
junit 'test/results/junit/*'
149161
sh 'docker-compose down --remove-orphans --volumes -t 30 || true'
150162
}
163+
unstable {
164+
dir(path: 'testing/results') {
165+
archiveArtifacts(allowEmptyArchive: true, artifacts: '**/*', excludes: '**/*.xml')
166+
}
167+
}
151168
}
152169
}
153170
stage('MultiArch Build') {
@@ -157,10 +174,7 @@ pipeline {
157174
}
158175
}
159176
steps {
160-
withCredentials([usernamePassword(credentialsId: 'jc21-dockerhub', passwordVariable: 'dpass', usernameVariable: 'duser')]) {
161-
sh 'docker login -u "${duser}" -p "${dpass}"'
162-
sh "./scripts/buildx --push ${buildxPushTags}"
163-
}
177+
sh "./scripts/buildx --push ${buildxPushTags}"
164178
}
165179
}
166180
stage('Docs / Comment') {
@@ -200,20 +214,13 @@ pipeline {
200214
always {
201215
sh 'echo Reverting ownership'
202216
sh 'docker run --rm -v "$(pwd):/data" jc21/ci-tools chown -R "$(id -u):$(id -g)" /data'
203-
}
204-
success {
205-
juxtapose event: 'success'
206-
sh 'figlet "SUCCESS"'
217+
printResult(true)
207218
}
208219
failure {
209220
archiveArtifacts(artifacts: 'debug/**/*.*', allowEmptyArchive: true)
210-
juxtapose event: 'failure'
211-
sh 'figlet "FAILURE"'
212221
}
213222
unstable {
214223
archiveArtifacts(artifacts: 'debug/**/*.*', allowEmptyArchive: true)
215-
juxtapose event: 'unstable'
216-
sh 'figlet "UNSTABLE"'
217224
}
218225
}
219226
}

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<p align="center">
22
<img src="https://nginxproxymanager.com/github.png">
33
<br><br>
4-
<img src="https://img.shields.io/badge/version-2.11.3-green.svg?style=for-the-badge">
4+
<img src="https://img.shields.io/badge/version-2.12.1-green.svg?style=for-the-badge">
55
<a href="https://hub.docker.com/repository/docker/jc21/nginx-proxy-manager">
66
<img src="https://img.shields.io/docker/stars/jc21/nginx-proxy-manager.svg?style=for-the-badge">
77
</a>

backend/.vscode/settings.json

-8
This file was deleted.

backend/app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ app.use(function (req, res, next) {
5252
});
5353

5454
app.use(require('./lib/express/jwt')());
55-
app.use('/', require('./routes/api/main'));
55+
app.use('/', require('./routes/main'));
5656

5757
// production error handler
5858
// no stacktraces leaked to user

backend/config/default.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"database": {
3-
"engine": "mysql",
3+
"engine": "mysql2",
44
"host": "db",
55
"name": "npm",
66
"user": "npm",

0 commit comments

Comments
 (0)