Skip to content

Commit

Permalink
Merge pull request #972 from wongma7/hacke2ereadme
Browse files Browse the repository at this point in the history
Add how to consume new hack/e2e scripts in other repos (efs/fsx)
  • Loading branch information
k8s-ci-robot authored Jul 14, 2021
2 parents 6b60177 + 3254a8d commit 18e1b63
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion hack/e2e/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,16 @@ To commit changes and submit them as a PR back to the ebs repo:

```
git diff ebs/master:hack/e2e HEAD:hack/e2e > /tmp/hack_e2e.diff
cd $GOPATH/src/github.com/kubernetes-sigs/aws-ebs-csi-driver
pushd $GOPATH/src/github.com/kubernetes-sigs/aws-ebs-csi-driver
git apply --reject --directory hack/e2e /tmp/hack_e2e.diff
git commit
```

To consume newer changes from the ebs repo:

```
git fetch ebs
git diff HEAD:hack/e2e ebs/master:hack/e2e > /tmp/hack_e2e.diff
git apply --reject --directory hack/e2e /tmp/hack_e2e.diff
git commit
```

0 comments on commit 18e1b63

Please sign in to comment.