-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (40 loc) · 1.61 KB
/
variables-commercial.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
name: Commercial Environment Variables Setup
on:
workflow_dispatch:
jobs:
commercial:
name: Commercial Environment Setup
runs-on: ubuntu-latest
env:
CI_COMMIT_AUTHOR: Continuous Integration
steps:
- name: Checkout code from repository
uses: actions/checkout@v2
- name: Configure AWS credentials for commercial
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.DEVOPS_CORP_AUTOMATION_AWS_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.DEVOPS_CORP_AUTOMATION_AWS_SECRET }}
aws-region: us-east-1
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x' # Use a specific Python version
- name: Prepare Environment
id: prep
run: /bin/bash .github/prep.sh
- name: Set environment variables for additional secrets
env:
TRINET_API_KEY: ${{ secrets.TRINET_API_KEY }}
TRINET_API_SECRET: ${{ secrets.TRINET_API_SECRET }}
OKTA_DOMAIN: ${{ secrets.OKTA_DOMAIN }}
OKTA_API_TOKEN: ${{ secrets.OKTA_API_TOKEN }}
ATLASSIAN_DOMAIN: ${{ secrets.JIRA_DOMAIN }}
ATLASSIAN_EMAIL: ${{ secrets.JIRA_EMAIL }}
ATLASSIAN_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
CORP_TIO_ACCESS_KEY: ${{ secrets.CORP_TENABLE_ACCESS_KEY }}
CORP_TIO_SECRET_KEY: ${{ secrets.CORP_TENABLE_SECRET_KEY }}
- name: Git Global Config
run: |
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
git config --global user.email "[email protected]"