feat(tfe): expose private registry submodule details in get_private_module_details
#729
Workflow file for this run
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
| # Copyright (c) HashiCorp, Inc. | |
| # SPDX-License-Identifier: MPL-2.0 | |
| name: Load Test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - release/** | |
| pull_request: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| loadtest: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd | |
| - name: Set up Go | |
| uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e | |
| with: | |
| go-version-file: "go.mod" | |
| - name: Build server | |
| run: go build -o terraform-mcp-server ./cmd/terraform-mcp-server | |
| - name: Build loadtest | |
| run: go build -o loadtest ./cmd/loadtest | |
| - name: Start server | |
| run: | | |
| ./terraform-mcp-server http -p 8080 & | |
| sleep 3 | |
| curl -sf http://localhost:8080/health || exit 1 | |
| - name: Run load test | |
| env: | |
| TFE_TOKEN: ${{ secrets.TFE_TOKEN }} | |
| run: | | |
| ./loadtest -workers=2 -qps=2 -duration=30s http://localhost:8080/mcp |