This folder contains update scripts which would be called for a specific environments.
The .ci/environments/update.sh
script is responsible to execute the update/migration.
It expect at least one parameter, namely the “environment”, corresponding to the folder which will be “executed” (e.g. quarkus-3, quarkus-main, etc) and optionally some more which would be transmitted to the before.sh
and/or after.sh
scripts.
Please look at the specific environment README file for more information about the needed parameters for the before and after scripts.
To execute migration from an environment, WITHOUT extra parameters:
.ci/environments/update.sh <environment>
To execute migration from an environment WITH extra paramerers:
.ci/environments/update.sh <environment> <extra_param1> <extra_param2>
When called, the update script will (in order and if exists):
<environment>/before.sh
script with extra parameters<environment>/patches
folder in alphanumeric order<environment>/before.sh
script with extra parameters