mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
[ACA-4715] break dependency on envsubst (#3325)
* remove BPM host * break dependency on envsubst * remove prebuild script * cleanup package.json
This commit is contained in:
@@ -32,7 +32,7 @@ runs:
|
||||
steps:
|
||||
- name: Check content UP
|
||||
shell: bash
|
||||
run: ./node_modules/@alfresco/adf-cli/bin/adf-cli check-cs-env --host $APP_CONFIG_ECM_HOST -u $ADMIN_EMAIL -p $ADMIN_PASSWORD || exit 1
|
||||
run: ./node_modules/@alfresco/adf-cli/bin/adf-cli check-cs-env --host $BASE_URL -u $ADMIN_EMAIL -p $ADMIN_PASSWORD || exit 1
|
||||
|
||||
- name: Download artifacts
|
||||
uses: ./.github/actions/download-job-artifact
|
||||
@@ -43,18 +43,6 @@ runs:
|
||||
aws-secret-access-key: ${{ inputs.aws-secret-access-key }}
|
||||
aws-region: ${{ inputs.aws-region }}
|
||||
|
||||
- name: Replace variables in app.config.json
|
||||
shell: bash
|
||||
run: |
|
||||
APP_CONFIG_FILE_PATH="${{ inputs.to }}/app.config.json"
|
||||
npx envsub --all $APP_CONFIG_FILE_PATH $APP_CONFIG_FILE_PATH || exit 1
|
||||
echo -n " \_ Validating replaced config file ... ";
|
||||
npx ajv validate -s ./node_modules/@alfresco/adf-core/app.config.schema.json -d $APP_CONFIG_FILE_PATH --errors=text --verbose || exit 4
|
||||
if grep -E -q '\$\{[A-Z0-9_]*\}' $APP_CONFIG_FILE_PATH; then
|
||||
echo -e "\e[31m \_ ERROR: Variables are still present in the app.config.json file. Some of them might not have default value set.\e[0m";
|
||||
exit 5;
|
||||
fi
|
||||
|
||||
- name: Update webdriver-manager
|
||||
shell: bash
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user