-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade vendored digitalocean/godo version to v1.22.0
- Loading branch information
Steven Normore
committed
Oct 21, 2019
1 parent
6da7fdf
commit 1d39163
Showing
15 changed files
with
149 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
vendor/ |
15 changes: 11 additions & 4 deletions
15
cluster-autoscaler/cloudprovider/digitalocean/godo/.travis.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,15 @@ | ||
language: go | ||
|
||
go: | ||
- 1.7 | ||
- 1.8 | ||
- 1.9 | ||
- "1.10" | ||
- 1.7.x | ||
- 1.8.x | ||
- 1.9.x | ||
- 1.10.x | ||
- 1.11.x | ||
- 1.12.x | ||
- 1.13.x | ||
- tip | ||
|
||
matrix: | ||
allow_failures: | ||
- go: tip |
13 changes: 13 additions & 0 deletions
13
cluster-autoscaler/cloudprovider/digitalocean/godo/CHANGELOG.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 15 additions & 17 deletions
32
cluster-autoscaler/cloudprovider/digitalocean/godo/VENDORED_VERSION
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,29 @@ | ||
The godo package was vendored based on the following git SHA: | ||
The `godo` package was vendored based on the git SHA `1f632d37f6858f0532207a5f77118c097d94be89`. | ||
|
||
8d8fad298a2eb45d1139313816d50a9ab5e423cd | ||
* We removed the `util/` folder because it's not needed. | ||
* We removed the `go.mod` to avoid conflicts (https://github.com/kubernetes/autoscaler/commit/a96bd9adc3d041cb2328b88101d995546e360d15#diff-d5d7c905baa3f3ba3fd4563b8b5ff9fa). | ||
* We vendored the dependencies by calling `go mod vendor` after checking out a new version. | ||
|
||
* We removed the `util/` folder because it's not needed | ||
* We vendored the dependencies by calling `go mod vendor` after checking out a new version | ||
To upgrade to a new `godo` version do the following: | ||
|
||
To upgrade to a new godo version do the following: | ||
|
||
``` | ||
```sh | ||
cd cloudprovider/digitalocean | ||
|
||
# remove the godo folder | ||
# Remove the godo folder | ||
rm -rf godo/ | ||
|
||
# clone the godo folder | ||
# Clone the godo folder | ||
git clone https://github.com/digitalocean/godo | ||
cd godo | ||
|
||
# checkout to new release, replace the version. Here we're using v1.19.0 | ||
git checkout v1.19.0 | ||
# Checkout to new release, replace the version. Here we're using v1.22.0 | ||
git checkout v1.22.0 | ||
|
||
# remove the .git and util/ | ||
rm -rf .git | ||
rm -rf util/ | ||
|
||
# vendor all dependencies | ||
# Vendor all dependencies | ||
go mod vendor | ||
|
||
# edit this file to include that you're using now the latest version | ||
# Remove the .git and util/ | ||
rm -rf .git util/ go.mod | ||
|
||
# Re-add this VENDORED_VERSION file and edit to indicate which version is now being used. | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.