Skip to content

Commit

Permalink
comment out speakeasy portion
Browse files Browse the repository at this point in the history
  • Loading branch information
rkeur7 committed Oct 30, 2024
1 parent 8d3c970 commit 30f1ca5
Showing 1 changed file with 27 additions and 15 deletions.
42 changes: 27 additions & 15 deletions .github/workflows/sdk_generation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,33 @@ on:
- cron: 0 0 * * *

jobs:
gather-secrets:
uses: ./.github/workflows/secrets_retrieval.yaml
with:
environment: dev-main

speakeasy_generate:
needs: gather-secrets
generate:
runs-on: ubuntu-latest
timeout-minutes: 10
concurrency:
group: php-sdk-check
steps:
- name: Generate SDK
uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
- name: Authenticate with AWS
uses: goshippo/shippo-action-workflows/.github/actions/[email protected]
with:
environment: dev-main
oidc-name: shippo-php-sdk-pipeline
login-to-ecr: false

- name: Get Speakeasy Secrets Manager
uses: aws-actions/aws-secretsmanager-get-secrets@v2
with:
force: ${{ github.event.inputs.force }}
mode: pr
speakeasy_version: latest
env:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
speakeasy_api_key: ${{ jobs.gather-secrets.outputs.get-secrets.DEV_MAIN_SPEAKEASY_API_KEY_PHP_API_KEY }} # Reference the output directly
secret-ids: |
dev-main-speakeasy-api-key
name-transformation: uppercase
parse-json-secrets: true

# - name: Generate SDK
# uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
# with:
# force: ${{ github.event.inputs.force }}
# mode: pr
# speakeasy_version: latest
# env:
# github_access_token: ${{ secrets.GITHUB_TOKEN }}
# speakeasy_api_key: ${{ jobs.gather-secrets.outputs.get-secrets.DEV_MAIN_SPEAKEASY_API_KEY_PHP_API_KEY }} # Reference the output directly

0 comments on commit 30f1ca5

Please sign in to comment.