🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
infra: add staging preview deployments (#2449)
porter-deployment-app[bot]bdfc51ca72cb
diff --git a/.github/workflows/porter_preview_web.yml b/.github/workflows/porter_preview_web.ymlnew file mode 100644index 0000000000..6b39b6826c--- /dev/null+++ b/.github/workflows/porter_preview_web.yml@@ -0,0 +1,35 @@+"on":+ pull_request:+ branches:+ - main+ types:+ - opened+ - synchronize+ paths:+ - '**'+ - '!.github/workflows/porter_**'++name: Deploy to Preview Environment+jobs:+ porter-deploy:+ runs-on: ubuntu-latest+ steps:+ - name: Checkout code+ uses: actions/checkout@v3+ - name: Set Github tag+ id: vars+ run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT+ - name: Setup porter+ uses: porter-dev/[email protected]+ - name: Build and deploy preview environment+ timeout-minutes: 30+ run: exec porter apply -f ./porter.yaml --preview+ env:+ PORTER_CLUSTER: 4037+ PORTER_HOST: https://dashboard.porter.run+ PORTER_PROJECT: 12565+ PORTER_STACK_NAME: web+ PORTER_TAG: ${{ steps.vars.outputs.sha_short }}+ PORTER_TOKEN: ${{ secrets.PORTER_STACK_12565_4037 }}+ PORTER_PR_NUMBER: ${{ github.event.number }}+ PORTER_REPO_NAME: ${{ github.event.repository.name }}\ No newline at end of filediff --git a/.github/workflows/porter_preview_worker.yml b/.github/workflows/porter_preview_worker.ymlnew file mode 100644index 0000000000..1ea3fa9254--- /dev/null+++ b/.github/workflows/porter_preview_worker.yml@@ -0,0 +1,34 @@+"on":+ pull_request:+ branches:+ - main+ types:+ - opened+ - synchronize+ paths:+ - '**'+ - '!.github/workflows/porter_**'+name: Deploy to Preview Environment+jobs:+ porter-deploy:+ runs-on: ubuntu-latest+ steps:+ - name: Checkout code+ uses: actions/checkout@v3+ - name: Set Github tag+ id: vars+ run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT+ - name: Setup porter+ uses: porter-dev/[email protected]+ - name: Build and deploy preview environment+ timeout-minutes: 30+ run: exec porter apply -f ./porter.yaml --preview+ env:+ PORTER_CLUSTER: "4037"+ PORTER_HOST: https://dashboard.porter.run+ PORTER_PR_NUMBER: ${{ github.event.number }}+ PORTER_PROJECT: "12565"+ PORTER_REPO_NAME: ${{ github.event.repository.name }}+ PORTER_STACK_NAME: worker+ PORTER_TAG: ${{ steps.vars.outputs.sha_short }}+ PORTER_TOKEN: ${{ secrets.PORTER_STACK_12565_4037 }}