mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
Fix local ACS E2E deploys failing after acs-deployment's reindexing hook change (#5369)
This commit is contained in:
@@ -24,6 +24,13 @@ inputs:
|
|||||||
chart's standard values.yaml instead.
|
chart's standard values.yaml instead.
|
||||||
required: false
|
required: false
|
||||||
default: 'latest'
|
default: 'latest'
|
||||||
|
helm_install_timeout:
|
||||||
|
description: >-
|
||||||
|
Timeout for the Helm install to wait for the chart's hooks (e.g. the
|
||||||
|
search reindexing job) and, via --wait, its Deployments, StatefulSets
|
||||||
|
and PVCs to become ready, in Helm's duration format (e.g. '5m', '10m').
|
||||||
|
required: false
|
||||||
|
default: '10m'
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
@@ -170,6 +177,7 @@ runs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
ACS_VERSION_INPUT: ${{ inputs.acs_deployment_version }}
|
ACS_VERSION_INPUT: ${{ inputs.acs_deployment_version }}
|
||||||
|
HELM_INSTALL_TIMEOUT: ${{ inputs.helm_install_timeout }}
|
||||||
run: |
|
run: |
|
||||||
[ "$ACS_VERSION_INPUT" = "master" ] && chart_values="pre-release_values.yaml" || chart_values="values.yaml"
|
[ "$ACS_VERSION_INPUT" = "master" ] && chart_values="pre-release_values.yaml" || chart_values="values.yaml"
|
||||||
for attempt in 1 2 3; do
|
for attempt in 1 2 3; do
|
||||||
@@ -185,14 +193,13 @@ runs:
|
|||||||
sleep "$sleep_s"
|
sleep "$sleep_s"
|
||||||
done
|
done
|
||||||
helm install acs acs-deployment/helm/alfresco-content-services \
|
helm install acs acs-deployment/helm/alfresco-content-services \
|
||||||
|
--wait \
|
||||||
|
--timeout "$HELM_INSTALL_TIMEOUT" \
|
||||||
--set global.search.sharedSecret="$(openssl rand -hex 24)" \
|
--set global.search.sharedSecret="$(openssl rand -hex 24)" \
|
||||||
--values "acs-deployment/helm/alfresco-content-services/${chart_values}" \
|
--values "acs-deployment/helm/alfresco-content-services/${chart_values}" \
|
||||||
--values acs-deployment/test/enterprise-integration-test-values.yaml \
|
--values acs-deployment/test/enterprise-integration-test-values.yaml \
|
||||||
--values .github/acs-deployment-values-override.yaml
|
--values .github/acs-deployment-values-override.yaml
|
||||||
|
|
||||||
- name: Wait for pods to be ready
|
|
||||||
uses: Alfresco/alfresco-build-tools/.github/actions/kubectl-wait@v18.21.0
|
|
||||||
|
|
||||||
- name: Report deployed ACS versions
|
- name: Report deployed ACS versions
|
||||||
if: always()
|
if: always()
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
Reference in New Issue
Block a user