Skip to content

Commit

Permalink
ensure consistant sptes in jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
alxgomz committed Mar 21, 2024
1 parent 3ea6228 commit 6964c27
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/helm-community.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,17 +84,19 @@ jobs:
--from-file=.dockerconfigjson=$HOME/.docker/config.json \
--type=kubernetes.io/dockerconfigjson
- name: Helm dependencies build
run: helm dep build
working-directory: ${{ matrix.name }}

- name: Helm install
run: |
helm dep up .
helm install ${{ matrix.name }} . \
--set global.search.sharedSecret="$(openssl rand -hex 24)" \
--set global.known_urls=http://localhost \
--set global.alfrescoRegistryPullSecrets=regcred \
--wait --timeout 6m0s \
--values ${{ matrix.values }} \
run: >-
helm install ${{ matrix.name }} helm/${{ matrix.name }}
--set global.search.sharedSecret="$(openssl rand -hex 24)"
--set global.known_urls=http://localhost
--set global.alfrescoRegistryPullSecrets=regcred
--wait --timeout 6m0s
--values ${{ matrix.values }}
--values ../../test/community-integration-test-values.yaml
working-directory: helm/${{ matrix.name }}
- name: Spit cluster status
if: always()
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/helm-enterprise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,12 @@ jobs:
echo "helm_install_params=--set dtas.additionalArgs[0]='-k not test_renditions'" >> "$GITHUB_OUTPUT"
fi
- name: Helm dependencies build
run: helm dep build
working-directory: ${{ matrix.name }}

- name: Helm install
run: >-
helm dep up ./helm/alfresco-content-services &&
helm install acs ./helm/alfresco-content-services
--set global.search.sharedSecret="$(openssl rand -hex 24)"
--set global.known_urls=http://localhost
Expand Down

0 comments on commit 6964c27

Please sign in to comment.