-
Notifications
You must be signed in to change notification settings - Fork 1
52 lines (49 loc) · 1.55 KB
/
example-service-1.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
name: Agent Coordinator
on:
pull_request:
type:
- opened
branches:
- master
- develop
- release-*
- pre-release-*
- zta-qa
paths:
- 'agent-coordinator/**'
push:
branches:
- develop # Development Environment
- feature-*
- craas-feature
- zta-qa
paths:
- 'agent-coordinator/**'
release:
types: [created]
workflow_dispatch:
jobs:
docker:
name: Docker
uses: ./.github/workflows/reusable-horusec-build-deploy-workflow.yml
with:
service_name: agent-coordinator
service_path: agent-coordinator
docker_registry: ghcr.io/extremenetworks/web-controller
secrets:
aws_access_key_ztna: ${{ secrets.AWS_ACCESS_KEY_ZTNA }}
aws_secret_key_ztna: ${{ secrets.AWS_SECRET_KEY_ZTNA }}
horusec_s3_bucket: ${{ secrets.HORUSEC_S3_BUCKET }}
horusec_s3_key: ${{ secrets.HORUSEC_S3_KEY }}
slack_channel_webhook: ${{ secrets.SLACK_CHANNEL_WEBHOOK }}
slack_horusec_channel_webhook: ${{ secrets.SLACK_HORUSEC_CHANNEL_WEBHOOK }}
jira_base_url: ${{ secrets.JIRA_BASE_URL }}
jira_user_email: ${{ secrets.JIRA_USER_EMAIL }}
jira_api_token: ${{ secrets.JIRA_API_TOKEN }}
gcr_token_ztna: ${{ secrets.GCR_TOKEN_ZTNA }}
repo_owner_ztna: ${{ secrets.REPO_OWNER_ZTNA }}
gcr_token: ${{ secrets.GCR_TOKEN }}
aws_s3_bucket: ${{ secrets.AWS_S3_BUCKET }}
send_grid_token: ${{ secrets.SEND_GRID_TOKEN }}
google_sa_secret: ${{secrets.GOOGLE_SA_SECRET}}
gsheet_id: ${{secrets.GSHEET_ID}}