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

Fix Build Script #406

Merged
merged 2 commits into from
Oct 7, 2019
Merged

Fix Build Script #406

merged 2 commits into from
Oct 7, 2019

Conversation

EnriqueL8
Copy link
Member

@EnriqueL8 EnriqueL8 commented Oct 4, 2019

Checklist:

Fixing the build script to correctly build the stacks.

In the case, where export $STACKS_LIST is not run, $STACKS_LIST does not exist. Yet, we run STACKS_LIST=$stack_no_slash which creates a local variable. We are then checking using -z that the variable $STACK_LIST is unset, but it is actually set at this point.
We should be checking that $STACKS_LIST is not empty with -n.

We could also not set the variable, and keep using -z

@EnriqueL8 EnriqueL8 requested a review from Kamran64 October 4, 2019 15:55
@Kamran64
Copy link
Collaborator

Kamran64 commented Oct 4, 2019

Thanks @EnriqueL8 - this makes sense to me but I think there's a reason why those extension hooks are only running if STACKS_LIST is empty. Maybe we should have a double check from @neeraj-laad

@EnriqueL8
Copy link
Member Author

Actually @Kamran64, we could just put the all the logic related to STACK_LIST inside the if block which exports STACK_LIST itself. This would mean that we can still use the -z check.

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. but I like the idea of putting all logic in one place. Are we considering both travis and local build here though?

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 b42066b into appsody:master Oct 7, 2019
skoh7645 pushed a commit to skoh7645/stacks that referenced this pull request Oct 31, 2019
* Fix Build Script

* Encapsulate logic in if block
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.

3 participants