Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nfs-subdir-external-provisioner
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rancher商店
nfs-subdir-external-provisioner
Commits
918cf697
Commit
918cf697
authored
Jun 03, 2022
by
Patrick Ohly
Browse files
Options
Browse Files
Download
Plain Diff
Merge commit '5dea4236b62f4da49996138fd7b20c498814388a' into prow-update-master
parents
dc170612
30ffcb50
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
prow.sh
release-tools/prow.sh
+3
-3
No files found.
release-tools/prow.sh
View file @
918cf697
...
@@ -811,7 +811,7 @@ install_snapshot_controller() {
...
@@ -811,7 +811,7 @@ install_snapshot_controller() {
modified
=
"
$(
cat
"
$i
"
|
while
IFS
=
read
-r
line
;
do
modified
=
"
$(
cat
"
$i
"
|
while
IFS
=
read
-r
line
;
do
nocomments
=
"
$(
echo
"
$line
"
|
sed
-e
's/ *#.*$//'
)
"
nocomments
=
"
$(
echo
"
$line
"
|
sed
-e
's/ *#.*$//'
)
"
if
echo
"
$nocomments
"
|
grep
-q
'^[[:space:]]*image:[[:space:]]*'
;
then
if
echo
"
$nocomments
"
|
grep
-q
'^[[:space:]]*image:[[:space:]]*'
;
then
# Split 'image:
k8s.gcr
.io/sig-storage/snapshot-controller:v3.0.0'
# Split 'image:
registry.k8s
.io/sig-storage/snapshot-controller:v3.0.0'
# into image (snapshot-controller:v3.0.0),
# into image (snapshot-controller:v3.0.0),
# name (snapshot-controller),
# name (snapshot-controller),
# tag (v3.0.0).
# tag (v3.0.0).
...
@@ -912,11 +912,11 @@ patch_kubernetes () {
...
@@ -912,11 +912,11 @@ patch_kubernetes () {
local source
=
"
$1
"
target
=
"
$2
"
local source
=
"
$1
"
target
=
"
$2
"
if
[
"
${
CSI_PROW_DRIVER_CANARY
}
"
=
"canary"
]
;
then
if
[
"
${
CSI_PROW_DRIVER_CANARY
}
"
=
"canary"
]
;
then
# We cannot replace
k8s.gcr
.io/sig-storage with gcr.io/k8s-staging-sig-storage because
# We cannot replace
registry.k8s
.io/sig-storage with gcr.io/k8s-staging-sig-storage because
# e2e.test does not support it (see test/utils/image/manifest.go). Instead we
# e2e.test does not support it (see test/utils/image/manifest.go). Instead we
# invoke the e2e.test binary with KUBE_TEST_REPO_LIST set to a file that
# invoke the e2e.test binary with KUBE_TEST_REPO_LIST set to a file that
# overrides that registry.
# overrides that registry.
find
"
$source
/test/e2e/testing-manifests/storage-csi/mock"
-name
'*.yaml'
-print0
| xargs
-0
sed
-i
-e
's;
k8s.gcr.io/sig-storage/\(.*\):v.*;k8s.gcr
.io/sig-storage/\1:canary;'
find
"
$source
/test/e2e/testing-manifests/storage-csi/mock"
-name
'*.yaml'
-print0
| xargs
-0
sed
-i
-e
's;
registry.k8s.io/sig-storage/\(.*\):v.*;registry.k8s
.io/sig-storage/\1:canary;'
cat
>
"
$target
/e2e-repo-list"
<<
EOF
cat
>
"
$target
/e2e-repo-list"
<<
EOF
sigStorageRegistry: gcr.io/k8s-staging-sig-storage
sigStorageRegistry: gcr.io/k8s-staging-sig-storage
EOF
EOF
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment