-
Notifications
You must be signed in to change notification settings - Fork 120
Provide an (additional) sample stack, one that is runnable by appsody #361
Conversation
72b4b6d
to
9b5d989
Compare
@henrynash - @kylegc took a look at the PR - it's a really good start. Wondering if it could be enriched with simple steps to demonstrate kill (for example - adding a loop in |
For the record, copying my comment on slack here: |
@chilanti I like the idea of keeping the script running in a loop, since this also means that the kill variable can be set to the (much more usual) FYI: The tutorial that uses this is currently in editorial review, but you can see a draft here: https://ibmdev1.rtp.raleigh.ibm.com/tutorials/create-appsody-stack/ |
@chilanti So I did try putting in a sleep loop in the test app (hello.sh), i.e.:
This actually causes a couple of issues:
So while I will still poke at this, unless there is a strong need to add this right now, maybe we defer that to iterations once merged? |
9d37a27
to
07081de
Compare
So I investigated the use of a sleep loop in the hello script further. Other than the fact that you do get a warning message (as documented above) when re-starting the "app", the other complication is that if you use an editor (e.g. I am open to whether the above makes it more or less useful to put a sleep loop into the hello.sh. |
@kewegner can you comment on the Warning message above? If I'm reading it correctly, it looks like the ON_CHANGE command is getting interrupted. Why is that? @henrynash WRT |
@kylegc in terms on not triggering the watcher, the Regex is correct, since if you touch the file it works. I suspect the issue is specifically related to editing shell scripts while they are executing, due to how those editors have work. The modification date in the mounted file system really does not change in these circumstances - so this isn’t the watcher’s fault. The interrupt i suspect is due to the script termination error code. These are two reasons why I did not try to to a sleep loop in the shell script. |
RE: the warning. I believe the script terminated. |
Thats very odd. We are able to reproduce it and think there is a bug in the watcher. |
Suggestion: Unless there are strong concerns, maybe we could merge this PR as is (since it doesn't have the shell loop in it - so it doesn't suffer from the problems we have been discussing). I'll then raise a new PR to add the shell loop...and we can test and analyse that until we are happy? |
I'm okay with that. @neeraj-laad please review and merge if you approve. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should not build additional samples index. We will allow users to get this sample and then build/test locally themselves using standard process.
@neeraj-laad @ebullient So have looked at this some more. While I applaud the goal of minimising indexes, it also doesn't feel right that we would publish a runnable sample stack that we would not test as part of our travis builds. Further, without some changes to the travis side of things, the inclusion of a runnable sample in the samples directory breaks it (since some parts recognise it as a stack, but other parts don't build anything in the samples dir). While it would be possible, I suspect, to fix it up and make it build but avoided the index, I worry we will introduce more complications. We also, of course, want to use this stack with the new |
@henrynash Thanks for looking into this further. I am still not sure I am understanding the value of building this as an index. A repo index allows an I'd prefer for So, in my opinion the only thing we need is to ensure that the (to be released) users can specify they want to start with this stack when they run the |
While I don't particularly like having an index of "samples", I see the value in making this a full blown stack. That way we can treat it in the build process and the CLI as a normal stack and not have additional logic all over for samples. It actually makes the Proposal: What if we publish this to the "incubator" (a.k.a. appsodyhub) index with a better name so it fits in? Possible names: "slim", "base", "minimal" |
@kylegc I'd be happy with that (and @ebullient and I did briefly discuss that when we started this). @neeraj-laad Agree with the goal! However, if we don't create a new index (and I'm fine with that in principle), unless we change something in the ci system, the inclusion of a runnable sample stack breaks our current ci build/test scripts, when you build everything (because they assume that since they find what looks like a real stack, it should be in an index, and gets all confused. Early versions of my PR failed the travis build/test checks because of this). My point was therefore that we would need to modify the ci scripts to build and test a stack that wasn't in an index....which would need some special casing that we don't have right now. |
8b7203f
to
0b02eef
Compare
@henrynash I completely agree with your comment regarding the ability to maintain a stack that is not in any index and is not tested/built like others. |
@neeraj-laad I have updated the PR with the runnable sample being placed in incubator. |
I am also ok with adding this to an existing index, but I think we should base the decision on how we believe people will use it: Do we think developers will want to use this as an appsody stack "as-is" and work with it? (similar to how they would use If the answer is yes, we should add it to one of our existing repos that are indexed - If the answer is no, and we think this is something that stack creators will use as a starting point then it should not be in one of our standard indexes. But, I also agree we need to have this tested in CI to make it useful. Perhaps we can build and test this as a sample in our CI but not publish the samples index during the release. |
So I do not believe people will use this stack as is, expect perhaps the initial step or running it to makes sure they local configuration is good. The stack is intended to really to be copied and then modified. While I agree it is a perfectly reasonable approach to have this built and tested by our scripts but not included in an index (provided we do NOT also have to do something special for (As an aside, from a IA Customer Dev Advocacy point of view, we are running low on time....we have a whole slew of Kabanero content due to be published on Wednesday...including docs that use this runnable sample.....so it would be ideal if we can resolve this issue quickly, so I can update those docs with whatever is decided :-). Here's the main tutorial that references the runnable stack: https://github.ibm.com/IBMCode/Code-Tutorials/blob/master/create-appsody-stack/index.md) |
bc61f18
to
5df69e8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…appsody#361) * Initial runnable sample stack * Allow build scripts to operate on samples * Reference regular run env in change env * Change APPSODY_INSTALL -> PREP * Fix ENV names * Fix up REGEX * Remove unused PORT env variable * Move sample to incubator * undo travis/ci changes * Clean up removal from samples * rename stack to "starter"
* Move travis environment processing into guarded scripts (appsody#298) * Move travis environment processing into guarded scripts Remove use of `set -e` as it prevents recovering from errors from invoked commands. Signed-off-by: Erin Schnabel <[email protected]> * review comments Signed-off-by: Erin Schnabel <[email protected]> * Restart on trigger (appsody#314) * Restart on trigger * Update versions * Update index.yaml (appsody#316) Signed-off-by Neeraj Laad <[email protected]> * Allow specific collection's docker images to be built By setting STACKS_LIST specific collections will be able to be built. If set to " " (space) then no images will be built. Signed-off-by: Steve Groeger <[email protected]> * Update to allow stack name to use IMAGE_REGISTRY_ORG Signed-off-by: Steve Groeger <[email protected]> * proof readme * suppress maven progress output for microprofile (appsody#320) Signed-off-by: Erin Schnabel <[email protected]> * review comments * Update readme * proof readme * ubuntu has backlevel maven. Use -B (appsody#322) Signed-off-by: Erin Schnabel <[email protected]> * suppress maven progress output for Spring+Liberty (appsody#319) Signed-off-by: Erin Schnabel <[email protected]> * suppress maven progress output for vertx (appsody#317) Signed-off-by: Erin Schnabel <[email protected]> * Fix issues with README.md wording * Update github templates for Kabanero Signed-off-by: Steve Groeger <[email protected]> * Add .md describing the collections repo structure Signed-off-by: Steve Groeger <[email protected]> * suppress maven progress output for quarkus (appsody#318) Signed-off-by: Erin Schnabel <[email protected]> * Update .md based on review comments. * Run appsody commands (build, run, stop) for specified stacks (appsody#323) Provide basic contents in test.sh to ensure that stack templates can be run, and that projects can be extracted and built using the stack. Travis builds: - Install appsody CLI if missing. - Use a subset of known stacks when nothing else is specified - Wrap long-running commands to prevent exit from no console output Signed-off-by: Erin Schnabel <[email protected]> * aadeshpa updated with buildah instead of kanino in build task * Mp version range (appsody#329) * Add version range to mp stack * increase parent pom version * Mp version range [fix] (appsody#336) * Add version range to mp stack * increase parent pom version * Mvnw optional on java * Revert "Mvnw optional on java" This reverts commit c29bda5. * make check_version executable * Mp version range [fix] (appsody#337) * Add version range to mp stack * increase parent pom version * Mvnw optional on java * Revert "Mvnw optional on java" This reverts commit c29bda5. * make check_version executable * install parent pom during build * [ci] Fallback travis stack list; fix tests (appsody#326) * Fallback travis stack list; fix tests Signed-off-by: Erin Schnabel <[email protected]> * Fail fast if image build fails Signed-off-by: Erin Schnabel <[email protected]> * Make init and build steps much quieter (appsody#338) Signed-off-by: Erin Schnabel <[email protected]> * source the release script (preserve shell) (appsody#339) Signed-off-by: Erin Schnabel <[email protected]> * Sbol version range (appsody#330) * Add version range * add missing xmlstarlet * Make check_version executable * add mvn install to docker build * Sb optional mvnw (appsody#331) * mvnw optional on java * increase version * Update to correctly allow xmlstarlet to be installed and tests to run Signed-off-by: Steve Groeger <[email protected]> * Fix issue with matching appsody repo Signed-off-by: Steve Groeger <[email protected]> * Update pre_list script to detect BUILD_ALL Signed-off-by: Steve Groeger <[email protected]> * Fix issue with mismatching repo names (appsody#342) Signed-off-by: Steve Groeger <[email protected]> * Set the codewind DISPLAY_NAME_PREFIX to be "Kabanero" Signed-off-by: Steve Groeger <[email protected]> * Use a variable as a prefix for the codewind index stack display names (appsody#343) Signed-off-by: Steve Groeger <[email protected]> * make mvnw optional on java (appsody#332) * make mvnw optional on java (appsody#333) * nodejs-express: added environment variable to production image (appsody#341) * nodejs-express: added environment variable to production image * bumped version * added timeout value * Fix path to pom.xml (appsody#345) Fixes path to parent pom in init.sh Signed-off-by Neeraj Laad <[email protected] * vertx: allow version range (appsody#349) * alter trigger behavior (appsody#353) * Fix issue with excluded stacks being added to index Signed-off-by: Steve Groeger <[email protected]> * Update build-task.yaml to include collection validation * formatting. * Formatting. * Move executable definitions for sha256cmd Signed-off-by: Steve Groeger <[email protected]> * Update docker image to point to kabanero * Stop templates being built for stacks we are not building. Signed-off-by: Steve Groeger <[email protected]> * Update README.md Update to not use `stacks` where `collections` should be used. Separate out the specific usages of Appsody stacks. * nodejs-functions: fix typos in readme (appsody#370) * fix: typos in readme * docs: general typos * python-flask: unset watch ignore directory (appsody#352) * unset watch ignore directory * Remove WATCH_IGNORE line entirely * Update README.md to provide better info on testing locally. Signed-off-by: Steve Groeger <[email protected]> * Include the stack version for issues (appsody#375) * Verbose mode with log capture (appsody#347) Signed-off-by: Erin Schnabel <[email protected]> * [java-spring-boot2] Use git and version data in stack image (appsody#325) * Use git and stack information in stack image Fix final Docker image: - expose ports - use exec so signals are passedto jvm Signed-off-by: Erin Schnabel <[email protected]> * Fix VERBOSE test, quote filenames Signed-off-by: Erin Schnabel <[email protected]> * Strip out unneeded steps due to latest Appsody changes Signed-off-by: Steve Groeger <[email protected]> * Update spring stack version (just stack.yaml!) (appsody#378) Signed-off-by: Erin Schnabel <[email protected]> * Keep index.yaml consistent with the kabanero-index.yaml in the latest release Signed-off-by: Steve Groeger <[email protected]> * [python-flask] Move flask to 1.1.1, plus other minor cleanups (appsody#377) * Move flask to 1.1.1, plus other minor cleanups * Ensure debugger can connect (also bump version) * updated v1 index (appsody#382) * Move stack to open JDK * [nodejs-functions] Manage functions that are not exported as GET (appsody#385) * Fix: Manage functions that are not exported as GET * Formatting: remove final line break * Bump the version number in the stack.yaml * Bump the version number in package.json * Fix: return is called when any HTTP method found "return" statement was executed after the GET check, making the rest of the code unreachable. Improved formatting. * Formatting: use single quotes * build: remove trailing slash if present in stacks list (appsody#383) * build: remove trailing slash if present in stacks list * renamed var * Remove experimental collections as not supported by kabanero Signed-off-by: Steve Groeger <[email protected]> * Remove unsupported collections Signed-off-by: Steve Groeger <[email protected]> * Update readme.md to add info on creating a manual release Signed-off-by: Steve Groeger <[email protected]> * Ensure IMAGE_REGISTRY_ORG placeholder is substituted in collection.yaml Signed-off-by: Steve Groeger <[email protected]> * Resolve whitespace issue Signed-off-by: Steve Groeger <[email protected]> * Fix issue where templates were not built Signed-off-by: Steve Groeger <[email protected]> * vertx: define timeout seconds for readiness probe (appsody#399) * Fix Build Script (appsody#406) * Fix Build Script * Encapsulate logic in if block * nodejs-express: rename skaffold to scaffold (appsody#388) * nodejs-express: rename skaffold to scaffold * ver: update package.json ver number * nodejs-express: add documentation on templates * rust: initial version of rust stack (appsody#369) * rust: initial version of rust stack * simplified Dockerfile * fixed dockerfile * simplified dockerfile * get name of generated binary * cached dependencies * expose port * get name of generated binary inside dockerfile * Use xmlstarlet instead of grep (appsody#395) * Use Xmlstarlet, improve versioning (appsody#396) * appsody#364 improve pom.xml by adopting agreed best practices (appsody#397) * appsody#364 improve pom.xml by adopting agreed best practices * appsody#364 improve pom.xml by adopting agreed best practices * Update pom.xml * Update stack.yaml * loopback: define timeout seconds for readiness probe (appsody#398) * java-microprofile Revert "appsody#364 improve pom.xml by adopting agreed best practices" (appsody#418) * Revert "appsody#364 improve pom.xml by adopting agreed best practices (appsody#397)" This reverts commit b3c5cb8. * Update pom.xml * Update stack.yaml * Fix steps to clone collections locally The user has to `cd collections` before `git` will recognize the collections repository to add a remote, or push. * aadeshpa remove the volumeMounts for the validation step * recompile on debug change (appsody#424) * Provide an (additional) sample stack, one that is runnable by appsody (appsody#361) * Initial runnable sample stack * Allow build scripts to operate on samples * Reference regular run env in change env * Change APPSODY_INSTALL -> PREP * Fix ENV names * Fix up REGEX * Remove unused PORT env variable * Move sample to incubator * undo travis/ci changes * Clean up removal from samples * rename stack to "starter" * Remove experimental collections Signed-off-by: Steve Groeger <[email protected]> * initial changes * disable tests * [java-microprofile] Add javametrics as a dev only dependency (appsody#56) * Add javametrics as a dev only dependency * remove javametrics for test env var * Remove the starter stack that was added by Appsody. Signed-off-by: Steve Groeger <[email protected]> * Update the VERSION and README.md files Signed-off-by: Steve Groeger <[email protected]>
* Move travis environment processing into guarded scripts (appsody#298) * Move travis environment processing into guarded scripts Remove use of `set -e` as it prevents recovering from errors from invoked commands. Signed-off-by: Erin Schnabel <[email protected]> * review comments Signed-off-by: Erin Schnabel <[email protected]> * Restart on trigger (appsody#314) * Restart on trigger * Update versions * Update index.yaml (appsody#316) Signed-off-by Neeraj Laad <[email protected]> * Allow specific collection's docker images to be built By setting STACKS_LIST specific collections will be able to be built. If set to " " (space) then no images will be built. Signed-off-by: Steve Groeger <[email protected]> * Update to allow stack name to use IMAGE_REGISTRY_ORG Signed-off-by: Steve Groeger <[email protected]> * proof readme * suppress maven progress output for microprofile (appsody#320) Signed-off-by: Erin Schnabel <[email protected]> * review comments * Update readme * proof readme * ubuntu has backlevel maven. Use -B (appsody#322) Signed-off-by: Erin Schnabel <[email protected]> * suppress maven progress output for Spring+Liberty (appsody#319) Signed-off-by: Erin Schnabel <[email protected]> * suppress maven progress output for vertx (appsody#317) Signed-off-by: Erin Schnabel <[email protected]> * Fix issues with README.md wording * Update github templates for Kabanero Signed-off-by: Steve Groeger <[email protected]> * Add .md describing the collections repo structure Signed-off-by: Steve Groeger <[email protected]> * suppress maven progress output for quarkus (appsody#318) Signed-off-by: Erin Schnabel <[email protected]> * Update .md based on review comments. * Run appsody commands (build, run, stop) for specified stacks (appsody#323) Provide basic contents in test.sh to ensure that stack templates can be run, and that projects can be extracted and built using the stack. Travis builds: - Install appsody CLI if missing. - Use a subset of known stacks when nothing else is specified - Wrap long-running commands to prevent exit from no console output Signed-off-by: Erin Schnabel <[email protected]> * aadeshpa updated with buildah instead of kanino in build task * Mp version range (appsody#329) * Add version range to mp stack * increase parent pom version * Mp version range [fix] (appsody#336) * Add version range to mp stack * increase parent pom version * Mvnw optional on java * Revert "Mvnw optional on java" This reverts commit c29bda5. * make check_version executable * Mp version range [fix] (appsody#337) * Add version range to mp stack * increase parent pom version * Mvnw optional on java * Revert "Mvnw optional on java" This reverts commit c29bda5. * make check_version executable * install parent pom during build * [ci] Fallback travis stack list; fix tests (appsody#326) * Fallback travis stack list; fix tests Signed-off-by: Erin Schnabel <[email protected]> * Fail fast if image build fails Signed-off-by: Erin Schnabel <[email protected]> * Make init and build steps much quieter (appsody#338) Signed-off-by: Erin Schnabel <[email protected]> * source the release script (preserve shell) (appsody#339) Signed-off-by: Erin Schnabel <[email protected]> * Sbol version range (appsody#330) * Add version range * add missing xmlstarlet * Make check_version executable * add mvn install to docker build * Sb optional mvnw (appsody#331) * mvnw optional on java * increase version * Update to correctly allow xmlstarlet to be installed and tests to run Signed-off-by: Steve Groeger <[email protected]> * Fix issue with matching appsody repo Signed-off-by: Steve Groeger <[email protected]> * Update pre_list script to detect BUILD_ALL Signed-off-by: Steve Groeger <[email protected]> * Fix issue with mismatching repo names (appsody#342) Signed-off-by: Steve Groeger <[email protected]> * Set the codewind DISPLAY_NAME_PREFIX to be "Kabanero" Signed-off-by: Steve Groeger <[email protected]> * Use a variable as a prefix for the codewind index stack display names (appsody#343) Signed-off-by: Steve Groeger <[email protected]> * make mvnw optional on java (appsody#332) * make mvnw optional on java (appsody#333) * nodejs-express: added environment variable to production image (appsody#341) * nodejs-express: added environment variable to production image * bumped version * added timeout value * Fix path to pom.xml (appsody#345) Fixes path to parent pom in init.sh Signed-off-by Neeraj Laad <[email protected] * vertx: allow version range (appsody#349) * alter trigger behavior (appsody#353) * Fix issue with excluded stacks being added to index Signed-off-by: Steve Groeger <[email protected]> * Update build-task.yaml to include collection validation * formatting. * Formatting. * Move executable definitions for sha256cmd Signed-off-by: Steve Groeger <[email protected]> * Update docker image to point to kabanero * Stop templates being built for stacks we are not building. Signed-off-by: Steve Groeger <[email protected]> * Update README.md Update to not use `stacks` where `collections` should be used. Separate out the specific usages of Appsody stacks. * nodejs-functions: fix typos in readme (appsody#370) * fix: typos in readme * docs: general typos * python-flask: unset watch ignore directory (appsody#352) * unset watch ignore directory * Remove WATCH_IGNORE line entirely * Update README.md to provide better info on testing locally. Signed-off-by: Steve Groeger <[email protected]> * Include the stack version for issues (appsody#375) * Verbose mode with log capture (appsody#347) Signed-off-by: Erin Schnabel <[email protected]> * [java-spring-boot2] Use git and version data in stack image (appsody#325) * Use git and stack information in stack image Fix final Docker image: - expose ports - use exec so signals are passedto jvm Signed-off-by: Erin Schnabel <[email protected]> * Fix VERBOSE test, quote filenames Signed-off-by: Erin Schnabel <[email protected]> * Strip out unneeded steps due to latest Appsody changes Signed-off-by: Steve Groeger <[email protected]> * Update spring stack version (just stack.yaml!) (appsody#378) Signed-off-by: Erin Schnabel <[email protected]> * Keep index.yaml consistent with the kabanero-index.yaml in the latest release Signed-off-by: Steve Groeger <[email protected]> * [python-flask] Move flask to 1.1.1, plus other minor cleanups (appsody#377) * Move flask to 1.1.1, plus other minor cleanups * Ensure debugger can connect (also bump version) * updated v1 index (appsody#382) * Move stack to open JDK * [nodejs-functions] Manage functions that are not exported as GET (appsody#385) * Fix: Manage functions that are not exported as GET * Formatting: remove final line break * Bump the version number in the stack.yaml * Bump the version number in package.json * Fix: return is called when any HTTP method found "return" statement was executed after the GET check, making the rest of the code unreachable. Improved formatting. * Formatting: use single quotes * build: remove trailing slash if present in stacks list (appsody#383) * build: remove trailing slash if present in stacks list * renamed var * Remove experimental collections as not supported by kabanero Signed-off-by: Steve Groeger <[email protected]> * Remove unsupported collections Signed-off-by: Steve Groeger <[email protected]> * Update readme.md to add info on creating a manual release Signed-off-by: Steve Groeger <[email protected]> * Ensure IMAGE_REGISTRY_ORG placeholder is substituted in collection.yaml Signed-off-by: Steve Groeger <[email protected]> * Resolve whitespace issue Signed-off-by: Steve Groeger <[email protected]> * Fix issue where templates were not built Signed-off-by: Steve Groeger <[email protected]> * vertx: define timeout seconds for readiness probe (appsody#399) * Fix Build Script (appsody#406) * Fix Build Script * Encapsulate logic in if block * nodejs-express: rename skaffold to scaffold (appsody#388) * nodejs-express: rename skaffold to scaffold * ver: update package.json ver number * nodejs-express: add documentation on templates * rust: initial version of rust stack (appsody#369) * rust: initial version of rust stack * simplified Dockerfile * fixed dockerfile * simplified dockerfile * get name of generated binary * cached dependencies * expose port * get name of generated binary inside dockerfile * Use xmlstarlet instead of grep (appsody#395) * Use Xmlstarlet, improve versioning (appsody#396) * appsody#364 improve pom.xml by adopting agreed best practices (appsody#397) * appsody#364 improve pom.xml by adopting agreed best practices * appsody#364 improve pom.xml by adopting agreed best practices * Update pom.xml * Update stack.yaml * loopback: define timeout seconds for readiness probe (appsody#398) * java-microprofile Revert "appsody#364 improve pom.xml by adopting agreed best practices" (appsody#418) * Revert "appsody#364 improve pom.xml by adopting agreed best practices (appsody#397)" This reverts commit b3c5cb8. * Update pom.xml * Update stack.yaml * Fix steps to clone collections locally The user has to `cd collections` before `git` will recognize the collections repository to add a remote, or push. * aadeshpa remove the volumeMounts for the validation step * recompile on debug change (appsody#424) * Provide an (additional) sample stack, one that is runnable by appsody (appsody#361) * Initial runnable sample stack * Allow build scripts to operate on samples * Reference regular run env in change env * Change APPSODY_INSTALL -> PREP * Fix ENV names * Fix up REGEX * Remove unused PORT env variable * Move sample to incubator * undo travis/ci changes * Clean up removal from samples * rename stack to "starter" * Remove experimental collections Signed-off-by: Steve Groeger <[email protected]> * initial changes * disable tests * [java-microprofile] Add javametrics as a dev only dependency (appsody#56) * Add javametrics as a dev only dependency * remove javametrics for test env var * Remove the starter stack that was added by Appsody. Signed-off-by: Steve Groeger <[email protected]> * Update the VERSION and README.md files Signed-off-by: Steve Groeger <[email protected]> * Update CI scripts to correctly process the codewind json files for nginx Signed-off-by: Steve Groeger <[email protected]> * sync
* Move travis environment processing into guarded scripts (appsody#298) * Move travis environment processing into guarded scripts Remove use of `set -e` as it prevents recovering from errors from invoked commands. Signed-off-by: Erin Schnabel <[email protected]> * review comments Signed-off-by: Erin Schnabel <[email protected]> * Restart on trigger (appsody#314) * Restart on trigger * Update versions * Update index.yaml (appsody#316) Signed-off-by Neeraj Laad <[email protected]> * Allow specific collection's docker images to be built By setting STACKS_LIST specific collections will be able to be built. If set to " " (space) then no images will be built. Signed-off-by: Steve Groeger <[email protected]> * Update to allow stack name to use IMAGE_REGISTRY_ORG Signed-off-by: Steve Groeger <[email protected]> * proof readme * suppress maven progress output for microprofile (appsody#320) Signed-off-by: Erin Schnabel <[email protected]> * review comments * Update readme * proof readme * ubuntu has backlevel maven. Use -B (appsody#322) Signed-off-by: Erin Schnabel <[email protected]> * suppress maven progress output for Spring+Liberty (appsody#319) Signed-off-by: Erin Schnabel <[email protected]> * suppress maven progress output for vertx (appsody#317) Signed-off-by: Erin Schnabel <[email protected]> * Fix issues with README.md wording * Update github templates for Kabanero Signed-off-by: Steve Groeger <[email protected]> * Add .md describing the collections repo structure Signed-off-by: Steve Groeger <[email protected]> * suppress maven progress output for quarkus (appsody#318) Signed-off-by: Erin Schnabel <[email protected]> * Update .md based on review comments. * Run appsody commands (build, run, stop) for specified stacks (appsody#323) Provide basic contents in test.sh to ensure that stack templates can be run, and that projects can be extracted and built using the stack. Travis builds: - Install appsody CLI if missing. - Use a subset of known stacks when nothing else is specified - Wrap long-running commands to prevent exit from no console output Signed-off-by: Erin Schnabel <[email protected]> * aadeshpa updated with buildah instead of kanino in build task * Mp version range (appsody#329) * Add version range to mp stack * increase parent pom version * Mp version range [fix] (appsody#336) * Add version range to mp stack * increase parent pom version * Mvnw optional on java * Revert "Mvnw optional on java" This reverts commit c29bda5. * make check_version executable * Mp version range [fix] (appsody#337) * Add version range to mp stack * increase parent pom version * Mvnw optional on java * Revert "Mvnw optional on java" This reverts commit c29bda5. * make check_version executable * install parent pom during build * [ci] Fallback travis stack list; fix tests (appsody#326) * Fallback travis stack list; fix tests Signed-off-by: Erin Schnabel <[email protected]> * Fail fast if image build fails Signed-off-by: Erin Schnabel <[email protected]> * Make init and build steps much quieter (appsody#338) Signed-off-by: Erin Schnabel <[email protected]> * source the release script (preserve shell) (appsody#339) Signed-off-by: Erin Schnabel <[email protected]> * Sbol version range (appsody#330) * Add version range * add missing xmlstarlet * Make check_version executable * add mvn install to docker build * Sb optional mvnw (appsody#331) * mvnw optional on java * increase version * Update to correctly allow xmlstarlet to be installed and tests to run Signed-off-by: Steve Groeger <[email protected]> * Fix issue with matching appsody repo Signed-off-by: Steve Groeger <[email protected]> * Update pre_list script to detect BUILD_ALL Signed-off-by: Steve Groeger <[email protected]> * Fix issue with mismatching repo names (appsody#342) Signed-off-by: Steve Groeger <[email protected]> * Set the codewind DISPLAY_NAME_PREFIX to be "Kabanero" Signed-off-by: Steve Groeger <[email protected]> * Use a variable as a prefix for the codewind index stack display names (appsody#343) Signed-off-by: Steve Groeger <[email protected]> * make mvnw optional on java (appsody#332) * make mvnw optional on java (appsody#333) * nodejs-express: added environment variable to production image (appsody#341) * nodejs-express: added environment variable to production image * bumped version * added timeout value * Fix path to pom.xml (appsody#345) Fixes path to parent pom in init.sh Signed-off-by Neeraj Laad <[email protected] * vertx: allow version range (appsody#349) * alter trigger behavior (appsody#353) * Fix issue with excluded stacks being added to index Signed-off-by: Steve Groeger <[email protected]> * Update build-task.yaml to include collection validation * formatting. * Formatting. * Move executable definitions for sha256cmd Signed-off-by: Steve Groeger <[email protected]> * Update docker image to point to kabanero * Stop templates being built for stacks we are not building. Signed-off-by: Steve Groeger <[email protected]> * Update README.md Update to not use `stacks` where `collections` should be used. Separate out the specific usages of Appsody stacks. * nodejs-functions: fix typos in readme (appsody#370) * fix: typos in readme * docs: general typos * python-flask: unset watch ignore directory (appsody#352) * unset watch ignore directory * Remove WATCH_IGNORE line entirely * Update README.md to provide better info on testing locally. Signed-off-by: Steve Groeger <[email protected]> * Include the stack version for issues (appsody#375) * Verbose mode with log capture (appsody#347) Signed-off-by: Erin Schnabel <[email protected]> * [java-spring-boot2] Use git and version data in stack image (appsody#325) * Use git and stack information in stack image Fix final Docker image: - expose ports - use exec so signals are passedto jvm Signed-off-by: Erin Schnabel <[email protected]> * Fix VERBOSE test, quote filenames Signed-off-by: Erin Schnabel <[email protected]> * Strip out unneeded steps due to latest Appsody changes Signed-off-by: Steve Groeger <[email protected]> * Update spring stack version (just stack.yaml!) (appsody#378) Signed-off-by: Erin Schnabel <[email protected]> * Keep index.yaml consistent with the kabanero-index.yaml in the latest release Signed-off-by: Steve Groeger <[email protected]> * [python-flask] Move flask to 1.1.1, plus other minor cleanups (appsody#377) * Move flask to 1.1.1, plus other minor cleanups * Ensure debugger can connect (also bump version) * updated v1 index (appsody#382) * Move stack to open JDK * [nodejs-functions] Manage functions that are not exported as GET (appsody#385) * Fix: Manage functions that are not exported as GET * Formatting: remove final line break * Bump the version number in the stack.yaml * Bump the version number in package.json * Fix: return is called when any HTTP method found "return" statement was executed after the GET check, making the rest of the code unreachable. Improved formatting. * Formatting: use single quotes * build: remove trailing slash if present in stacks list (appsody#383) * build: remove trailing slash if present in stacks list * renamed var * Remove experimental collections as not supported by kabanero Signed-off-by: Steve Groeger <[email protected]> * Remove unsupported collections Signed-off-by: Steve Groeger <[email protected]> * Update readme.md to add info on creating a manual release Signed-off-by: Steve Groeger <[email protected]> * Ensure IMAGE_REGISTRY_ORG placeholder is substituted in collection.yaml Signed-off-by: Steve Groeger <[email protected]> * Resolve whitespace issue Signed-off-by: Steve Groeger <[email protected]> * Fix issue where templates were not built Signed-off-by: Steve Groeger <[email protected]> * vertx: define timeout seconds for readiness probe (appsody#399) * Fix Build Script (appsody#406) * Fix Build Script * Encapsulate logic in if block * nodejs-express: rename skaffold to scaffold (appsody#388) * nodejs-express: rename skaffold to scaffold * ver: update package.json ver number * nodejs-express: add documentation on templates * rust: initial version of rust stack (appsody#369) * rust: initial version of rust stack * simplified Dockerfile * fixed dockerfile * simplified dockerfile * get name of generated binary * cached dependencies * expose port * get name of generated binary inside dockerfile * Use xmlstarlet instead of grep (appsody#395) * Use Xmlstarlet, improve versioning (appsody#396) * appsody#364 improve pom.xml by adopting agreed best practices (appsody#397) * appsody#364 improve pom.xml by adopting agreed best practices * appsody#364 improve pom.xml by adopting agreed best practices * Update pom.xml * Update stack.yaml * loopback: define timeout seconds for readiness probe (appsody#398) * java-microprofile Revert "appsody#364 improve pom.xml by adopting agreed best practices" (appsody#418) * Revert "appsody#364 improve pom.xml by adopting agreed best practices (appsody#397)" This reverts commit b3c5cb8. * Update pom.xml * Update stack.yaml * Fix steps to clone collections locally The user has to `cd collections` before `git` will recognize the collections repository to add a remote, or push. * aadeshpa remove the volumeMounts for the validation step * recompile on debug change (appsody#424) * Provide an (additional) sample stack, one that is runnable by appsody (appsody#361) * Initial runnable sample stack * Allow build scripts to operate on samples * Reference regular run env in change env * Change APPSODY_INSTALL -> PREP * Fix ENV names * Fix up REGEX * Remove unused PORT env variable * Move sample to incubator * undo travis/ci changes * Clean up removal from samples * rename stack to "starter" * Remove experimental collections Signed-off-by: Steve Groeger <[email protected]> * initial changes * disable tests * [java-microprofile] Add javametrics as a dev only dependency (appsody#56) * Add javametrics as a dev only dependency * remove javametrics for test env var * Remove the starter stack that was added by Appsody. Signed-off-by: Steve Groeger <[email protected]> * Update the VERSION and README.md files Signed-off-by: Steve Groeger <[email protected]> * initial drop of triggers * Add build scripts to generate pipeline triggers file Signed-off-by: Steve Groeger <[email protected]> * Update CI scripts to correctly process the codewind json files for nginx Signed-off-by: Steve Groeger <[email protected]> * collections * Update incubator-index.yaml * Update incubator-index.yaml * fake version * release folder * Update incubator-index.yaml * fixed thanks Steve G * Delete incubator-index.yaml * release work * new tar for other level nodejs * more release stuff * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * update triggers * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Add an id element as a child of the triggers element Signed-off-by: Steve Groeger <[email protected]> * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * nodejs-express: add monitoring support in app deploy (appsody#403) * nodejs-express: add monitoring support in app deploy * remove auth * altered k8s app to use project name placeholder * ci: Update fallback cli version to 0.4.7 (appsody#439) Update fallback cli version to 0.4.7 Signed-off-by Neeraj Laad <[email protected]> * Update version string to be 0.3.0 Signed-off-by: Steve Groeger <[email protected]> * upate event trigger for 0.3.0 * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Revert "Collections1" * 0.3.0 drop of pipelines * pipeline updates * update trigger to match new pipeline names * Update to correctly handle the VERBOSE flag Signed-off-by: Steve Groeger <[email protected]> * If using Travis CI always set VERBOSE = true Signed-off-by: Steve Groeger <[email protected]> * Update the README.md to point to Kabanero guide Signed-off-by: Steve Groeger <[email protected]> * Update image registry URL. * Fix image scan issues * pipeline updates for OCP 4.2 * nodejs-loopback: upgrade to latest loopback dependencies (appsody#463) * Update nodejs stack version to pickup common pipelines Signed-off-by: Steve Groeger <[email protected]> * Update output statements to make them more readable Signed-off-by: Steve Groeger <[email protected]> * Update NodeJS stack version (missed in earlier commit) Signed-off-by: Steve Groeger <[email protected]> * Update Readme with link to NGINX instructions * Address review comments * Fix base container versions * Allow users to specify the collections image registry * missed a file
* Move travis environment processing into guarded scripts (appsody#298) * Move travis environment processing into guarded scripts Remove use of `set -e` as it prevents recovering from errors from invoked commands. Signed-off-by: Erin Schnabel <[email protected]> * review comments Signed-off-by: Erin Schnabel <[email protected]> * Restart on trigger (appsody#314) * Restart on trigger * Update versions * Update index.yaml (appsody#316) Signed-off-by Neeraj Laad <[email protected]> * Allow specific collection's docker images to be built By setting STACKS_LIST specific collections will be able to be built. If set to " " (space) then no images will be built. Signed-off-by: Steve Groeger <[email protected]> * Update to allow stack name to use IMAGE_REGISTRY_ORG Signed-off-by: Steve Groeger <[email protected]> * proof readme * suppress maven progress output for microprofile (appsody#320) Signed-off-by: Erin Schnabel <[email protected]> * review comments * Update readme * proof readme * ubuntu has backlevel maven. Use -B (appsody#322) Signed-off-by: Erin Schnabel <[email protected]> * suppress maven progress output for Spring+Liberty (appsody#319) Signed-off-by: Erin Schnabel <[email protected]> * suppress maven progress output for vertx (appsody#317) Signed-off-by: Erin Schnabel <[email protected]> * Fix issues with README.md wording * Update github templates for Kabanero Signed-off-by: Steve Groeger <[email protected]> * Add .md describing the collections repo structure Signed-off-by: Steve Groeger <[email protected]> * suppress maven progress output for quarkus (appsody#318) Signed-off-by: Erin Schnabel <[email protected]> * Update .md based on review comments. * Run appsody commands (build, run, stop) for specified stacks (appsody#323) Provide basic contents in test.sh to ensure that stack templates can be run, and that projects can be extracted and built using the stack. Travis builds: - Install appsody CLI if missing. - Use a subset of known stacks when nothing else is specified - Wrap long-running commands to prevent exit from no console output Signed-off-by: Erin Schnabel <[email protected]> * aadeshpa updated with buildah instead of kanino in build task * Mp version range (appsody#329) * Add version range to mp stack * increase parent pom version * Mp version range [fix] (appsody#336) * Add version range to mp stack * increase parent pom version * Mvnw optional on java * Revert "Mvnw optional on java" This reverts commit c29bda5. * make check_version executable * Mp version range [fix] (appsody#337) * Add version range to mp stack * increase parent pom version * Mvnw optional on java * Revert "Mvnw optional on java" This reverts commit c29bda5. * make check_version executable * install parent pom during build * [ci] Fallback travis stack list; fix tests (appsody#326) * Fallback travis stack list; fix tests Signed-off-by: Erin Schnabel <[email protected]> * Fail fast if image build fails Signed-off-by: Erin Schnabel <[email protected]> * Make init and build steps much quieter (appsody#338) Signed-off-by: Erin Schnabel <[email protected]> * source the release script (preserve shell) (appsody#339) Signed-off-by: Erin Schnabel <[email protected]> * Sbol version range (appsody#330) * Add version range * add missing xmlstarlet * Make check_version executable * add mvn install to docker build * Sb optional mvnw (appsody#331) * mvnw optional on java * increase version * Update to correctly allow xmlstarlet to be installed and tests to run Signed-off-by: Steve Groeger <[email protected]> * Fix issue with matching appsody repo Signed-off-by: Steve Groeger <[email protected]> * Update pre_list script to detect BUILD_ALL Signed-off-by: Steve Groeger <[email protected]> * Fix issue with mismatching repo names (appsody#342) Signed-off-by: Steve Groeger <[email protected]> * Set the codewind DISPLAY_NAME_PREFIX to be "Kabanero" Signed-off-by: Steve Groeger <[email protected]> * Use a variable as a prefix for the codewind index stack display names (appsody#343) Signed-off-by: Steve Groeger <[email protected]> * make mvnw optional on java (appsody#332) * make mvnw optional on java (appsody#333) * nodejs-express: added environment variable to production image (appsody#341) * nodejs-express: added environment variable to production image * bumped version * added timeout value * Fix path to pom.xml (appsody#345) Fixes path to parent pom in init.sh Signed-off-by Neeraj Laad <[email protected] * vertx: allow version range (appsody#349) * alter trigger behavior (appsody#353) * Fix issue with excluded stacks being added to index Signed-off-by: Steve Groeger <[email protected]> * Update build-task.yaml to include collection validation * formatting. * Formatting. * Move executable definitions for sha256cmd Signed-off-by: Steve Groeger <[email protected]> * Update docker image to point to kabanero * Stop templates being built for stacks we are not building. Signed-off-by: Steve Groeger <[email protected]> * Update README.md Update to not use `stacks` where `collections` should be used. Separate out the specific usages of Appsody stacks. * nodejs-functions: fix typos in readme (appsody#370) * fix: typos in readme * docs: general typos * python-flask: unset watch ignore directory (appsody#352) * unset watch ignore directory * Remove WATCH_IGNORE line entirely * Update README.md to provide better info on testing locally. Signed-off-by: Steve Groeger <[email protected]> * Include the stack version for issues (appsody#375) * Verbose mode with log capture (appsody#347) Signed-off-by: Erin Schnabel <[email protected]> * [java-spring-boot2] Use git and version data in stack image (appsody#325) * Use git and stack information in stack image Fix final Docker image: - expose ports - use exec so signals are passedto jvm Signed-off-by: Erin Schnabel <[email protected]> * Fix VERBOSE test, quote filenames Signed-off-by: Erin Schnabel <[email protected]> * Strip out unneeded steps due to latest Appsody changes Signed-off-by: Steve Groeger <[email protected]> * Update spring stack version (just stack.yaml!) (appsody#378) Signed-off-by: Erin Schnabel <[email protected]> * Keep index.yaml consistent with the kabanero-index.yaml in the latest release Signed-off-by: Steve Groeger <[email protected]> * [python-flask] Move flask to 1.1.1, plus other minor cleanups (appsody#377) * Move flask to 1.1.1, plus other minor cleanups * Ensure debugger can connect (also bump version) * updated v1 index (appsody#382) * Move stack to open JDK * [nodejs-functions] Manage functions that are not exported as GET (appsody#385) * Fix: Manage functions that are not exported as GET * Formatting: remove final line break * Bump the version number in the stack.yaml * Bump the version number in package.json * Fix: return is called when any HTTP method found "return" statement was executed after the GET check, making the rest of the code unreachable. Improved formatting. * Formatting: use single quotes * build: remove trailing slash if present in stacks list (appsody#383) * build: remove trailing slash if present in stacks list * renamed var * Remove experimental collections as not supported by kabanero Signed-off-by: Steve Groeger <[email protected]> * Remove unsupported collections Signed-off-by: Steve Groeger <[email protected]> * Update readme.md to add info on creating a manual release Signed-off-by: Steve Groeger <[email protected]> * Ensure IMAGE_REGISTRY_ORG placeholder is substituted in collection.yaml Signed-off-by: Steve Groeger <[email protected]> * Resolve whitespace issue Signed-off-by: Steve Groeger <[email protected]> * Fix issue where templates were not built Signed-off-by: Steve Groeger <[email protected]> * vertx: define timeout seconds for readiness probe (appsody#399) * Fix Build Script (appsody#406) * Fix Build Script * Encapsulate logic in if block * nodejs-express: rename skaffold to scaffold (appsody#388) * nodejs-express: rename skaffold to scaffold * ver: update package.json ver number * nodejs-express: add documentation on templates * rust: initial version of rust stack (appsody#369) * rust: initial version of rust stack * simplified Dockerfile * fixed dockerfile * simplified dockerfile * get name of generated binary * cached dependencies * expose port * get name of generated binary inside dockerfile * Use xmlstarlet instead of grep (appsody#395) * Use Xmlstarlet, improve versioning (appsody#396) * appsody#364 improve pom.xml by adopting agreed best practices (appsody#397) * appsody#364 improve pom.xml by adopting agreed best practices * appsody#364 improve pom.xml by adopting agreed best practices * Update pom.xml * Update stack.yaml * loopback: define timeout seconds for readiness probe (appsody#398) * java-microprofile Revert "appsody#364 improve pom.xml by adopting agreed best practices" (appsody#418) * Revert "appsody#364 improve pom.xml by adopting agreed best practices (appsody#397)" This reverts commit b3c5cb8. * Update pom.xml * Update stack.yaml * Fix steps to clone collections locally The user has to `cd collections` before `git` will recognize the collections repository to add a remote, or push. * aadeshpa remove the volumeMounts for the validation step * recompile on debug change (appsody#424) * Provide an (additional) sample stack, one that is runnable by appsody (appsody#361) * Initial runnable sample stack * Allow build scripts to operate on samples * Reference regular run env in change env * Change APPSODY_INSTALL -> PREP * Fix ENV names * Fix up REGEX * Remove unused PORT env variable * Move sample to incubator * undo travis/ci changes * Clean up removal from samples * rename stack to "starter" * Remove experimental collections Signed-off-by: Steve Groeger <[email protected]> * initial changes * disable tests * [java-microprofile] Add javametrics as a dev only dependency (appsody#56) * Add javametrics as a dev only dependency * remove javametrics for test env var * Remove the starter stack that was added by Appsody. Signed-off-by: Steve Groeger <[email protected]> * Update the VERSION and README.md files Signed-off-by: Steve Groeger <[email protected]> * initial drop of triggers * Add build scripts to generate pipeline triggers file Signed-off-by: Steve Groeger <[email protected]> * Update CI scripts to correctly process the codewind json files for nginx Signed-off-by: Steve Groeger <[email protected]> * collections * Update incubator-index.yaml * Update incubator-index.yaml * fake version * release folder * Update incubator-index.yaml * fixed thanks Steve G * Delete incubator-index.yaml * release work * new tar for other level nodejs * more release stuff * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * update triggers * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Add an id element as a child of the triggers element Signed-off-by: Steve Groeger <[email protected]> * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * nodejs-express: add monitoring support in app deploy (appsody#403) * nodejs-express: add monitoring support in app deploy * remove auth * altered k8s app to use project name placeholder * ci: Update fallback cli version to 0.4.7 (appsody#439) Update fallback cli version to 0.4.7 Signed-off-by Neeraj Laad <[email protected]> * Update version string to be 0.3.0 Signed-off-by: Steve Groeger <[email protected]> * upate event trigger for 0.3.0 * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Revert "Collections1" * 0.3.0 drop of pipelines * pipeline updates * update trigger to match new pipeline names * Update to correctly handle the VERBOSE flag Signed-off-by: Steve Groeger <[email protected]> * If using Travis CI always set VERBOSE = true Signed-off-by: Steve Groeger <[email protected]> * Update the README.md to point to Kabanero guide Signed-off-by: Steve Groeger <[email protected]> * Update image registry URL. * Fix image scan issues * pipeline updates for OCP 4.2 * nodejs-loopback: upgrade to latest loopback dependencies (appsody#463) * Update nodejs stack version to pickup common pipelines Signed-off-by: Steve Groeger <[email protected]> * Update output statements to make them more readable Signed-off-by: Steve Groeger <[email protected]> * Update NodeJS stack version (missed in earlier commit) Signed-off-by: Steve Groeger <[email protected]> * Update Readme with link to NGINX instructions * Address review comments * Fix base container versions * Allow users to specify the collections image registry * Add readinessProbe.timeoutSeconds to app-deploy.yaml (appsody#490) Signed-off-by: Steve Groeger <[email protected]> * Add timeoutSeconds to readinessProbe in app-deploy.yaml (appsody#489) Signed-off-by: Steve Groeger <[email protected]> * bump liberty version in pom * Update build-push-task.yaml * Update build-task.yaml * Update image-scan-task.yaml * Update image-retag-push-task.yaml * missed one change
* Allow specific collection's docker images to be built By setting STACKS_LIST specific collections will be able to be built. If set to " " (space) then no images will be built. Signed-off-by: Steve Groeger <[email protected]> * Update to allow stack name to use IMAGE_REGISTRY_ORG Signed-off-by: Steve Groeger <[email protected]> * proof readme * suppress maven progress output for microprofile (appsody#320) Signed-off-by: Erin Schnabel <[email protected]> * review comments * Update readme * proof readme * ubuntu has backlevel maven. Use -B (appsody#322) Signed-off-by: Erin Schnabel <[email protected]> * suppress maven progress output for Spring+Liberty (appsody#319) Signed-off-by: Erin Schnabel <[email protected]> * suppress maven progress output for vertx (appsody#317) Signed-off-by: Erin Schnabel <[email protected]> * Fix issues with README.md wording * Update github templates for Kabanero Signed-off-by: Steve Groeger <[email protected]> * Add .md describing the collections repo structure Signed-off-by: Steve Groeger <[email protected]> * suppress maven progress output for quarkus (appsody#318) Signed-off-by: Erin Schnabel <[email protected]> * Update .md based on review comments. * Run appsody commands (build, run, stop) for specified stacks (appsody#323) Provide basic contents in test.sh to ensure that stack templates can be run, and that projects can be extracted and built using the stack. Travis builds: - Install appsody CLI if missing. - Use a subset of known stacks when nothing else is specified - Wrap long-running commands to prevent exit from no console output Signed-off-by: Erin Schnabel <[email protected]> * aadeshpa updated with buildah instead of kanino in build task * Mp version range (appsody#329) * Add version range to mp stack * increase parent pom version * Mp version range [fix] (appsody#336) * Add version range to mp stack * increase parent pom version * Mvnw optional on java * Revert "Mvnw optional on java" This reverts commit c29bda5. * make check_version executable * Mp version range [fix] (appsody#337) * Add version range to mp stack * increase parent pom version * Mvnw optional on java * Revert "Mvnw optional on java" This reverts commit c29bda5. * make check_version executable * install parent pom during build * [ci] Fallback travis stack list; fix tests (appsody#326) * Fallback travis stack list; fix tests Signed-off-by: Erin Schnabel <[email protected]> * Fail fast if image build fails Signed-off-by: Erin Schnabel <[email protected]> * Make init and build steps much quieter (appsody#338) Signed-off-by: Erin Schnabel <[email protected]> * source the release script (preserve shell) (appsody#339) Signed-off-by: Erin Schnabel <[email protected]> * Sbol version range (appsody#330) * Add version range * add missing xmlstarlet * Make check_version executable * add mvn install to docker build * Sb optional mvnw (appsody#331) * mvnw optional on java * increase version * Update to correctly allow xmlstarlet to be installed and tests to run Signed-off-by: Steve Groeger <[email protected]> * Fix issue with matching appsody repo Signed-off-by: Steve Groeger <[email protected]> * Update pre_list script to detect BUILD_ALL Signed-off-by: Steve Groeger <[email protected]> * Fix issue with mismatching repo names (appsody#342) Signed-off-by: Steve Groeger <[email protected]> * Set the codewind DISPLAY_NAME_PREFIX to be "Kabanero" Signed-off-by: Steve Groeger <[email protected]> * Use a variable as a prefix for the codewind index stack display names (appsody#343) Signed-off-by: Steve Groeger <[email protected]> * make mvnw optional on java (appsody#332) * make mvnw optional on java (appsody#333) * nodejs-express: added environment variable to production image (appsody#341) * nodejs-express: added environment variable to production image * bumped version * added timeout value * Fix path to pom.xml (appsody#345) Fixes path to parent pom in init.sh Signed-off-by Neeraj Laad <[email protected] * vertx: allow version range (appsody#349) * alter trigger behavior (appsody#353) * Fix issue with excluded stacks being added to index Signed-off-by: Steve Groeger <[email protected]> * Update build-task.yaml to include collection validation * formatting. * Formatting. * Move executable definitions for sha256cmd Signed-off-by: Steve Groeger <[email protected]> * Update docker image to point to kabanero * Stop templates being built for stacks we are not building. Signed-off-by: Steve Groeger <[email protected]> * Update README.md Update to not use `stacks` where `collections` should be used. Separate out the specific usages of Appsody stacks. * nodejs-functions: fix typos in readme (appsody#370) * fix: typos in readme * docs: general typos * python-flask: unset watch ignore directory (appsody#352) * unset watch ignore directory * Remove WATCH_IGNORE line entirely * Update README.md to provide better info on testing locally. Signed-off-by: Steve Groeger <[email protected]> * Include the stack version for issues (appsody#375) * Verbose mode with log capture (appsody#347) Signed-off-by: Erin Schnabel <[email protected]> * [java-spring-boot2] Use git and version data in stack image (appsody#325) * Use git and stack information in stack image Fix final Docker image: - expose ports - use exec so signals are passedto jvm Signed-off-by: Erin Schnabel <[email protected]> * Fix VERBOSE test, quote filenames Signed-off-by: Erin Schnabel <[email protected]> * Strip out unneeded steps due to latest Appsody changes Signed-off-by: Steve Groeger <[email protected]> * Update spring stack version (just stack.yaml!) (appsody#378) Signed-off-by: Erin Schnabel <[email protected]> * Keep index.yaml consistent with the kabanero-index.yaml in the latest release Signed-off-by: Steve Groeger <[email protected]> * [python-flask] Move flask to 1.1.1, plus other minor cleanups (appsody#377) * Move flask to 1.1.1, plus other minor cleanups * Ensure debugger can connect (also bump version) * updated v1 index (appsody#382) * Move stack to open JDK * [nodejs-functions] Manage functions that are not exported as GET (appsody#385) * Fix: Manage functions that are not exported as GET * Formatting: remove final line break * Bump the version number in the stack.yaml * Bump the version number in package.json * Fix: return is called when any HTTP method found "return" statement was executed after the GET check, making the rest of the code unreachable. Improved formatting. * Formatting: use single quotes * build: remove trailing slash if present in stacks list (appsody#383) * build: remove trailing slash if present in stacks list * renamed var * Remove experimental collections as not supported by kabanero Signed-off-by: Steve Groeger <[email protected]> * Remove unsupported collections Signed-off-by: Steve Groeger <[email protected]> * Update readme.md to add info on creating a manual release Signed-off-by: Steve Groeger <[email protected]> * Ensure IMAGE_REGISTRY_ORG placeholder is substituted in collection.yaml Signed-off-by: Steve Groeger <[email protected]> * Resolve whitespace issue Signed-off-by: Steve Groeger <[email protected]> * Fix issue where templates were not built Signed-off-by: Steve Groeger <[email protected]> * vertx: define timeout seconds for readiness probe (appsody#399) * Fix Build Script (appsody#406) * Fix Build Script * Encapsulate logic in if block * nodejs-express: rename skaffold to scaffold (appsody#388) * nodejs-express: rename skaffold to scaffold * ver: update package.json ver number * nodejs-express: add documentation on templates * rust: initial version of rust stack (appsody#369) * rust: initial version of rust stack * simplified Dockerfile * fixed dockerfile * simplified dockerfile * get name of generated binary * cached dependencies * expose port * get name of generated binary inside dockerfile * Use xmlstarlet instead of grep (appsody#395) * Use Xmlstarlet, improve versioning (appsody#396) * appsody#364 improve pom.xml by adopting agreed best practices (appsody#397) * appsody#364 improve pom.xml by adopting agreed best practices * appsody#364 improve pom.xml by adopting agreed best practices * Update pom.xml * Update stack.yaml * loopback: define timeout seconds for readiness probe (appsody#398) * java-microprofile Revert "appsody#364 improve pom.xml by adopting agreed best practices" (appsody#418) * Revert "appsody#364 improve pom.xml by adopting agreed best practices (appsody#397)" This reverts commit b3c5cb8. * Update pom.xml * Update stack.yaml * Fix steps to clone collections locally The user has to `cd collections` before `git` will recognize the collections repository to add a remote, or push. * aadeshpa remove the volumeMounts for the validation step * recompile on debug change (appsody#424) * Provide an (additional) sample stack, one that is runnable by appsody (appsody#361) * Initial runnable sample stack * Allow build scripts to operate on samples * Reference regular run env in change env * Change APPSODY_INSTALL -> PREP * Fix ENV names * Fix up REGEX * Remove unused PORT env variable * Move sample to incubator * undo travis/ci changes * Clean up removal from samples * rename stack to "starter" * Remove experimental collections Signed-off-by: Steve Groeger <[email protected]> * initial changes * disable tests * [java-microprofile] Add javametrics as a dev only dependency (appsody#56) * Add javametrics as a dev only dependency * remove javametrics for test env var * Remove the starter stack that was added by Appsody. Signed-off-by: Steve Groeger <[email protected]> * Update the VERSION and README.md files Signed-off-by: Steve Groeger <[email protected]> * initial drop of triggers * Add build scripts to generate pipeline triggers file Signed-off-by: Steve Groeger <[email protected]> * Update CI scripts to correctly process the codewind json files for nginx Signed-off-by: Steve Groeger <[email protected]> * collections * Update incubator-index.yaml * Update incubator-index.yaml * fake version * release folder * Update incubator-index.yaml * fixed thanks Steve G * Delete incubator-index.yaml * release work * new tar for other level nodejs * more release stuff * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * update triggers * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Add an id element as a child of the triggers element Signed-off-by: Steve Groeger <[email protected]> * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * nodejs-express: add monitoring support in app deploy (appsody#403) * nodejs-express: add monitoring support in app deploy * remove auth * altered k8s app to use project name placeholder * ci: Update fallback cli version to 0.4.7 (appsody#439) Update fallback cli version to 0.4.7 Signed-off-by Neeraj Laad <[email protected]> * Update version string to be 0.3.0 Signed-off-by: Steve Groeger <[email protected]> * upate event trigger for 0.3.0 * Update kabanero-index.yaml * Update kabanero-index.yaml * Update kabanero-index.yaml * Revert "Collections1" * 0.3.0 drop of pipelines * pipeline updates * update trigger to match new pipeline names * Update to correctly handle the VERBOSE flag Signed-off-by: Steve Groeger <[email protected]> * If using Travis CI always set VERBOSE = true Signed-off-by: Steve Groeger <[email protected]> * Update the README.md to point to Kabanero guide Signed-off-by: Steve Groeger <[email protected]> * Update image registry URL. * Fix image scan issues * pipeline updates for OCP 4.2 * nodejs-loopback: upgrade to latest loopback dependencies (appsody#463) * Update nodejs stack version to pickup common pipelines Signed-off-by: Steve Groeger <[email protected]> * Update output statements to make them more readable Signed-off-by: Steve Groeger <[email protected]> * Update NodeJS stack version (missed in earlier commit) Signed-off-by: Steve Groeger <[email protected]> * Update Readme with link to NGINX instructions * Address review comments * Fix base container versions * Allow users to specify the collections image registry * Add readinessProbe.timeoutSeconds to app-deploy.yaml (appsody#490) Signed-off-by: Steve Groeger <[email protected]> * Add timeoutSeconds to readinessProbe in app-deploy.yaml (appsody#489) Signed-off-by: Steve Groeger <[email protected]> * bump liberty version in pom * Update build-push-task.yaml * Update build-task.yaml * Update image-scan-task.yaml * Update image-retag-push-task.yaml * Exclude special files when running tar on mac os Signed-off-by: Steve Groeger <[email protected]> * Pin kabanero scanner image for issue appsody#190 * Add tags to images in pipelines Signed-off-by: Steve Groeger <[email protected]> * aadeshpa issue 132 updated the `appsody list` to `appsody version` * Update build-push-deploy-pipeline.yaml * Update build-push-pipeline.yaml * Update image-scan-task.yaml * Updates to only push patch level tags on release Signed-off-by: Steve Groeger <[email protected]> * Change how we check the LATEST_RELEASE env var Signed-off-by: Steve Groeger <[email protected]> * Set COPYFILE_DISABLE=1 globally so used by all tar commands Signed-off-by: Steve Groeger <[email protected]> * Update Spring Stack to RHR * Review comments * java-spring-boot: Dockerfile uses UBI for final stage * java-spring-boot2: fix/copy mvnw at init time * java-spring-boot2: chatty mvn install for appsody build * java-spring-boot2: whitespace * Change default value for LATEST_RELEASE if not set Signed-off-by: Steve Groeger <[email protected]>
To enable the "incremental" stack development approach, we are adding a second sample stack - one that can run by appsody, and hence can be copied and renamed to be a starter base for a new stack.
This PR also includes minor changes to the build scripts, so that they don't ignore the samples entirely (thanks @ebullient for this code).
Fixes #360