Skip to content

Commit

Permalink
tee scenario logs, add tailscale client
Browse files Browse the repository at this point in the history
  • Loading branch information
cwensel committed Dec 5, 2023
1 parent a05dfa7 commit de52e08
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/scenario.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Tailscale
uses: tailscale/github-action@v2
with:
oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
tags: tag:ci

- name: Checkout Repo
uses: actions/checkout@v3
- uses: actions/setup-java@v3
Expand All @@ -42,14 +49,15 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: us-east-2
run: |
./gradlew --no-daemon --info --stacktrace scenarios
./gradlew --no-daemon --info --stacktrace scenarios | tee clusterless-scenario/build/scenarios.log
- name: Archive Scenario Results
uses: actions/upload-artifact@v3
if: always()
with:
name: scenario-results
path: |
clusterless-scenario/build/scenarios.log
clusterless-scenario/build/scenarios/*
!clusterless-scenario/build/scenarios/**/cdk.out
retention-days: 5
3 changes: 2 additions & 1 deletion .github/workflows/wip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,15 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: us-west-2
run: |
./gradlew --no-daemon --info --stacktrace scenarios
./gradlew --no-daemon --info --stacktrace scenarios | tee clusterless-scenario/build/scenarios.log
- name: Archive Scenario Results
uses: actions/upload-artifact@v3
if: always()
with:
name: scenario-results
path: |
clusterless-scenario/build/scenarios.log
clusterless-scenario/build/scenarios/*
!clusterless-scenario/build/scenarios/**/cdk.out
retention-days: 5
Expand Down

0 comments on commit de52e08

Please sign in to comment.