Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore: remove porter configs from CI (#3463)

Steffen Schmitz56bb9c8dcfc5
diff --git a/.github/workflows/porter_stack_web_eu_temp.yml b/.github/workflows/porter_stack_web_eu_temp.yml
deleted file mode 100644
index 9051d38eca..0000000000
--- a/.github/workflows/porter_stack_web_eu_temp.yml
+++ /dev/null
@@ -1,30 +0,0 @@
-"on":
- push:
- branches:
- - production
-name: Deploy to web
-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: Deploy stack
- timeout-minutes: 30
- run: exec porter apply
- env:
- PORTER_CLUSTER: "4060"
- PORTER_DEPLOYMENT_TARGET_ID: 3be075c0-b121-4123-aec1-5dc571626b0c
- 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: web
- PORTER_TAG: ${{ steps.vars.outputs.sha_short }}
- PORTER_TOKEN: ${{ secrets.PORTER_STACK_12565_4060 }}
- PORTER_NEXT_PUBLIC_BUILD_ID: ${{ steps.vars.outputs.sha_short }}
diff --git a/.github/workflows/porter_stack_web_staging.yml b/.github/workflows/porter_stack_web_staging.yml
deleted file mode 100644
index 1a5f9611a4..0000000000
--- a/.github/workflows/porter_stack_web_staging.yml
+++ /dev/null
@@ -1,30 +0,0 @@
-"on":
- push:
- branches:
- - main
-name: Deploy to web (Staging)
-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: Deploy stack
- timeout-minutes: 30
- run: exec porter apply
- env:
- PORTER_CLUSTER: "4037"
- PORTER_DEPLOYMENT_TARGET_ID: c22d8fa2-f97c-4e1f-9cae-83cc6bfbad35
- PORTER_HOST: https://dashboard.getporter.dev
- PORTER_PR_NUMBER: ${{ github.event.number }}
- PORTER_PROJECT: "12565"
- PORTER_REPO_NAME: ${{ github.event.repository.name }}
- PORTER_STACK_NAME: web
- PORTER_TAG: ${{ steps.vars.outputs.sha_short }}
- PORTER_TOKEN: ${{ secrets.PORTER_STACK_12565_4037 }}
- PORTER_NEXT_PUBLIC_BUILD_ID: ${{ steps.vars.outputs.sha_short }}
diff --git a/.github/workflows/porter_stack_web_us_temp.yml b/.github/workflows/porter_stack_web_us_temp.yml
deleted file mode 100644
index 457750c440..0000000000
--- a/.github/workflows/porter_stack_web_us_temp.yml
+++ /dev/null
@@ -1,30 +0,0 @@
-"on":
- push:
- branches:
- - production
-name: Deploy to web (US temp)
-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: Deploy stack
- timeout-minutes: 30
- run: exec porter apply
- env:
- PORTER_CLUSTER: "4054"
- PORTER_DEPLOYMENT_TARGET_ID: cddc0f2a-bb19-401a-9819-29f59f76b101
- 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: web
- PORTER_TAG: ${{ steps.vars.outputs.sha_short }}
- PORTER_TOKEN: ${{ secrets.PORTER_STACK_12565_4054 }}
- PORTER_NEXT_PUBLIC_BUILD_ID: ${{ steps.vars.outputs.sha_short }}
diff --git a/.github/workflows/porter_stack_worker_eu_temp.yml b/.github/workflows/porter_stack_worker_eu_temp.yml
deleted file mode 100644
index 4643c004cb..0000000000
--- a/.github/workflows/porter_stack_worker_eu_temp.yml
+++ /dev/null
@@ -1,29 +0,0 @@
-"on":
- push:
- branches:
- - production
-name: Deploy to worker (EU temp)
-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: Deploy stack
- timeout-minutes: 30
- run: exec porter apply
- env:
- PORTER_CLUSTER: "4060"
- PORTER_DEPLOYMENT_TARGET_ID: 3be075c0-b121-4123-aec1-5dc571626b0c
- 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_4060 }}
diff --git a/.github/workflows/porter_stack_worker_staging.yml b/.github/workflows/porter_stack_worker_staging.yml
deleted file mode 100644
index 9917467ace..0000000000
--- a/.github/workflows/porter_stack_worker_staging.yml
+++ /dev/null
@@ -1,29 +0,0 @@
-"on":
- push:
- branches:
- - main
-name: Deploy to worker (staging)
-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: Deploy stack
- timeout-minutes: 30
- run: exec porter apply
- env:
- PORTER_CLUSTER: "4037"
- PORTER_DEPLOYMENT_TARGET_ID: c22d8fa2-f97c-4e1f-9cae-83cc6bfbad35
- PORTER_HOST: https://dashboard.getporter.dev
- 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 }}
diff --git a/.github/workflows/porter_stack_worker_us_temp.yml b/.github/workflows/porter_stack_worker_us_temp.yml
deleted file mode 100644
index 5674072c48..0000000000
--- a/.github/workflows/porter_stack_worker_us_temp.yml
+++ /dev/null
@@ -1,29 +0,0 @@
-"on":
- push:
- branches:
- - production
-name: Deploy to worker (US temp)
-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: Deploy stack
- timeout-minutes: 30
- run: exec porter apply
- env:
- PORTER_CLUSTER: "4054"
- PORTER_DEPLOYMENT_TARGET_ID: cddc0f2a-bb19-401a-9819-29f59f76b101
- 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_4054 }}
diff --git a/web/Dockerfile b/web/Dockerfile
index 50ab44a8f9..2cb5b012be 100644
--- a/web/Dockerfile
+++ b/web/Dockerfile
@@ -67,11 +67,9 @@ ENV SENTRY_ORG=$SENTRY_ORG
ARG SENTRY_PROJECT
ENV SENTRY_PROJECT=$SENTRY_PROJECT
-
-# Accept build id as NEXT_PUBLIC_BUILD_ID or PORTER_NEXT_PUBLIC_BUILD_ID
-ARG PORTER_NEXT_PUBLIC_BUILD_ID
+# Accept build id as NEXT_PUBLIC_BUILD_ID
ARG NEXT_PUBLIC_BUILD_ID
-ENV NEXT_PUBLIC_BUILD_ID=${PORTER_NEXT_PUBLIC_BUILD_ID:-$NEXT_PUBLIC_BUILD_ID}
+ENV NEXT_PUBLIC_BUILD_ID=$NEXT_PUBLIC_BUILD_ID
# Copy source code of isolated subworkspace
COPY --from=pruner /app/out/full/ .