From 38eaa0fc55f40ac7f97856a71e4944d8b7afffb6 Mon Sep 17 00:00:00 2001 From: Luigi Operoso <40476330+brokenpip3@users.noreply.github.com> Date: Tue, 18 Apr 2023 00:01:07 +0200 Subject: [PATCH] chore: bump version to v0.8.0-beta (#814) - add dependabot - add codespell - update operator version in helm chart --- .github/dependabot.yml | 14 + .github/workflows/auto-codespell.yml | 21 + VERSION.txt | 2 +- backup/pvc/bin/backup.sh | 4 +- backup/pvc/bin/run.sh | 2 +- chart/jenkins-operator/README.md | 2 +- chart/jenkins-operator/values.yaml | 4 +- docs/docs/developer-guide/index.html | 1324 ++++++++--------- docs/docs/getting-started/latest/index.xml | 176 +-- .../latest/installing-the-operator/index.html | 990 ++++++------ .../v0.1.x/deploy-jenkins/index.html | 962 ++++++------ docs/docs/getting-started/v0.1.x/index.xml | 100 +- docs/docs/getting-started/v0.2.x/index.xml | 126 +- .../v0.2.x/migration/index.html | 964 ++++++------ docs/docs/getting-started/v0.6.x/index.xml | 176 +-- .../v0.6.x/installing-the-operator/index.html | 988 ++++++------ docs/docs/index.xml | 618 ++++---- test/e2e/configuration_test.go | 2 +- test/e2e/logging.go | 2 +- test/e2e/port_forward_test.go | 2 +- .../latest/installing-the-operator.md | 43 +- .../Getting Started/v0.1.x/deploy-jenkins.md | 2 +- .../docs/Getting Started/v0.2.x/migration.md | 18 +- .../v0.6.x/installing-the-operator.md | 36 +- 24 files changed, 3306 insertions(+), 3272 deletions(-) create mode 100644 .github/dependabot.yml create mode 100644 .github/workflows/auto-codespell.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..fa6081d3 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,14 @@ +version: 2 +updates: + - package-ecosystem: "gomod" + directory: "/" + schedule: + interval: "daily" + - package-ecosystem: "npm" + directory: "/" + schedule: + interval: "daily" + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" diff --git a/.github/workflows/auto-codespell.yml b/.github/workflows/auto-codespell.yml new file mode 100644 index 00000000..843cd2d3 --- /dev/null +++ b/.github/workflows/auto-codespell.yml @@ -0,0 +1,21 @@ +name: codespell +on: + push: + branches: + - master + - main + pull_request: + types: [opened, synchronize, ready_for_review, reopened] +jobs: + codespell: + name: codespell + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Codespell + uses: codespell-project/actions-codespell@v1 + with: + check_filenames: true + ignore_words_list: aks,ags,startin + skip: "*.js,package-lock.json,*.lock,*/Font-Awesome/*,*.toml,*.svg,*assets/vendor/bootstrap*" diff --git a/VERSION.txt b/VERSION.txt index 63f2359f..bd0a7375 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -v0.7.1 +v0.8.0-beta diff --git a/backup/pvc/bin/backup.sh b/backup/pvc/bin/backup.sh index ff9c9f63..74f32f88 100644 --- a/backup/pvc/bin/backup.sh +++ b/backup/pvc/bin/backup.sh @@ -11,8 +11,8 @@ trap "test -d "${BACKUP_TMP_DIR}" && rm -fr "${BACKUP_TMP_DIR}"" EXIT ERR SIGINT backup_number=$1 echo "Running backup" -# config.xml in a job directory is a config file that shouldnt be backed up -# config.xml in child directores is state that should. For example- +# config.xml in a job directory is a config file that shouldn't be backed up +# config.xml in child directories is state that should. For example- # branches/myorg/branches/myrepo/branches/master/config.xml should be retained while # branches/myorg/config.xml should not tar -C "${JENKINS_HOME}" -czf "${BACKUP_TMP_DIR}/${backup_number}.tar.gz" --exclude jobs/*/workspace* --no-wildcards-match-slash --anchored --exclude jobs/*/config.xml -c jobs && \ diff --git a/backup/pvc/bin/run.sh b/backup/pvc/bin/run.sh index 8d83d111..d764c696 100644 --- a/backup/pvc/bin/run.sh +++ b/backup/pvc/bin/run.sh @@ -10,7 +10,7 @@ do sleep 10 if [[ ! -z "${BACKUP_COUNT}" ]]; then echo "Trimming to only ${BACKUP_COUNT} recent backups in preparation for new backup" - #TODO: add the list of exceding backup before delete + #TODO: add the list of exceeding backup before delete find ${BACKUP_DIR} -maxdepth 1 -name '*.tar.gz' -exec basename {} \; | sort -gr | tail -n +$((BACKUP_COUNT +1)) | xargs -I '{}' rm ${BACKUP_DIR}/'{}' fi done diff --git a/chart/jenkins-operator/README.md b/chart/jenkins-operator/README.md index 92a25755..b1878296 100644 --- a/chart/jenkins-operator/README.md +++ b/chart/jenkins-operator/README.md @@ -94,7 +94,7 @@ Kubernetes native operator which fully manages Jenkins on Kubernetes | jenkins.volumes[0].persistentVolumeClaim.claimName | string | `"jenkins-backup"` | | | operator.affinity | object | `{}` | | | operator.fullnameOverride | string | `""` | | -| operator.image | string | `"quay.io/jenkins-kubernetes-operator/operator:9fd053b"` | | +| operator.image | string | `"quay.io/jenkins-kubernetes-operator/operator:v0.8.0-beta"` | | | operator.imagePullPolicy | string | `"IfNotPresent"` | | | operator.imagePullSecrets | list | `[]` | | | operator.nameOverride | string | `""` | | diff --git a/chart/jenkins-operator/values.yaml b/chart/jenkins-operator/values.yaml index 80de195b..1ee2335a 100644 --- a/chart/jenkins-operator/values.yaml +++ b/chart/jenkins-operator/values.yaml @@ -69,7 +69,7 @@ jenkins: # See https://jenkinsci.github.io/kubernetes-operator/docs/getting-started/latest/configuration/#pulling-docker-images-from-private-repositories for more info imagePullSecrets: [] - # notifications is feature that notify user about Jenkins reconcilation status + # notifications is feature that notify user about Jenkins reconciliation status # See https://jenkinsci.github.io/kubernetes-operator/docs/getting-started/latest/notifications/ for more info notifications: [] @@ -291,7 +291,7 @@ operator: replicaCount: 1 # image is the name (and tag) of the Jenkins Operator image - image: quay.io/jenkins-kubernetes-operator/operator:9fd053b + image: quay.io/jenkins-kubernetes-operator/operator:v0.8.0-beta # imagePullPolicy defines policy for pulling images imagePullPolicy: IfNotPresent diff --git a/docs/docs/developer-guide/index.html b/docs/docs/developer-guide/index.html index 7a594822..4cc8bcdf 100644 --- a/docs/docs/developer-guide/index.html +++ b/docs/docs/developer-guide/index.html @@ -51,7 +51,7 @@
- +