Coder Social home page Coder Social logo

docker run example for nats-release fails: cannot access '/usr/local/bin/create-release.sh': No such file or directory about fissile HOT 7 OPEN

cloudfoundry-incubator avatar cloudfoundry-incubator commented on July 19, 2024
docker run example for nats-release fails: cannot access '/usr/local/bin/create-release.sh': No such file or directory

from fissile.

Comments (7)

drnic avatar drnic commented on July 19, 2024

Is this docker command interchangeable with locally running cd nats-release && bosh create-release?

from fissile.

jandubois avatar jandubois commented on July 19, 2024

I think it is, but I wonder why you spend effort on what is essentially legacy cruft; this should probably be deleted from the documentation.

This functionality was used by SCF v1 and v2, when most bosh releases were git submodules inside the SCF repo. This is no longer the case; I think the only release still build with this mechanism is scf-release itself. All other releases are downloaded from either bosh.io, or from some other S3 buckets.

Also, in case this is not clear, most of the fissile functionality is only used by SCF v2. The only command needed for SCF v3/Quarks is fissile build release-image which turns a bosh release into a container image (one image per release, as opposed to the huge shared base-layer images used by v2).

So if you are only interested in Quarks, then you don't really care about all the other stuff (like role manifests). I kind of wish we had implemented fissile build release-image as a separate tool; it is only a subcommand because it re-uses a lot of the fissile code for building v2 images.

from fissile.

drnic avatar drnic commented on July 19, 2024

from fissile.

drnic avatar drnic commented on July 19, 2024

from fissile.

drnic avatar drnic commented on July 19, 2024

I'll start with https://github.com/SUSE/nats-container-deployment.

Edit: Nope, that looks like a pre-Quarks project too. SUSE/nats-container-deployment#10

from fissile.

drnic avatar drnic commented on July 19, 2024

For future me/others who accidentally try these old instructions, I got the following demo to work:

mkdir -p ~/workspace/redis
cd ~/workspace/redis
fissile build release-images --stemcell splatform/fissile-stemcell-opensuse:42.3-38.g82067a9-30.95 --name redis-boshrelease:15.3.3 --url https://github.com/cloudfoundry-community/redis-boshrelease/releases/download/v15.3.3/redis-15.3.3.tgz --sha1 022d18e68627549bb0a7fc50a9f22e54fe5307f9 --version 15.3.3 -w $PWD

docker run -ti redis:opensuse-42.3-38.g82067a9-30.95-7.0.0_354.gacefcfa4-15.3.3 /var/vcap/packages/redis-4/bin/redis-cli -v

As suggested https://github.com/cloudfoundry-incubator/cf-operator-ci/blob/master/pipelines/release-images/tasks/build.sh#L32-L34, I then re-tagged the image with an organization and pushed to docker hub cfcommunity/redis:opensuse-42.3-38.g82067a9-30.95-7.0.0_354.gacefcfa4-15.3.3

from fissile.

drnic avatar drnic commented on July 19, 2024

This issue can be closed if current docs are all deprecated/not expected to work for new users.

from fissile.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.