-
Notifications
You must be signed in to change notification settings - Fork 242
55 lines (55 loc) · 1.57 KB
/
helm-community.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
---
name: Helm (Community)
on:
pull_request:
branches:
- master
- release/**
paths:
- helm/**
- test/postman/helm/**
- .github/workflows/helm*
- test/community-integration-test-values.yaml
push:
branches:
- master
- release/**
jobs:
community_charts:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup cluster
uses: Alfresco/alfresco-build-tools/.github/actions/setup-kind@v2.5.0
- name: Community local deployment
run: |
helm dep up ./helm/alfresco-content-services
helm install acs ./helm/alfresco-content-services \
--set global.tracking.sharedsecret="$(openssl rand -hex 24)" \
--set externalPort="80" --set externalProtocol="http" \
--set externalHost="localhost" --wait --timeout 15m0s --values \
test/community-integration-test-values.yaml
- name: Spit cluster status
if: always()
run: |
helm ls --all-namespaces
kubectl get all --all-namespaces
kubectl describe pod
- name: Wait ACS to warm up
run: sleep 60
- name: run Postman tests
uses: matt-ball/newman-action@v1.0.4
with:
globalVar: >-
[
{
"key":"protocol",
"value":"http"
},
{
"key":"url",
"value":"localhost"
}
]
collection: test/postman/helm/acs-test-helm-collection.json
insecure: true