Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

docs(dev guide): add instructions to update vendored openshift #449

Merged
merged 1 commit into from
Nov 18, 2017

Conversation

surajssd
Copy link
Member

No description provided.

```bash
glide cc
```
This step is necessary if not done glide will pick up old data from it's cache.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this line

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done!


1. Update the OpenShift version in `scripts/vendor-openshift.sh`.

2. Clear cache
Copy link
Collaborator

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

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done!

@@ -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`.
Copy link
Collaborator

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)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done!

```
This step is necessary if not done glide will pick up old data from it's cache.

3. Get new and updated dependencies
Copy link
Collaborator

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

Copy link
Member Author

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
Copy link
Collaborator

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

Copy link
Member Author

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!

Copy link
Collaborator

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!

@surajssd surajssd force-pushed the update-vendor-instructions branch from a8351ba to 3640c31 Compare November 17, 2017 04:23
@cdrage
Copy link
Collaborator

cdrage commented Nov 17, 2017

LGTM merge when ready

@surajssd
Copy link
Member Author

Thanks @cdrage!

@surajssd surajssd merged commit b7154f7 into kedgeproject:master Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants