Coder Social home page Coder Social logo

Comments (5)

bparees avatar bparees commented on August 16, 2024

I've created a version of ruby-hello that includes a custom assemble script here:
https://github.com/bparees/ruby-hello-world/tree/custom_sti

the custom assemble script adds an additional echo command:
https://github.com/bparees/ruby-hello-world/blob/custom_sti/.sti/bin/assemble#L48

you can use the repo/branch by updating the application-template-stibuild.json BuildConfig source to this:
"source": {
"git": {
"uri": "git://github.com/bparees/ruby-hello-world.git",
"ref": "custom_sti"
},
"type": "Git"
},

notice the use of the "ref" field to point to the specific branch.

(obviously I recommend you create your own fork/branch)

you will notice in the build logs two things:

  1. 2015-03-06T21:54:48.818206106Z I0306 21:54:48.818194 1 sti.go:181] Using assemble from upload/src/.sti/bin

which indicates it picked up the assemble script from the source repo instead of from the image.

  1. the build-logs output will contain the modified output from the custom assemble script:
    [2015-03-06T21:55:26.603110030Z] I0306 21:55:26.603090 1 sti.go:357] ---> CUSTOM STI ASSEMBLE COMPLETE

from training.

bparees avatar bparees commented on August 16, 2024

@thoraxe can we close this?

from training.

thoraxe avatar thoraxe commented on August 16, 2024

About to look at it right now.

from training.

thoraxe avatar thoraxe commented on August 16, 2024

Just merged a PR into the main sample app codebase, so now I need to test the example.

from training.

thoraxe avatar thoraxe commented on August 16, 2024

Documented for beta2. Thanks!

from training.

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.