-
Notifications
You must be signed in to change notification settings - Fork 40
docs(dev guide): add instructions to update vendored openshift #449
docs(dev guide): add instructions to update vendored openshift #449
Conversation
docs/development.md
Outdated
```bash | ||
glide cc | ||
``` | ||
This step is necessary if not done glide will pick up old data from it's cache. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done!
docs/development.md
Outdated
|
||
1. Update the OpenShift version in `scripts/vendor-openshift.sh`. | ||
|
||
2. Clear cache |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just make this more descriptive so you don't have to add the extra sentence below.
Clear the cache to prevent glide from using previous data
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done!
docs/development.md
Outdated
@@ -130,6 +130,30 @@ git add glide.yaml glide.lock vendor | |||
git commit | |||
``` | |||
|
|||
#### Updating OpenShift | |||
|
|||
1. Update the OpenShift version in `scripts/vendor-openshift.sh`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Include link to the file (github link?)
Perhaps
Update OPENSHIFT_VERSION within [`scripts/vendor-openshift.sh`](https://github.com/kedgeproject/kedge/blob/master/scripts/vendor-openshift.sh)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done!
docs/development.md
Outdated
``` | ||
This step is necessary if not done glide will pick up old data from it's cache. | ||
|
||
3. Get new and updated dependencies |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Retrieve new and updated dependencies
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done!
4. Commit updated glide files and vendor | ||
|
||
```bash | ||
git add glide.yaml glide.lock vendor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't you just do git add .
? No need to specify exact files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Exact files specified so that this vendor update goes in a separate commit and the code change if any goes in separate commit!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, seems reasonable to me!
a8351ba
to
3640c31
Compare
LGTM merge when ready |
Thanks @cdrage! |
No description provided.