generated from cisagov/ScubaGear
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
switching to environment secrets.. issue is with repo secrets
- Loading branch information
1 parent
862143c
commit 93dad44
Showing
3 changed files
with
21 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,17 +12,17 @@ inputs: | |
runs: | ||
using: "composite" | ||
steps: | ||
- name: Setup credentials for service account | ||
id: create-json | ||
uses: jsdaniell/[email protected] | ||
with: | ||
name: "credentials.json" | ||
json: ${{ inputs.credentials }} | ||
|
||
- name: Setup credentials for service account | ||
shell: bash | ||
run: | | ||
ls -la | ||
#- name: Setup credentials for service account | ||
# id: create-json | ||
# uses: jsdaniell/[email protected] | ||
# with: | ||
# name: "credentials.json" | ||
# json: ${{ inputs.credentials }} | ||
# | ||
#- name: Setup credentials for service account | ||
# shell: bash | ||
# run: | | ||
# ls -la | ||
|
||
- name: Setup virtualenv | ||
shell: bash | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,9 +55,14 @@ jobs: | |
operating-system: "macos" | ||
opa-version: "0.60.0" | ||
credentials: ${{ secrets.GWS_GITHUB_AUTOMATION_CREDS }} | ||
|
||
- name: Setup credentials for service account | ||
id: create-json | ||
uses: jsdaniell/[email protected] | ||
with: | ||
name: "credentials.json" | ||
json: ${{ secrets.GWS_GITHUB_AUTOMATION_CREDS }} | ||
|
||
- name: Execute ScubaGoggles and check for correct output | ||
run: | | ||
echo "run scubagoggles" | ||
ls | ||
pytest -s ./Testing/Functional/SmokeTests/ --subjectemail="${{ secrets.GWS_SUBJECT_EMAIL }}" |