Skip to content

Commit

Permalink
Add debug env var
Browse files Browse the repository at this point in the history
  • Loading branch information
MDrakos committed Jul 19, 2023
1 parent e148f1a commit 779ed7b
Showing 1 changed file with 14 additions and 17 deletions.
31 changes: 14 additions & 17 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Build-Test-Deploy

# === Triggers ===
"on":
'on':
push:
branches:
- master
Expand All @@ -15,22 +15,20 @@ name: Build-Test-Deploy
- synchronize
- reopened
schedule:
-
cron: 0 0 * * *
- cron: 0 0 * * *

# === Workflow Permissions ===
permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout
contents: read # This is required for actions/checkout

# === Workflow-level environment variables ===
env:
AWS_REGION : us-east-1
AWS_REGION: us-east-1
AWS_ROLE_SESSION_NAME: gha-activestate-cli

# === JOBS ===
jobs:

# === OS Specific Job (runs on each OS) ===
os_specific:
name: ${{ matrix.platform }}
Expand All @@ -55,7 +53,6 @@ jobs:

# === OS Specific Steps ===
steps:

- # === Checkout Code ===
name: Checkout code
uses: actions/checkout@v2
Expand Down Expand Up @@ -168,32 +165,32 @@ jobs:
continue-on-error: ${{ github.event_name != 'schedule' }}

- # === "Build: CLI" ===
name: "Build: CLI"
name: 'Build: CLI'
shell: bash
run: parallelize results Build-CLI

- # === "Build: Service" ===
name: "Build: Service"
name: 'Build: Service'
shell: bash
run: parallelize results Build-Service

- # === "Build: Installer" ===
name: "Build: Installer"
name: 'Build: Installer'
shell: bash
run: parallelize results Build-Installer

- # === "Build: Remote Installer" ===
name: "Build: Remote Installer"
name: 'Build: Remote Installer'
shell: bash
run: parallelize results Build-Remote-Installer

- # === "Build: Install Scripts" ===
name: "Build: Install Scripts"
name: 'Build: Install Scripts'
shell: bash
run: parallelize results Build-Install-Scripts

- # === "Build: Executor" ===
name: "Build: Executor"
name: 'Build: Executor'
shell: bash
run: parallelize results Build-Executor

Expand Down Expand Up @@ -242,7 +239,7 @@ jobs:
name: Generate Remote Install Deployment
shell: bash
run: state run generate-remote-install-deployment

- # === Configure AWS credentials ==
name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v2
Expand All @@ -254,7 +251,7 @@ jobs:

- # === Deploy for Integration Tests # NEVER run this against production branches. This is meant for PR deployments. ===
name: Deploy for Integration Tests # NEVER run this against production branches. This is meant for PR deployments.
if: "!contains(fromJSON('[\"refs/heads/beta\", \"refs/heads/release\", \"refs/heads/LTS\"]'), github.ref)"
if: '!contains(fromJSON(''["refs/heads/beta", "refs/heads/release", "refs/heads/LTS"]''), github.ref)'
shell: bash
run: |
if [ "$GITHUB_EVENT_NAME" != "schedule" ]; then
Expand All @@ -279,7 +276,7 @@ jobs:
- # === Integration Tests ===
name: Integration Tests
id: integration_tests
if: "!contains(fromJSON('[\"refs/heads/beta\", \"refs/heads/release\", \"refs/heads/LTS\"]'), github.ref)"
if: '!contains(fromJSON(''["refs/heads/beta", "refs/heads/release", "refs/heads/LTS"]''), github.ref)'
shell: bash
run: |
if [ "$GITHUB_EVENT_NAME" != "schedule" ]; then
Expand Down Expand Up @@ -321,6 +318,7 @@ jobs:
continue-on-error: ${{ github.event_name == 'schedule' }}
env:
ACTIVESTATE_VERBOSE: true
ACTIVESTATE_DEBUG_SERVICE_REQUESTS: true
INTEGRATION_TEST_USERNAME: ${{ secrets.INTEGRATION_TEST_USERNAME }}
INTEGRATION_TEST_PASSWORD: ${{ secrets.INTEGRATION_TEST_PASSWORD }}
INTEGRATION_TEST_TOKEN: ${{ secrets.INTEGRATION_TEST_TOKEN }}
Expand Down Expand Up @@ -396,7 +394,6 @@ jobs:

# === Deploy Steps ===
steps:

- # === Checkout code ===
name: Checkout code
uses: actions/checkout@v2
Expand Down

0 comments on commit 779ed7b

Please sign in to comment.