Comments (5)
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:
- 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.
- 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.
@thoraxe can we close this?
from training.
About to look at it right now.
from training.
Just merged a PR into the main sample app codebase, so now I need to test the example.
from training.
Documented for beta2. Thanks!
from training.
Related Issues (20)
- not every resource tagged with a key:value pair of clusterid:whatever_you_specified_during_install. HOT 6
- [Doc] A clusterautoscaler is needed before auto scale up HOT 3
- [Doc] Unformatted output from `oc get machines`
- Need section(s) on Troubleshooting, Known Issues and Workarounds HOT 1
- [Doc] The version of Red Hat CoreOS is not correct. HOT 1
- [Doc] The Command of getting SSH Key should use kubeconfig of the new install cluster. HOT 1
- Document how an user needs to re-login to use oc command after initial install HOT 2
- A guide to deploy logging using downsteam images HOT 4
- The hyperlink is wrong
- Suggest to add --dir when re-start install after cleanup
- Inconsistent PATH advice HOT 1
- AWS CLI is not a must on provisioning host but documenation said it is HOT 1
- Fix links in training landing page
- What is the requirement for `Base Domain`? HOT 2
- Update to .spec.providerConfig to .spec.providerSpec HOT 3
- oc get clusterversion output HOT 2
- Can you deploy OCS at no cost to infra nodes? HOT 1
- need firstly terminate ssh bastion before destroy cluster HOT 1
- Some issues need to be fixed in the Operator Hub section HOT 6
- links to docs.openshift.com require authentication? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from training.