Skip to content

Commit

Permalink
Merge branch 'main' into fix-handling-timestamps-from-barman
Browse files Browse the repository at this point in the history
  • Loading branch information
teran authored Jul 8, 2024
2 parents 1e46629 + a4a043d commit 63a00d0
Show file tree
Hide file tree
Showing 170 changed files with 6,987 additions and 1,154 deletions.
2 changes: 1 addition & 1 deletion .github/kind_versions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[
"v1.30.0",
"v1.30.2",
"v1.29.4",
"v1.28.9",
"v1.27.13"
Expand Down
1 change: 1 addition & 0 deletions .github/openshift_versions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[
"4.16",
"4.15",
"4.14",
"4.13",
Expand Down
4 changes: 2 additions & 2 deletions .github/pg_versions.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"17": [
"17beta1",
"17beta1-1"
"17beta2",
"17beta2-3"
],
"16": [
"16.3",
Expand Down
17 changes: 15 additions & 2 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"prConcurrentLimit": 5,
// The branches renovate should target
// PLEASE UPDATE THIS WHEN RELEASING.
"baseBranches": ["main","release-1.21","release-1.22", "release-1.23"],
"ignorePaths": ["docs/**", "config/**", "releases/**", "contribute/**", "config/**", "licenses/**"],
"baseBranches": ["main","release-1.22", "release-1.23"],
"ignorePaths": ["docs/**", "releases/**", "contribute/**", "licenses/**", "pkg/versions/**"],
"postUpdateOptions": ["gomodTidy"],
"semanticCommits": "enabled",
// All PRs should have a label
Expand Down Expand Up @@ -214,6 +214,18 @@
"depNameTemplate": "redhat-openshift-ecosystem/openshift-preflight",
"versioningTemplate": "loose",
"extractVersionTemplate": "^(?<version>\\d+\\.\\d+\\.\\d+)"
}, {
"fileMatch": [
"^config\\/olm-scorecard\\/patches\\/basic\\.config\\.yaml$",
"^config\\/olm-scorecard\\/patches\\/olm\\.config\\.yaml$",
],
"matchStrings": [
"image: quay.io/operator-framework/scorecard-test:(?<currentValue>.*?)\\n",
],
"datasourceTemplate": "docker",
"versioningTemplate": "loose",
"depNameTemplate": "quay.io/operator-framework/scorecard-test",
"extractVersionTemplate": "^(?<version>v\\d+\\.\\d+\\.\\d+)"
},{
// We want a PR to bump Default Container Images versions.
"fileMatch": [
Expand Down Expand Up @@ -372,6 +384,7 @@
"matchPackagePrefixes": [
"operator-framework",
"redhat-openshift-ecosystem",
"quay.io/operator-framework",
],
"separateMajorMinor": "false",
"pinDigests": false
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,10 @@ jobs:
uses: actions-ecosystem/action-add-labels@v1
if: ${{ !contains(github.event.pull_request.labels.*.name, 'do not backport') }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.REPO_GHA_PAT }}
number: ${{ github.event.pull_request.number }}
labels: |
backport-requested :arrow_backward:
release-1.21
release-1.22
release-1.23
-
Expand All @@ -52,9 +51,9 @@ jobs:
uses: actions-ecosystem/action-remove-labels@v1
if: ${{ contains(github.event.pull_request.labels.*.name, 'do not backport') }}
with:
github_token: ${{ secrets.REPO_GHA_PAT }}
labels: |
backport-requested :arrow_backward:
release-1.21
release-1.22
release-1.23
Expand All @@ -72,7 +71,7 @@ jobs:
strategy:
fail-fast: false
matrix:
branch: [release-1.21, release-1.22, release-1.23]
branch: [release-1.22, release-1.23]
env:
PR: ${{ github.event.pull_request.number }}
outputs:
Expand Down
19 changes: 10 additions & 9 deletions .github/workflows/continuous-delivery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ env:
GOLANG_VERSION: "1.22.x"
KUBEBUILDER_VERSION: "2.3.1"
KIND_VERSION: "v0.23.0"
ROOK_VERSION: "v1.14.5"
ROOK_VERSION: "v1.14.8"
EXTERNAL_SNAPSHOTTER_VERSION: "v8.0.1"
OPERATOR_IMAGE_NAME: "ghcr.io/${{ github.repository }}-testing"
BUILD_PUSH_PROVENANCE: ""
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
strategy:
fail-fast: false
matrix:
branch: [release-1.21, release-1.22, release-1.23]
branch: [release-1.22, release-1.23]
steps:
- name: Invoke workflow with inputs
uses: benc-uk/workflow-dispatch@v1
Expand Down Expand Up @@ -382,7 +382,7 @@ jobs:
password: ${{ env.REGISTRY_PASSWORD }}
-
name: Build and push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
platforms: ${{ env.PLATFORMS }}
context: .
Expand All @@ -397,7 +397,7 @@ jobs:
cache-to: ${{ env.BUILD_PUSH_CACHE_TO }}
-
name: Build and push UBI8
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
platforms: ${{ env.PLATFORMS }}
context: .
Expand Down Expand Up @@ -478,7 +478,7 @@ jobs:
# NOTE: we only fire this in TEST DEPTH = 4, as that is the level of the
# upgrade test
name: Build and push image for upgrade test
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
if: |
always() && !cancelled() &&
needs.evaluate_options.outputs.test_level == '4'
Expand Down Expand Up @@ -2072,6 +2072,7 @@ jobs:
uses: actions/download-artifact@v4
with:
path: test-artifacts
pattern: testartifacts-*

- name: Flatten all artifacts onto directory
# The download-artifact action, since we did not give it a name,
Expand Down Expand Up @@ -2150,7 +2151,7 @@ jobs:
- name: Check preconditions
id: get_pr_number_and_labels
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.REPO_GHA_PAT }}
run: |
ok_label=$(gh pr view "${{ github.event.issue.number }}" --json labels -q ".labels.[].name" 2>/dev/null | grep "ok to merge :ok_hand:" || :)
echo "OK_LABEL=${ok_label}" >> $GITHUB_ENV
Expand All @@ -2160,7 +2161,7 @@ jobs:
env.OK_LABEL == ''
uses: actions-ecosystem/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.REPO_GHA_PAT }}
number: ${{ github.event.issue.number }}
labels: "ok to merge :ok_hand:"

