Update demo infrastructure dependencies #74
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
| name: Demo Environment Build | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| test-build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 | |
| - name: Install Helm | |
| uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4.3.1 | |
| - name: Create Kind cluster | |
| uses: helm/kind-action@92086f6be054225fa813e0a4b13787fc9088faab # v1.13.0 | |
| with: | |
| config: kind-config.yaml | |
| cluster_name: toolhive-demo-in-a-box | |
| cloud_provider: true | |
| - name: Verify cluster is running | |
| run: | | |
| kubectl cluster-info | |
| kubectl get nodes | |
| - name: Install ToolHive CLI | |
| uses: StacklokLabs/toolhive-actions/install@6a095f99aa2fd6cd92cf0bb94bdf509b99820c06 # v0 | |
| - name: Install envsubst | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y gettext-base | |
| - name: Run bootstrap script | |
| run: | | |
| chmod +x bootstrap.sh | |
| ./bootstrap.sh | |
| env: | |
| # Enable debug mode for better CI logging | |
| DEBUG: "1" | |
| - name: Run validation script | |
| run: | | |
| chmod +x validate.sh | |
| ./validate.sh |