mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
Bumps the github-actions group in /.github/actions/deploy-local-acs with 1 update: [Alfresco/alfresco-build-tools](https://github.com/alfresco/alfresco-build-tools). Updates `Alfresco/alfresco-build-tools` from 8.18.0 to 8.19.1 - [Release notes](https://github.com/alfresco/alfresco-build-tools/releases) - [Commits](https://github.com/alfresco/alfresco-build-tools/compare/v8.18.0...v8.19.1) --- updated-dependencies: - dependency-name: Alfresco/alfresco-build-tools dependency-version: 8.19.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
80 lines
2.5 KiB
YAML
80 lines
2.5 KiB
YAML
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@b9e51907a09c216f16ebe8536097933489208112
|
|
with:
|
|
version: "3.14.3"
|
|
|
|
- name: Login to Docker Hub
|
|
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
|
|
with:
|
|
username: ${{ inputs.docker_username }}
|
|
password: ${{ inputs.docker_password }}
|
|
|
|
- name: Login to Quay.io
|
|
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
|
|
with:
|
|
registry: quay.io
|
|
username: ${{ inputs.quay_username }}
|
|
password: ${{ inputs.quay_password }}
|
|
|
|
- name: Setup cluster
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/setup-kind@v8.19.1
|
|
with:
|
|
ingress-nginx-ref: controller-v1.8.2
|
|
|
|
- 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: v9.0.0
|
|
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)"
|
|
--values acs-deployment/test/enterprise-integration-test-values.yaml
|
|
--values .github/acs-deployment-values-override.yaml
|
|
|
|
- name: Wait for pods to be ready
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/kubectl-wait@v8.19.1
|