-
Notifications
You must be signed in to change notification settings - Fork 30
71 lines (65 loc) · 3.29 KB
/
os-osd-deployment-manually.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# This workflow is a scheduled workflow and used for deploying the preview version of OpenSearch
# and OpenSearch Dashboards to AWS EKS (Elastic Kubernetes Service) cluster.
name: Manually Deploy OpenSearch and OpenSearch Dashboards
on:
push:
branches: [ 2023reinvent ]
# Adds workflow_dispatch for manually running a workflow.
workflow_dispatch:
jobs:
OS-OSD-Preview-Scheduled-Deployment:
uses: opensearch-project/dashboards-anywhere/.github/workflows/deployment-template.yml@main
with:
helm-repo: https://opensearch-project.github.io/helm-charts/
deploy-env: preview
secrets:
access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_PREVIEW }}
secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY_PREVIEW }}
region: ${{ secrets.AWS_REGION_PREVIEW }}
kube-config: ${{ secrets.KUBE_CONFIG_DATA_PREVIEW }}
openid_client_id: ${{ secrets.OPENID_CLIENT_ID }}
openid_client_secret: ${{ secrets.OPENID_CLIENT_SECRET }}
openid_base_redirect_url: ${{ secrets.OPENID_BASE_REDIRECT_URL }}
openid_logout_url: ${{ secrets.OPENID_LOGOUT_URL }}
ga-tracking-id: ${{ secrets.GA_TRACKING_ID }}
osd_user: ${{ secrets.OSD_USER_PREVIEW }}
osd_user_password: ${{ secrets.OSD_USER_PASSWORD_PREVIEW }}
otel_root_ca: ${{ secrets.OTEL_ROOT_CA }}
otel_data_prepper_cert: ${{ secrets.OTEL_DATA_PREPPER_CERT }}
kibanaserver: ${{ secrets.KIBANASERVER }}
OS-OSD-SearchApps-Scheduled-Deployment:
uses: opensearch-project/dashboards-anywhere/.github/workflows/deployment-template.yml@main
with:
helm-repo: https://opensearch-project.github.io/helm-charts/
deploy-env: searchapps
secrets:
access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_SEARCHAPPS }}
secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY_SEARCHAPPS }}
region: ${{ secrets.AWS_REGION_SEARCHAPPS }}
kube-config: ${{ secrets.KUBE_CONFIG_DATA_SEARCHAPPS }}
openid_client_id: ${{ secrets.OPENID_CLIENT_ID_SEARCHAPPS }}
openid_client_secret: ${{ secrets.OPENID_CLIENT_SECRET_SEARCHAPPS }}
openid_base_redirect_url: ${{ secrets.OPENID_BASE_REDIRECT_URL_SEARCHAPPS }}
openid_logout_url: ${{ secrets.OPENID_LOGOUT_URL_SEARCHAPPS }}
ga-tracking-id: ${{ secrets.GA_TRACKING_ID }}
osd_user: ${{ secrets.OSD_USER_SEARCHAPPS }}
osd_user_password: ${{ secrets.OSD_USER_PASSWORD_SEARCHAPPS }}
otel_root_ca: ${{ secrets.OTEL_ROOT_CA }}
otel_data_prepper_cert: ${{ secrets.OTEL_DATA_PREPPER_CERT }}
kibanaserver: ${{ secrets.KIBANASERVER }}
OSD-Functional-Test-Preview:
needs: OS-OSD-Preview-Scheduled-Deployment
uses: opensearch-project/dashboards-anywhere/.github/workflows/functional-test-template.yml@previewchangefeature
with:
endpoint: https://reinvent.playground.opensearch.org
secrets:
osd-user: ${{ secrets.OSD_USER_PREVIEW }}
osd-user-password: ${{ secrets.OSD_USER_PASSWORD_PREVIEW }}
OSD-Functional-Test-SearchApps:
needs: OS-OSD-SearchApps-Scheduled-Deployment
uses: opensearch-project/dashboards-anywhere/.github/workflows/functional-test-template.yml@searchapps
with:
endpoint: https://searchapps.playground.opensearch.org
secrets:
osd-user: ${{ secrets.OSD_USER_SEARCHAPPS }}
osd-user-password: ${{ secrets.OSD_USER_PASSWORD_SEARCHAPPS }}