cloudfoundry / cf-mysql-release

Cloud Foundry MySQL Release
Apache License 2.0
58 stars 106 forks source link

no such file or directory: ./update #133

Closed Omnipresent closed 8 years ago

Omnipresent commented 8 years ago

I have an installation of bosh-lite running locally with CF.

I uploaded mysql release with this

bosh upload release https://bosh.io/d/github.com/cloudfoundry/cf-mysql-release

This is what I see when I run bosh releases

➜  cf-mysql-release git:(release-candidate) bosh releases
Acting as user 'admin' on 'Bosh Lite Director'

+--------------+------------+-------------+
| Name         | Versions   | Commit Hash |
+--------------+------------+-------------+
| cf           | 245+dev.1* | 1a84cd71    |
| cf-mysql     | 31         | 41fda3be+   |
| cf-rabbitmq  | 224.0.0    | 21516d49+   |
| local-volume | 0+dev.1    | dc5a6282    |
+--------------+------------+-------------+
(*) Currently deployed
(+) Uncommitted changes

Releases total: 4

I followed the README and did the following but I got an error that upload does not exist

➜  cloudfoundry git clone https://github.com/cloudfoundry/cf-mysql-release && \
cd cf-mysql-release && \
 git checkout release-candidate && \
./update && \
bosh create release
Cloning into 'cf-mysql-release'...
remote: Counting objects: 15542, done.
remote: Compressing objects: 100% (128/128), done.
remote: Total 15542 (delta 60), reused 0 (delta 0), pack-reused 15410
Receiving objects: 100% (15542/15542), 9.20 MiB | 3.37 MiB/s, done.
Resolving deltas: 100% (9286/9286), done.
Branch release-candidate set up to track remote branch release-candidate from origin.
Switched to a new branch 'release-candidate'
zsh: no such file or directory: ./update
cf-gitbot commented 8 years ago

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/132547355

The labels on this github issue will be updated when the story is started.

chendrix commented 8 years ago

Thanks for submitting this issue!

We moved the update script into the scripts/ directory, so you should be able to replace ./update with ./scripts/update

https://github.com/cloudfoundry/cf-mysql-release/commit/b4ccdedbc8b145c74b4d187b1a0109a3dfe10ae6

We will make sure to update our documentation to reflect this.

mfine30 commented 8 years ago

Hey @Omnipresent,

Thanks for catching that. We've updated our documentation to reflect the proper location of the ./scripts/update script. I'm going to close this issue now, but please let us know if this does not resolve the issue for you.

Best, Morgan