Expand All @@ -2179,7 +2180,7 @@ jobs:
- name: Check preconditions
id: get_pr_number_and_labels
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.REPO_GHA_PAT }}
run: |
ok_label=$(gh pr view "${{ github.event.issue.number }}" --json labels -q ".labels.[].name" 2>/dev/null | grep "ok to merge :ok_hand:" || :)
echo "OK_LABEL=${ok_label}" >> $GITHUB_ENV
Expand All @@ -2189,6 +2190,6 @@ jobs:
env.OK_LABEL != ''
uses: actions-ecosystem/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.REPO_GHA_PAT }}
number: ${{ github.event.issue.number }}
labels: "ok to merge :ok_hand:"
14 changes: 7 additions & 7 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
strategy:
fail-fast: false
matrix:
branch: [release-1.21, release-1.22]
branch: [release-1.22, release-1.23]

steps:
- name: Invoke workflow with inputs
Expand Down Expand Up @@ -567,7 +567,7 @@ jobs:
password: ${{ env.REGISTRY_PASSWORD }}

- name: Build for scan distroless image
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
platforms: "linux/amd64"
context: .
Expand All @@ -587,7 +587,7 @@ jobs:
accept-keywords: key

- name: Build for scan UBI8 image
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
platforms: "linux/amd64"
context: .
Expand All @@ -609,7 +609,7 @@ jobs:
accept-keywords: key

- name: Build for scan UBI9 image
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
platforms: "linux/amd64"
context: .
Expand Down Expand Up @@ -652,7 +652,7 @@ jobs:
sarif_file: snyk.sarif

- name: Build and push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
platforms: ${{ env.PLATFORMS }}
context: .
Expand All @@ -666,7 +666,7 @@ jobs:
cache-to: ${{ env.BUILD_PUSH_CACHE_TO }}

- name: Build and push UBI8
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
platforms: ${{ env.PLATFORMS }}
context: .
Expand All @@ -677,7 +677,7 @@ jobs:
tags: ${{ steps.docker-meta-ubi8.outputs.tags }}

- name: Build and push UBI9
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
platforms: ${{ env.PLATFORMS }}
context: .
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/latest-postgres-version-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
if: env.LATEST_POSTGRES_VERSION_IMAGE != env.CURRENT_POSTGRES_VERSION_IMAGE
uses: peter-evans/create-pull-request@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.REPO_GHA_PAT }}
with:
title: "feat: update default PostgreSQL version to ${{ env.LATEST_POSTGRES_VERSION }}"
body: "Update default PostgreSQL version from ${{ env.CURRENT_POSTGRES_VERSION }} to ${{ env.LATEST_POSTGRES_VERSION }}"
Expand All @@ -82,7 +82,7 @@ jobs:
if: env.LATEST_POSTGRES_VERSION_IMAGE == env.CURRENT_POSTGRES_VERSION_IMAGE
uses: peter-evans/create-pull-request@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.REPO_GHA_PAT }}
with:
title: "test: Updated Postgres versions used in E2E tests"
body: "Update the Postgres versions used in E2E tests"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/public-cloud-k8s-versions-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
name: Create Pull Request if versions have been updated
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.REPO_GHA_PAT }}
title: "feat: Public Cloud K8S versions update"
body: "Update the versions used to test the operator on public cloud providers"
branch: "k8s-cloud-versions-update"
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,13 @@ jobs:
-
name: Get tag
run: |
TAG=${GITHUB_REF##*/}
DEST=$(echo ${TAG#v} | awk -F '[.]' '{print "release-"$1"."$2}')
echo "TAG=${TAG#v}" >> $GITHUB_ENV
TAG=${GITHUB_REF##*/v}
if [[ "${TAG}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
DEST=$(echo ${TAG} | awk -F '[.]' '{print "release-"$1"."$2}')
else
DEST="main"
fi
echo "TAG=${TAG}" >> $GITHUB_ENV
echo "DEST=${DEST}" >> $GITHUB_ENV
-
name: Pull Request
Expand Down
Loading

0 comments on commit 63a00d0

Please sign in to comment.