Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Provide an (additional) sample stack, one that is runnable by appsody #361

Merged
merged 11 commits into from
Oct 15, 2019

Conversation

henrynash
Copy link
Contributor

@henrynash henrynash commented Sep 17, 2019

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

@henrynash henrynash force-pushed the sample-runnable branch 2 times, most recently from 72b4b6d to 9b5d989 Compare September 24, 2019 13:17
@chilanti
Copy link

@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 hello.sh with a sleep in it would allow us to showcase the kill action.
Not sure if there are other aspects of the stack architecture that we could showcase easily (like having a run action different from the change action - that's probably harder to fold into this sample). @neeraj-laad - thoughts?

@kylegc
Copy link
Member

kylegc commented Sep 24, 2019

For the record, copying my comment on slack here:
My concern with this is that if it becomes the exemplary stack sample, we need to be following all of our best practices. There are a few things, like the WATCH_REGEX and the ON_CHANGE calling the start commands which may not be best practices in my opinion. Of course we can always merge and iterate on it.

@henrynash
Copy link
Contributor Author

henrynash commented Sep 24, 2019

@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) true state. This also reduces any changes a developer has to make when using this runnable stack as a template to modify.

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/

@henrynash
Copy link
Contributor Author

henrynash commented Sep 27, 2019

@chilanti So I did try putting in a sleep loop in the test app (hello.sh), i.e.:

while :
do
	echo "Hello from Appsody!"
	sleep 5
done

This actually causes a couple of issues:

  1. It usually results in warning when you re-run the app ON_CHANGE (something to do with sleep not being part of bash?), e.g.:
[Container] Hello from Appsody!
[Container] Hello from Appsody!
[Container] Running command:  /bin/bash /project/userapp/hello.sh
[Container] [Warning] Wait Received error starting process of type APPSODY_RUN/DEBUG/TEST_ON_CHANGE while running command: /bin/bash /project/userapp/hello.sh error received was: signal: interrupt
[Container] Hello Again from Appsody!
  1. Strangely it seems to also result in ON_CHANGE sometimes not being called at all (not sure I can explain that bit)

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?

@henrynash
Copy link
Contributor Author

henrynash commented Sep 29, 2019

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. vi) to change the hello script that is being executed to show how a change causes a restart, this doesn't trigger the re-start as expected. This is, I believe, due to the file system semantics of when you are editing a running file, it does a copy/replace and this causes the file modification date to NOT be reflected into the container file system via the volume mount. I validated this by experimentation and watching the file system dates reflected into the container. Using something like touch on the executing file DOES work, however. (This explains the behaviour I mentioned in my earlier comment).

I am open to whether the above makes it more or less useful to put a sleep loop into the hello.sh.

@kylegc
Copy link
Member

kylegc commented Oct 1, 2019

@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 vi not triggering changes, this smells like a bug but I'm not able to reproduce it. On my mac with stack nodejs-express, I'm able to successfully use vi to trigger a file change. So either 1) the behavior is different with your os/vi, or 2) your sample stack's watch regex isn't matching the file you are editing.

@henrynash
Copy link
Contributor Author

henrynash commented Oct 1, 2019

@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.

@kewegner
Copy link
Collaborator

kewegner commented Oct 1, 2019

RE: the warning. I believe the script terminated.

@kylegc
Copy link
Member

kylegc commented Oct 1, 2019

Thats very odd. We are able to reproduce it and think there is a bug in the watcher.

@henrynash
Copy link
Contributor Author

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?

@kylegc
Copy link
Member

kylegc commented Oct 2, 2019

I'm okay with that. @neeraj-laad please review and merge if you approve.

Copy link
Contributor

@neeraj-laad neeraj-laad left a 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.

@henrynash
Copy link
Contributor Author

henrynash commented Oct 10, 2019

@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 appsody stack create command. All this pushes me to say that sticking with the common index structure might actually be the best way to go (and swallow having to have the extra index), rather than making this special. Open to other ideas, however.

@neeraj-laad
Copy link
Contributor

neeraj-laad commented Oct 11, 2019

@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 application developer to be able to init using that stack and get a template that they can work with. I don't think this is the intended purpose for this stack.

I'd prefer for stack creators to be able to say appsody stack create mystack --copy <sample-bash> and get a copy of this stack that they can start working with. They can then run appsody stack package and see their stack in action. and iterate over the process of making changes and testing it locally.

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 appsody stack create command.

@kylegc
Copy link
Member

kylegc commented Oct 11, 2019

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 appsody stack create command logic simpler too for this same reason.

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"

@henrynash
Copy link
Contributor Author

@kylegc I'd be happy with that (and @ebullient and I did briefly discuss that when we started this). base or minimal work for me.

@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.

@neeraj-laad
Copy link
Contributor

neeraj-laad commented Oct 14, 2019

@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.

@henrynash
Copy link
Contributor Author

@neeraj-laad I have updated the PR with the runnable sample being placed in incubator.

@neeraj-laad
Copy link
Contributor

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 nodejs or `similar stack? Can we think of scenarios where this might be useful?

If the answer is yes, we should add it to one of our existing repos that are indexed - incubator will be a good one. and PErhaps the name should indicate what capability they get from the stack. For me maybe bash or unix shell is more useful than minimalistic.

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.

@henrynash
Copy link
Contributor Author

henrynash commented Oct 14, 2019

@kylegc @neeraj-laad

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 appsody stack create)...is the extra work in modifying the build scripts worth it (and maintaining the special case going forward)? I'm not sure I see the down side of it being in one of the standard indexes.

(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)

Copy link
Contributor

@neeraj-laad neeraj-laad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@neeraj-laad neeraj-laad merged commit d9ac4dc into appsody:master Oct 15, 2019
skoh7645 pushed a commit to skoh7645/stacks that referenced this pull request Oct 31, 2019
…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"
scottkurz pushed a commit to scottkurz/stacks that referenced this pull request May 19, 2020
* 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]>
scottkurz pushed a commit to scottkurz/stacks that referenced this pull request May 19, 2020
* 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
scottkurz pushed a commit to scottkurz/stacks that referenced this pull request May 19, 2020
* 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
scottkurz pushed a commit to scottkurz/stacks that referenced this pull request May 19, 2020
* 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
scottkurz pushed a commit to scottkurz/stacks that referenced this pull request May 19, 2020
* 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]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide an additional sample stack, one that is executable by appsody
5 participants