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 @@