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:
Luigi Operoso
2023-03-23 00:04:57 +01:00
committed by GitHub
parent e36441a4a2
commit 9fd053b784
30 changed files with 550 additions and 368 deletions
+9 -1
View File
@@ -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
View File
@@ -1 +1 @@
v0.2.1
v0.2.2
+2 -2
View File
@@ -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