-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* [ACS-9102] Local ACS deployment draft * [ACS-9102] Move ACS deployment to composite action * [ACS-9102] Remove obsolete checks * [ACS-9102] Proper secrets for ACS deployment * [ACS-9102] Add required shell property * [ACS-9102] Use fixed acs deployment version * [ACS-9102] Proper acs deployment tag * [ACS-9102] Add required shell property * [ACS-9102] Fix helm install params * [ACS-9102] Remove obsolete checkout * [ACS-9102] Use more powerful runner for E2Es * [ACS-9102] Introduce temp secrets * test curl localhost * skip n-1 matrix jobs * test ipv4 first * [ACS-9102] Adjust Playwright E2E host * [ACS-9102] Bring back matrix job * disable unnecessary acs components * debug ingress after tests run * [ACS-9102] Fix folder-rules test suite * [ACS-9102] Fix part of viewer test suite * [ACS-9102] Additional E2E fixes * [ACS-9102] fixes for e2es -> empty-list and search * [ACS-9102] more fixes for e2es and github actions artifacts added for easier debugging * [ACS-9102] removed artifacts from GHA * print all logs * [ACS-9102] Remove outdated secrets * [ACS-9102] Remove after-e2e action * do not wait for reindexing * test on latest runner * Always debug ingress logs * avoid sleep waiting for app startup * cleanup unnecessary action input type * fixup indent * test with latest acs alpha * Revert "do not wait for reindexing" This reverts commit 86ca54d. * [ACS-9102] Exclude unstable test cases * [ACS-9102] Exclude unstable test cases * [ACS-9102] Exclude unstable test cases --------- Co-authored-by: Giovanni Toraldo <[email protected]> Co-authored-by: Adam Świderski <[email protected]>
- Loading branch information
1 parent
52d586a
commit 8931a29
Showing
27 changed files
with
361 additions
and
188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
share: | ||
enabled: false | ||
postgresql-sync: | ||
enabled: false | ||
alfresco-sync-service: | ||
enabled: false | ||
alfresco-digital-workspace: | ||
enabled: false | ||
alfresco-control-center: | ||
enabled: false | ||
alfresco-ai-transformer: | ||
enabled: false | ||
elasticsearch-audit: | ||
enabled: false | ||
alfresco-audit-storage: | ||
enabled: false | ||
kibana-audit: | ||
enabled: false | ||
alfresco-repository: | ||
image: | ||
tag: 25.1.0-A.7 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
name: deploy-local-acs | ||
description: Deploy local ACS for E2E testing | ||
|
||
inputs: | ||
docker_username: | ||
description: 'Docker username' | ||
required: true | ||
docker_password: | ||
description: 'Docker password' | ||
required: true | ||
quay_username: | ||
description: 'Quay username' | ||
required: true | ||
quay_password: | ||
description: 'Quay password' | ||
required: true | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- uses: azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 | ||
with: | ||
version: "3.14.3" | ||
|
||
- name: Login to Docker Hub | ||
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0 | ||
with: | ||
username: ${{ inputs.docker_username }} | ||
password: ${{ inputs.docker_password }} | ||
|
||
- name: Login to Quay.io | ||
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0 | ||
with: | ||
registry: quay.io | ||
username: ${{ inputs.quay_username }} | ||
password: ${{ inputs.quay_password }} | ||
|
||
- name: Setup cluster | ||
uses: Alfresco/alfresco-build-tools/.github/actions/[email protected] | ||
with: | ||
ingress-nginx-ref: controller-v1.8.2 | ||
metrics: "true" | ||
|
||
- name: Set nginx ingress config | ||
shell: bash | ||
run: >- | ||
kubectl -n ingress-nginx patch cm ingress-nginx-controller | ||
-p '{"data": {"allow-snippet-annotations":"true"}}' | ||
- name: Create registries auth secret | ||
shell: bash | ||
run: >- | ||
kubectl create secret generic regcred | ||
--from-file=.dockerconfigjson=$HOME/.docker/config.json | ||
--type=kubernetes.io/dockerconfigjson | ||
- name: Add dependency chart repos | ||
shell: bash | ||
run: | | ||
helm repo add self https://alfresco.github.io/alfresco-helm-charts/ | ||
helm repo add elastic https://helm.elastic.co/ | ||
- name: Checkout acs-deployment sources | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
with: | ||
repository: Alfresco/acs-deployment | ||
ref: v8.6.1 | ||
path: acs-deployment | ||
|
||
- name: Helm install | ||
shell: bash | ||
run: >- | ||
helm dep build acs-deployment/helm/alfresco-content-services && | ||
helm install acs acs-deployment/helm/alfresco-content-services | ||
--set global.search.sharedSecret="$(openssl rand -hex 24)" | ||
--set global.known_urls=http://localhost | ||
--set global.alfrescoRegistryPullSecrets=regcred | ||
--values acs-deployment/test/enterprise-integration-test-values.yaml | ||
--values .github/acs-deployment-values-override.yaml | ||
- name: Watch Helm deployment | ||
shell: bash | ||
run: | | ||
kubectl get pods --watch & | ||
KWPID=$! | ||
kubectl wait --timeout=7m --all=true --for=condition=Available deploy && kill $KWPID | ||
echo -n "Waiting for ESC Reindexing job to complete... " | ||
kubectl wait --timeout=5m --for=condition=complete job/acs-alfresco-search-enterprise-reindexing | ||
echo "Completed." | ||
- name: Spit cluster status after install | ||
if: always() | ||
shell: bash | ||
run: | | ||
helm ls --all-namespaces --all | ||
helm status acs --show-resources | ||
kubectl describe pod |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
{} | ||
{ | ||
"XAT-5304": "https://hyland.atlassian.net/browse/ACS-9154" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.