Skip to content

Commit

Permalink
only pass env. vars in script step
Browse files Browse the repository at this point in the history
  • Loading branch information
eaudetcobello committed Sep 6, 2024
1 parent cdee3ec commit ee04a23
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/e2e-deleteme.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ jobs:
run-e2e-tests:
name: Run E2E Tests
runs-on: [self-hosted, linux, X64, jammy, large]
env:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}
AWS_REGION: us-east-2
strategy:
matrix:
ginkgo_focus:
Expand All @@ -37,4 +32,10 @@ jobs:
sudo sysctl fs.inotify.max_user_instances=8192
- name: Run e2e tests
run: |
sudo ./hack/ci-e2e-tests.sh true aws v0.1.2
sudo -E ./hack/ci-e2e-tests.sh true aws v0.1.2
env:
GOPROXY: direct
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}
AWS_REGION: us-east-2
2 changes: 0 additions & 2 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: E2E Tests

on:
pull_request:
branches:
- does-not-exist

permissions:
contents: read
Expand Down

0 comments on commit ee04a23

Please sign in to comment.