mirror of
https://github.com/jenkinsci/kubernetes-operator.git
synced 2026-09-29 20:51:10 +02:00
feat(operator): several updates (#806)
- prepare to switch from `master` to `main` - avoid to run workflow in case is not needed - add a way to bump the lts via make - use latest jenkins lts 2.387.1 - add the docker labels - update base plugins - fix #797 - Add more tests with bats - Update base plugin to latest version - Temporary revert #807 - Better nightly job
This commit is contained in:
@@ -1,4 +1,12 @@
|
||||
FROM debian:buster-slim
|
||||
FROM debian:bullseye-slim
|
||||
|
||||
LABEL maintainer="Jenkins Kubernetes Operator Community" \
|
||||
org.opencontainers.image.authors="Jenkins Kubernetes Operator Community" \
|
||||
org.opencontainers.image.title="backup-pvc" \
|
||||
org.opencontainers.image.description="Jenkins Operator Backup img via pvc volume" \
|
||||
org.opencontainers.image.url="quay.io/jenkins-kubernetes-operator/backup-pvc" \
|
||||
org.opencontainers.image.source="https://github.com/jenkinsci/kubernetes-operator/tree/master/backup/pvc" \
|
||||
org.opencontainers.image.base.name="debian:bullseye-slim"
|
||||
|
||||
ARG UID
|
||||
ARG GID
|
||||
|
||||
@@ -1 +1 @@
|
||||
v0.2.1
|
||||
v0.2.2
|
||||
|
||||
@@ -7,9 +7,9 @@ set -eo pipefail
|
||||
[[ -z "${JENKINS_HOME}" ]] && echo "Required 'JENKINS_HOME' env not set" && exit 1;
|
||||
|
||||
backup_number=$1
|
||||
echo "Running restore backup"
|
||||
echo "Running restore backup with backup number #${backup_number}"
|
||||
|
||||
tar -C ${JENKINS_HOME} -zxf "${BACKUP_DIR}/${backup_number}.tar.gz"
|
||||
|
||||
echo Done
|
||||
exit 0
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user