π OpenHands: AI-Driven Development
Remove enterprise-preview job and workflow (#12350)
Ray Myers32ab2a24c622
diff --git a/.github/workflows/enterprise-preview.yml b/.github/workflows/enterprise-preview.ymldeleted file mode 100644index ac9f81c3b9..0000000000--- a/.github/workflows/enterprise-preview.yml+++ /dev/null@@ -1,29 +0,0 @@-# Feature branch preview for enterprise code-name: Enterprise Preview--# Run on PRs labeled-on:- pull_request:- types: [labeled]--# Match ghcr-build.yml, but don't interrupt it.-concurrency:- group: ${{ github.workflow }}-${{ (github.head_ref && github.ref) || github.run_id }}- cancel-in-progress: false--jobs:- # This must happen for the PR Docker workflow when the label is present,- # and also if it's added after the fact. Thus, it exists in both places.- enterprise-preview:- name: Enterprise preview- if: github.event.label.name == 'deploy'- runs-on: blacksmith-4vcpu-ubuntu-2204- steps:- # This should match the version in ghcr-build.yml- - name: Trigger remote job- run: |- curl --fail-with-body -sS -X POST \- -H "Authorization: Bearer ${{ secrets.ALLHANDS_BOT_GITHUB_PAT }}" \- -H "Accept: application/vnd.github+json" \- -d "{\"ref\": \"main\", \"inputs\": {\"openhandsPrNumber\": \"${{ github.event.pull_request.number }}\", \"deployEnvironment\": \"feature\", \"enterpriseImageTag\": \"pr-${{ github.event.pull_request.number }}\" }}" \- https://api.github.com/repos/OpenHands/deploy/actions/workflows/deploy.yaml/dispatchesdiff --git a/.github/workflows/ghcr-build.yml b/.github/workflows/ghcr-build.ymlindex 7e4e121cb6..86ba722cec 100644--- a/.github/workflows/ghcr-build.yml+++ b/.github/workflows/ghcr-build.yml@@ -240,21 +240,6 @@ jobs:# Add build attestations for better securitysbom: true- enterprise-preview:- name: Enterprise preview- if: github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'deploy')- runs-on: blacksmith-4vcpu-ubuntu-2204- needs: [ghcr_build_enterprise]- steps:- # This should match the version in enterprise-preview.yml- - name: Trigger remote job- run: |- curl --fail-with-body -sS -X POST \- -H "Authorization: Bearer ${{ secrets.ALLHANDS_BOT_GITHUB_PAT }}" \- -H "Accept: application/vnd.github+json" \- -d "{\"ref\": \"main\", \"inputs\": {\"openhandsPrNumber\": \"${{ github.event.pull_request.number }}\", \"deployEnvironment\": \"feature\", \"enterpriseImageTag\": \"pr-${{ github.event.pull_request.number }}\" }}" \- https://api.github.com/repos/OpenHands/deploy/actions/workflows/deploy.yaml/dispatches-# "All Runtime Tests Passed" is a required job for PRs to merge# We can remove this once the config changesruntime_tests_check_success: