mirror of
https://github.com/jc21/nginx-proxy-manager.git
synced 2024-08-30 18:22:48 +00:00
Complete the removal of Sentry
This commit is contained in:
parent
aae95798b2
commit
fd277973cd
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -75,7 +75,6 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('Backend') {
|
stage('Backend') {
|
||||||
steps {
|
steps {
|
||||||
withCredentials([string(credentialsId: 'npm-sentry-dsn', variable: 'SENTRY_DSN')]) {
|
|
||||||
withCredentials([usernamePassword(credentialsId: 'oss-index-token', passwordVariable: 'NANCY_TOKEN', usernameVariable: 'NANCY_USER')]) {
|
withCredentials([usernamePassword(credentialsId: 'oss-index-token', passwordVariable: 'NANCY_TOKEN', usernameVariable: 'NANCY_USER')]) {
|
||||||
sh './scripts/ci/test-backend'
|
sh './scripts/ci/test-backend'
|
||||||
}
|
}
|
||||||
@ -91,7 +90,6 @@ pipeline {
|
|||||||
.
|
.
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
}
|
|
||||||
post {
|
post {
|
||||||
success {
|
success {
|
||||||
archiveArtifacts allowEmptyArchive: false, artifacts: 'bin/*'
|
archiveArtifacts allowEmptyArchive: false, artifacts: 'bin/*'
|
||||||
@ -215,7 +213,6 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
withCredentials([string(credentialsId: 'npm-sentry-dsn', variable: 'SENTRY_DSN')]) {
|
|
||||||
withCredentials([usernamePassword(credentialsId: 'jc21-dockerhub', passwordVariable: 'dpass', usernameVariable: 'duser')]) {
|
withCredentials([usernamePassword(credentialsId: 'jc21-dockerhub', passwordVariable: 'dpass', usernameVariable: 'duser')]) {
|
||||||
sh 'docker login -u "${duser}" -p "${dpass}"'
|
sh 'docker login -u "${duser}" -p "${dpass}"'
|
||||||
sh "./scripts/buildx --push ${buildxPushTags}"
|
sh "./scripts/buildx --push ${buildxPushTags}"
|
||||||
@ -223,7 +220,6 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
stage('Docs Deploy') {
|
stage('Docs Deploy') {
|
||||||
when {
|
when {
|
||||||
allOf {
|
allOf {
|
||||||
|
@ -14,14 +14,12 @@ ARG BUILD_COMMIT
|
|||||||
ARG BUILD_VERSION
|
ARG BUILD_VERSION
|
||||||
ARG GOPRIVATE
|
ARG GOPRIVATE
|
||||||
ARG GOPROXY
|
ARG GOPROXY
|
||||||
ARG SENTRY_DSN
|
|
||||||
|
|
||||||
ENV BUILD_COMMIT="${BUILD_COMMIT:-dev}" \
|
ENV BUILD_COMMIT="${BUILD_COMMIT:-dev}" \
|
||||||
BUILD_VERSION="${BUILD_VERSION:-0.0.0}" \
|
BUILD_VERSION="${BUILD_VERSION:-0.0.0}" \
|
||||||
CGO_ENABLED=0 \
|
CGO_ENABLED=0 \
|
||||||
GOPRIVATE="${GOPRIVATE:-}" \
|
GOPRIVATE="${GOPRIVATE:-}" \
|
||||||
GOPROXY="${GOPROXY:-}" \
|
GOPROXY="${GOPROXY:-}"
|
||||||
SENTRY_DSN="${SENTRY_DSN:-}"
|
|
||||||
|
|
||||||
COPY scripts /scripts
|
COPY scripts /scripts
|
||||||
COPY backend /app
|
COPY backend /app
|
||||||
|
@ -24,7 +24,6 @@ docker buildx build \
|
|||||||
--build-arg SKIP_TESTS=1 \
|
--build-arg SKIP_TESTS=1 \
|
||||||
--build-arg GOPRIVATE="${GOPRIVATE:-}" \
|
--build-arg GOPRIVATE="${GOPRIVATE:-}" \
|
||||||
--build-arg GOPROXY="${GOPROXY:-}" \
|
--build-arg GOPROXY="${GOPROXY:-}" \
|
||||||
--build-arg SENTRY_DSN="${SENTRY_DSN:-}" \
|
|
||||||
--platform linux/amd64,linux/arm64,linux/arm/7 \
|
--platform linux/amd64,linux/arm64,linux/arm/7 \
|
||||||
--progress plain \
|
--progress plain \
|
||||||
--pull \
|
--pull \
|
||||||
|
@ -60,7 +60,7 @@ build_backend() {
|
|||||||
go build \
|
go build \
|
||||||
-tags 'json1' \
|
-tags 'json1' \
|
||||||
-buildvcs=false \
|
-buildvcs=false \
|
||||||
-ldflags "-w -s -X main.commit=${BUILD_COMMIT:-notset} -X main.version=${BUILD_VERSION} -X main.sentryDSN=${SENTRY_DSN:-}" \
|
-ldflags "-w -s -X main.commit=${BUILD_COMMIT:-notset} -X main.version=${BUILD_VERSION}" \
|
||||||
-o "/app/bin/$FILENAME" \
|
-o "/app/bin/$FILENAME" \
|
||||||
./cmd/server
|
./cmd/server
|
||||||
}
|
}
|
||||||
|
@ -58,7 +58,6 @@ else
|
|||||||
-e GOPRIVATE="${GOPRIVATE:-}" \
|
-e GOPRIVATE="${GOPRIVATE:-}" \
|
||||||
-e GOPROXY="${GOPROXY:-}" \
|
-e GOPROXY="${GOPROXY:-}" \
|
||||||
-e NOW="$NOW" \
|
-e NOW="$NOW" \
|
||||||
-e SENTRY_DSN="${SENTRY_DSN:-}" \
|
|
||||||
-e TZ="${TZ:-Australia/Brisbane}" \
|
-e TZ="${TZ:-Australia/Brisbane}" \
|
||||||
-v "$(pwd):/app" \
|
-v "$(pwd):/app" \
|
||||||
-w '/app/backend' \
|
-w '/app/backend' \
|
||||||
|
@ -26,14 +26,14 @@ echo -e "${BLUE}❯ ${CYAN}Building binaries for ${YELLOW}${GOARCH} (${TARGETPLA
|
|||||||
go build \
|
go build \
|
||||||
-tags 'json1' \
|
-tags 'json1' \
|
||||||
-buildvcs=false \
|
-buildvcs=false \
|
||||||
-ldflags "-w -s -X main.commit=${BUILD_COMMIT:-notset} -X main.version=${BUILD_VERSION} -X main.sentryDSN=${SENTRY_DSN:-}" \
|
-ldflags "-w -s -X main.commit=${BUILD_COMMIT:-notset} -X main.version=${BUILD_VERSION}" \
|
||||||
-o "${1:-/dist/server}" \
|
-o "${1:-/dist/server}" \
|
||||||
./cmd/server
|
./cmd/server
|
||||||
|
|
||||||
# ipranges
|
# ipranges
|
||||||
go build \
|
go build \
|
||||||
-buildvcs=false \
|
-buildvcs=false \
|
||||||
-ldflags "-w -s -X main.commit=${BUILD_COMMIT:-notset} -X main.version=${BUILD_VERSION} -X main.sentryDSN=${SENTRY_DSN:-}" \
|
-ldflags "-w -s -X main.commit=${BUILD_COMMIT:-notset} -X main.version=${BUILD_VERSION}" \
|
||||||
-o "${2:-/dist/ipranges}" \
|
-o "${2:-/dist/ipranges}" \
|
||||||
./cmd/ipranges
|
./cmd/ipranges
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user