feat(pam): account policies #154
This file contains hidden or 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
| name: CLI E2EE Tests | |
| on: | |
| pull_request: | |
| types: [opened, synchronize] | |
| workflow_dispatch: | |
| workflow_call: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| name: CLI End-to-End Testing | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: "1.25.8" | |
| - name: Install dependencies | |
| run: go get . | |
| - name: Build the CLI | |
| run: go build -o infisical-cli | |
| - name: Checkout infisical repo | |
| uses: actions/checkout@v6 | |
| with: | |
| repository: infisical/infisical | |
| path: infisical | |
| - name: Free disk space | |
| run: | | |
| sudo rm -rf /usr/share/dotnet | |
| sudo rm -rf /usr/local/lib/android | |
| sudo rm -rf /opt/ghc | |
| sudo rm -rf /opt/hostedtoolcache/CodeQL | |
| docker system prune -af | |
| df -h | |
| - name: Test with the Go CLI | |
| run: go test -v -timeout 30m -count=1 github.com/infisical/cli/e2e-tests/proxy github.com/infisical/cli/e2e-tests/relay | |
| working-directory: ./e2e | |
| env: | |
| INFISICAL_BACKEND_DIR: ${{ github.workspace }}/infisical/backend | |
| INFISICAL_CLI_EXECUTABLE: ${{ github.workspace }}/infisical-cli | |
| CLI_E2E_DEFAULT_RUN_METHOD: subprocess | |
| agent-test: | |
| runs-on: ubuntu-latest | |
| name: Agent End-to-End Testing | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: "1.25.8" | |
| - name: Install dependencies | |
| run: go get . | |
| - name: Build the CLI | |
| run: go build -o infisical-cli | |
| - name: Checkout infisical repo | |
| uses: actions/checkout@v6 | |
| with: | |
| repository: infisical/infisical | |
| path: infisical | |
| - name: Test Certificate Agent | |
| run: go test -v -timeout 30m -count=1 github.com/infisical/cli/e2e-tests/agent | |
| working-directory: ./e2e | |
| env: | |
| INFISICAL_BACKEND_DIR: ${{ github.workspace }}/infisical/backend | |
| INFISICAL_CLI_EXECUTABLE: ${{ github.workspace }}/infisical-cli | |
| CLI_E2E_DEFAULT_RUN_METHOD: subprocess | |
| pam-test: | |
| runs-on: ubuntu-latest | |
| name: PAM End-to-End Testing | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: "1.25.8" | |
| - name: Install dependencies | |
| run: go get . | |
| - name: Build the CLI | |
| run: go build -o infisical-cli | |
| - name: Checkout infisical repo | |
| uses: actions/checkout@v6 | |
| with: | |
| repository: infisical/infisical | |
| path: infisical | |
| - name: Free disk space | |
| run: | | |
| sudo rm -rf /usr/share/dotnet | |
| sudo rm -rf /usr/local/lib/android | |
| sudo rm -rf /opt/ghc | |
| sudo rm -rf /opt/hostedtoolcache/CodeQL | |
| docker system prune -af | |
| df -h | |
| - name: Test PAM Resources | |
| run: go test -v -timeout 30m -count=1 github.com/infisical/cli/e2e-tests/pam | |
| working-directory: ./e2e | |
| env: | |
| INFISICAL_BACKEND_DIR: ${{ github.workspace }}/infisical/backend | |
| INFISICAL_CLI_EXECUTABLE: ${{ github.workspace }}/infisical-cli | |
| CLI_E2E_DEFAULT_RUN_METHOD: subprocess | |