Skip to content

Commit

Permalink
Merge pull request #383 from jmesnil/JBEAP-25347_provisioning_env_var…
Browse files Browse the repository at this point in the history
…s_warning

[JBEAP-25347] Remove deprecation warning for S2I provisioning env vars
  • Loading branch information
jfdenise authored Aug 16, 2023
2 parents a7c095f + d1b382f commit dc3fc6a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ else
# Required to handle custom feature-pack copied to local maven repo
source "${JBOSS_CONTAINER_WILDFLY_S2I_LEGACY_GALLEON_MODULE}/s2i_galleon"
if [ -n "${GALLEON_PROVISION_FEATURE_PACKS}" ] || [ -n "${GALLEON_USE_LOCAL_FILE}" ]; then
log_warning "You have activated legacy s2i workflow by setting GALLEON_PROVISION_FEATURE_PACKS or GALLEON_USE_LOCAL_FILE env variable."
log_warning "This support is deprecated and will be removed in a future release. Provision and configure your server during s2i from your pom.xml file by using the dedicated Maven plugin."
log_info "You have activated legacy s2i workflow by setting GALLEON_PROVISION_FEATURE_PACKS or GALLEON_USE_LOCAL_FILE env variable."
# images using this module must have set these env variables.
if [ -z "${PROVISIONING_MAVEN_PLUGIN_GROUP_ID}" ] || [ -z "${PROVISIONING_MAVEN_PLUGIN_ARTIFACT_ID}" ] || [ -z "${PROVISIONING_MAVEN_PLUGIN_VERSION}" ]; then
log_error "PROVISIONING_MAVEN_PLUGIN_GROUP_ID, PROVISIONING_MAVEN_PLUGIN_ARTIFACT_ID and PROVISIONING_MAVEN_PLUGIN_VERSION env variable must be set to provision a server."
Expand Down

0 comments on commit dc3fc6a

Please sign in to comment.