Skip to content

Commit ac07cff

Browse files
authored
Merge branch 'main' into revive/superfluous-else
2 parents 27d7edf + c2695c3 commit ac07cff

65 files changed

Lines changed: 659 additions & 412 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/e2e-test-kind.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ jobs:
121121
curl -LO https://dl.k8s.io/release/v${{ matrix.k8s }}/bin/linux/amd64/kubectl
122122
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
123123
124+
git clone https://github.com/vmware-tanzu-experiments/distributed-data-generator.git -b main /tmp/kibishii
125+
124126
GOPATH=~/go \
125127
CLOUD_PROVIDER=kind \
126128
OBJECT_STORE_PROVIDER=aws \
@@ -132,7 +134,9 @@ jobs:
132134
ADDITIONAL_CREDS_FILE=/tmp/credential \
133135
ADDITIONAL_BSL_BUCKET=additional-bucket \
134136
VELERO_IMAGE=velero:pr-test-linux-amd64 \
137+
PLUGINS=velero/velero-plugin-for-aws:latest \
135138
GINKGO_LABELS="${{ matrix.labels }}" \
139+
KIBISHII_DIRECTORY=/tmp/kibishii/kubernetes/yaml/ \
136140
make -C test/ run-e2e
137141
timeout-minutes: 30
138142
- name: Upload debug bundle

.github/workflows/pr-linter-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
with:
1919
go-version-file: 'go.mod'
2020
- name: Linter check
21-
uses: golangci/golangci-lint-action@v7
21+
uses: golangci/golangci-lint-action@v8
2222
with:
2323
version: v2.1.1
2424
args: --verbose

.github/workflows/push.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,6 @@ jobs:
2020
uses: actions/setup-go@v5
2121
with:
2222
go-version-file: 'go.mod'
23-
- id: 'auth'
24-
uses: google-github-actions/auth@v2
25-
with:
26-
credentials_json: '${{ secrets.GCS_SA_KEY }}'
27-
- name: 'set up GCloud SDK'
28-
uses: google-github-actions/setup-gcloud@v2
29-
- name: 'use gcloud CLI'
30-
run: |
31-
gcloud info
3223
- name: Set up QEMU
3324
id: qemu
3425
uses: docker/setup-qemu-action@v3
@@ -52,12 +43,6 @@ jobs:
5243
token: ${{ secrets.CODECOV_TOKEN }}
5344
files: coverage.out
5445
verbose: true
55-
# Use the JSON key in secret to login gcr.io
56-
- uses: 'docker/login-action@v3'
57-
with:
58-
registry: 'gcr.io' # or REGION.docker.pkg.dev
59-
username: '_json_key'
60-
password: '${{ secrets.GCR_SA_KEY }}'
6146
# Only try to publish the container image from the root repo; forks don't have permission to do so and will always get failures.
6247
- name: Publish container image
6348
if: github.repository == 'vmware-tanzu/velero'

Makefile

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,9 @@ REGISTRY ?= velero
3434
# docker buildx create --name=velero-builder --driver=docker-container --bootstrap --use --config ./buildkitd.toml
3535
# Refer to https://github.com/docker/buildx/issues/1370#issuecomment-1288516840 for more details
3636
INSECURE_REGISTRY ?= false
37-
GCR_REGISTRY ?= gcr.io/velero-gcp
3837

3938
# Image name
4039
IMAGE ?= $(REGISTRY)/$(BIN)
41-
GCR_IMAGE ?= $(GCR_REGISTRY)/$(BIN)
4240

4341
# We allow the Dockerfile to be configurable to enable the use of custom Dockerfiles
4442
# that pull base images from different registries.
@@ -81,10 +79,8 @@ TAG_LATEST ?= false
8179

8280
ifeq ($(TAG_LATEST), true)
8381
IMAGE_TAGS ?= $(IMAGE):$(VERSION) $(IMAGE):latest
84-
GCR_IMAGE_TAGS ?= $(GCR_IMAGE):$(VERSION) $(GCR_IMAGE):latest
8582
else
8683
IMAGE_TAGS ?= $(IMAGE):$(VERSION)
87-
GCR_IMAGE_TAGS ?= $(GCR_IMAGE):$(VERSION)
8884
endif
8985

9086
# check buildx is enabled only if docker is in path
@@ -116,7 +112,6 @@ CLI_PLATFORMS ?= linux-amd64 linux-arm linux-arm64 darwin-amd64 darwin-arm64 win
116112
BUILD_OUTPUT_TYPE ?= docker
117113
BUILD_OS ?= linux
118114
BUILD_ARCH ?= amd64
119-
BUILD_TAG_GCR ?= false
120115
BUILD_WINDOWS_VERSION ?= ltsc2022
121116

122117
ifeq ($(BUILD_OUTPUT_TYPE), docker)
@@ -134,9 +129,6 @@ ALL_OS_ARCH.windows = $(foreach os, $(filter windows,$(ALL_OS)), $(foreach arch,
134129
ALL_OS_ARCH = $(ALL_OS_ARCH.linux)$(ALL_OS_ARCH.windows)
135130

136131
ALL_IMAGE_TAGS = $(IMAGE_TAGS)
137-
ifeq ($(BUILD_TAG_GCR), true)
138-
ALL_IMAGE_TAGS += $(GCR_IMAGE_TAGS)
139-
endif
140132

141133
# set git sha and tree state
142134
GIT_SHA = $(shell git rev-parse HEAD)

changelogs/unreleased/8845-flx5

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Inherit the dnsPolicy and dnsConfig from the node agent pod.
2+
This is done so that the kopia task uses the same configuration.

changelogs/unreleased/8875-hu-keyu

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Pass the logger in kopia related operations.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix issue 8878, relief node os deduction error checks

changelogs/unreleased/8902-sseago

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Warn for not found error in patching managed fields
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add VolumeSnapshotContent into the RIA and the mustHave resource list.

hack/docker-push.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,5 +113,4 @@ TAG_LATEST="$TAG_LATEST" \
113113
BUILD_OS="$BUILD_OS" \
114114
BUILD_ARCH="$BUILD_ARCH" \
115115
BUILD_OUTPUT_TYPE=$OUTPUT_TYPE \
116-
BUILD_TAG_GCR=true \
117116
make all-containers

0 commit comments

Comments
 (0)