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

[java-microprofile] Add javametrics as a dev only dependency #56

Merged
merged 3 commits into from
Oct 17, 2019

Conversation

seabaylea
Copy link
Member

This adds Javametrics-dash as a dev only dependency as part of the stack. This both provides developers with a build-in performance view, and enables the Eclipse Codewind IDE project to do application monitoring and performance testing the of the application during development.

The approach to providing the Javametrics dashboard during development only is as follows:

  • Provide a pom-dev.xml file that installs the dependencies as installs them into the server which is only run in Dockerfile-stack, and not in the production Dockerfile.
  • Provide a server-dev.xml that adds the necessary features that is only copied into the config dropins the Dockerfile-stack, and not in the production Dockerfile.

This pattern can be extended if there's further capabilities that we want to provide only during development.

@seabaylea seabaylea changed the title Add javametrics as a dev only dependency [java-microprofile] Add javametrics as a dev only dependency Jul 6, 2019
@seabaylea seabaylea requested a review from neeraj-laad July 6, 2019 13:11
@neeraj-laad
Copy link
Contributor

@Emily-Jiang Would appreciate your feedback on this.

@Emily-Jiang
Copy link
Contributor

@seabaylea I have 2 comments

  1. java-metrics feature for dev: I am not aware of how popular to have this low level java-metrics in dev. I think this info might just be useful to performance team. I don't think Jen is interested in this. If you think some developers might need it, I think it might fit in well to have this as a guide.
  2. In pushing for dev-prod parity, I think it is not very useful for dev to have one tool while Prod having another tool to view different info. I think it is better to use MicroProfile metrics and have Prometheus and/or Grafana accessible to the Dev.

@nastacio
Copy link
Contributor

nastacio commented Sep 25, 2019

@seabaylea and @Emily-Jiang , this is also a matter of consistency across stacks when working with Codewind.

We ran into this during a workshop and writing guides, and pulled the PR into a forked repo just to showcase the Codewind functionality.

@csantanapr
Copy link

csantanapr commented Sep 25, 2019

I just hit this problem
Using IBM Cloud Pak for Apps stack for microprofile I got the impression that codewind is something to leverage in both java and nodejs stacks, using the App Monitor and Perf Dasboard launchers in codewind.

nodejs works fine but in java-microfile I hit the problem and opened an issue here
eclipse-archived/codewind-java-profiler#8

@ianpartridge
Copy link
Contributor

I've rebased this PR so it no longer conflicts with master. It needs re-review by the stack owners.

@Emily-Jiang @gcharters @BarDweller @neeraj-laad please take a look

@ianpartridge
Copy link
Contributor

ianpartridge commented Oct 15, 2019

@yeekangc too ^^^

@gcharters
Copy link
Contributor

I think this should be merged (or an updated version of it if the stack has changed since it was created) as without this capability the stack is not usable in Eclipse Codewind. I consider this a tactical workaround and believe Codewind should be using the /metrics (e.g. MicroProfile metrics) endpoint from stacks that provide it.

@Kamran64
Copy link
Collaborator

Kamran64 commented Oct 15, 2019

Just tested this and it works i.e I can get the Javametrics dashboard endpoint - However, I'll leave the approval to one of the reviewers mentioned above ^

EDIT: Somehow my appsody run build passes but fails on appsody test. Taking a look at what's going on here but if someone could double check that would be good.

@Emily-Jiang
Copy link
Contributor

Emily-Jiang commented Oct 15, 2019

This PR can be merged with the following agreement:

  • This is a temp workaround. The ultimate solution should rely on MicroProfile Metrics. This PR does not demonstrate ecosystem nor the programming model.

@ianpartridge
Copy link
Contributor

@Emily-Jiang I edited your comment to remove the reference to an internal link. This is a public open source project.

@yeekangc
Copy link
Member

+1 to what Graham and Emily said. This is a tactical solution and Codewind should use /metrics down the road.

@ianpartridge
Copy link
Contributor

@Kamran64 any update on the testing?

@Kamran64
Copy link
Collaborator

Kamran64 commented Oct 16, 2019

@ianpartridge - @neeraj-laad and I took another look earlier. For some reason the command '-javaagent:resources/javametrics-agent.jar' fails only on appsody test but not on run and debug. We think this could probably be removed from APPSODY_TEST env in the Dockerfile-stack though.

For extra context, we see the errors before the build fails:
[Container] [INFO] Error opening zip file or JAR manifest missing : resources/javametrics-agent.jar

[Container] [INFO] JVMJ9TI064E Agent initialization function Agent_OnLoad failed for library instrument, return code -1

[Container] [INFO] JVMJ9VM015W Initialization error for library j9jvmti29(-3): JVMJ9VM009E J9VMDllMain failed

EDIT: I removed that command from being run during appsody test

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. Will wait for CI build to pass before we merge/release

@neeraj-laad neeraj-laad merged commit c969447 into appsody:master Oct 17, 2019
skoh7645 pushed a commit to skoh7645/stacks that referenced this pull request Oct 31, 2019
)

* Add javametrics as a dev only dependency

* remove javametrics for test env var
BarDweller pushed a commit to BarDweller/stacks that referenced this pull request Nov 6, 2019
Merge latest appsody/stacks:master branch
BarDweller pushed a commit to BarDweller/stacks that referenced this pull request Nov 6, 2019
)

* Add javametrics as a dev only dependency

* remove javametrics for test env var
BarDweller pushed a commit to BarDweller/stacks that referenced this pull request Nov 6, 2019
[java-microprofile] Add javametrics as a dev only dependency (appsody#56)
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]>
scottkurz pushed a commit to scottkurz/stacks that referenced this pull request May 19, 2020
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.

9 participants