Skip to content

Commit

Permalink
Update patching test to reflect new spec format
Browse files Browse the repository at this point in the history
Because of the patching PR.

Signed-off-by: Peter Engelbert <pmengelbert@gmail.com>
  • Loading branch information
pmengelbert committed Jan 9, 2024
1 parent 0b2d854 commit af12b8c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
8 changes: 5 additions & 3 deletions test/fixtures/git-patch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ dependencies:

sources:
src:
ref: https://github.com/moby/containerd.git
git:
url: https://github.com/moby/containerd.git
patch1:
ref: https://raw.githubusercontent.com/Azure/moby-packaging/7092638d14708b389abf0937086508ceb2571404/moby-containerd/patches/service-execstart.patch
https:
url: https://raw.githubusercontent.com/Azure/moby-packaging/7092638d14708b389abf0937086508ceb2571404/moby-containerd/patches/service-execstart.patch

build:
steps:
Expand All @@ -30,4 +32,4 @@ build:
patches:
src:
- source: patch1
- source: patch1
15 changes: 9 additions & 6 deletions test/fixtures/kubernetes-patch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,17 @@ dependencies:

sources:
src:
ref: https://github.com/kubernetes/kubernetes.git#v1.28.0

git:
url: https://github.com/kubernetes/kubernetes.git#v1.28.0
patch_120129:
ref: https://patch-diff.githubusercontent.com/raw/kubernetes/kubernetes/pull/120129.patch
https:
url: https://patch-diff.githubusercontent.com/raw/kubernetes/kubernetes/pull/120129.patch
patch_120134:
ref: https://patch-diff.githubusercontent.com/raw/kubernetes/kubernetes/pull/120134.patch
https:
url: https://patch-diff.githubusercontent.com/raw/kubernetes/kubernetes/pull/120134.patch
patch_121882:
ref: https://patch-diff.githubusercontent.com/raw/kubernetes/kubernetes/pull/121882.patch
https:
url: https://patch-diff.githubusercontent.com/raw/kubernetes/kubernetes/pull/121882.patch


build:
Expand All @@ -44,4 +47,4 @@ patches:
src:
- source: patch_120129
- source: patch_120134
- source: patch_121882
- source: patch_121882

0 comments on commit af12b8c

Please sign in to comment.