-
Notifications
You must be signed in to change notification settings - Fork 0
60 lines (55 loc) · 2.25 KB
/
run-bash.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
# Simple workflow for running a bash command
name: Run bash
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
# Single deploy job since we're just deploying
print:
runs-on: ubuntu-latest
environment: dev
steps:
- name: Print GRAD_NAMESPACE
run: echo ${{secrets.GRAD_NAMESPACE}} | sed 's/./& /g'
- name: Print SPLUNK_TOKEN-DEV
run: echo ${{secrets.SPLUNK_TOKEN}} | sed 's/./& /g'
- name: Print APP_DOMAIN
run: echo ${{secrets.APP_DOMAIN}} | sed 's/./& /g'
- name: Print COMMON_NAMESPACE
run: echo ${{secrets.COMMON_NAMESPACE}} | sed 's/./& /g'
- name: Print DOCKER_ARTIFACTORY_ACCESS_TOKEN
run: echo ${{secrets.DOCKER_ARTIFACTORY_ACCESS_TOKEN}} | sed 's/./& /g'
- name: Print DOCKER_ARTIFACTORY_REPO
run: echo ${{secrets.DOCKER_ARTIFACTORY_REPO}} | sed 's/./& /g'
- name: Print DOCKER_ARTIFACTORY_USERNAME
run: echo ${{secrets.DOCKER_ARTIFACTORY_USERNAME}} | sed 's/./& /g'
- name: Print GRAD_BUSINESS_NAMESPACE
run: echo ${{secrets.GRAD_BUSINESS_NAMESPACE}} | sed 's/./& /g'
- name: Print GRAD_NAMESPACE
run: echo ${{secrets.GRAD_NAMESPACE}} | sed 's/./& /g'
- name: Print OPENSHIFT_SERVER
run: echo ${{secrets.OPENSHIFT_SERVER}} | sed 's/./& /g'
- name: Print OPENSHIFT_TOKEN
run: echo ${{secrets.OPENSHIFT_TOKEN}} | sed 's/./& /g'
- name: Print OPENSHIFT_TOOLS_NAMESPACE
run: echo ${{secrets.OPENSHIFT_TOOLS_NAMESPACE}} | sed 's/./& /g'
- name: Print SONAR_HOST_URL
run: echo ${{secrets.SONAR_HOST_URL}} | sed 's/./& /g'
- name: Print SONAR_ORG
run: echo ${{secrets.SONAR_ORG}} | sed 's/./& /g'
- name: Print SONAR_PROJECT_KEY
run: echo ${{secrets.SONAR_PROJECT_KEY}} | sed 's/./& /g'
- name: Print SONAR_TOKEN
run: echo ${{secrets.SONAR_TOKEN}} | sed 's/./& /g'
print-test:
runs-on: ubuntu-latest
environment: test
steps:
- name: Print SPLUNK_TOKEN-TEST
run: echo ${{secrets.SPLUNK_TOKEN}} | sed 's/./& /g'
print-prod:
runs-on: ubuntu-latest
environment: prod
steps:
- name: Print SPLUNK_TOKEN-PROD
run: echo ${{secrets.SPLUNK_TOKEN}} | sed 's/./& /g'