Skip to content

ci(preview): delete the preview environment on teardown - #1144

Merged
edenreich merged 1 commit into
mainfrom
ci/delete-preview-environments
Nov 8, 2026
Merged

edenreich merged 1 commit into
mainfrom
ci/delete-preview-environments

Conversation

@edenreich

Copy link
Copy Markdown
Contributor

Summary

The preview teardown job deleted the deployments inside preview-pr-N but never the environment itself, so every closed PR left an empty environment behind.

This adds a step that deletes the environment with the releaser app token.

Notes

  • Deleting an environment needs the Administration: write repository permission. The Environments permission only covers environment secrets and variables (it was tested and returns 403).
  • The inference-gateway-releaser app has been granted Administration: write and the installation accepted it. A manual delete of preview-pr-1003 with an installation token succeeded.
  • The stale preview-pr-* environments from earlier PRs were removed by hand.

@edenreich
edenreich requested a review from a team as a code owner November 8, 2026 20:47
@inference-gateway-releaser

inference-gateway-releaser Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

🗑️ Preview environment destroyed.

@edenreich
edenreich merged commit eb3e47c into main Nov 8, 2026
1 check passed
@edenreich
edenreich deleted the ci/delete-preview-environments branch November 8, 2026 20:50
inference-gateway-releaser Bot added a commit that referenced this pull request Nov 10, 2026
## [0.9.25](0.9.24...0.9.25) (2026-11-10)

### 👷 CI

* **preview:** delete the preview environment on teardown ([#1144](#1144)) ([eb3e47c](eb3e47c))

### 📚 Documentation

* **adk:** opt-in s3 artifact storage subpackage ([#1160](#1160)) ([0e09209](0e09209))
* **adk:** redis storage and mcp client are opt-in ([#1161](#1161)) ([9c7329a](9c7329a))
* **cli:** computer image locale and display env ([#1168](#1168)) ([44ca97b](44ca97b))
* **cli:** kubernetes workspaces give pods mcp servers ([#1148](#1148)) ([67cecc5](67cecc5))
* **cli:** pointer press and release during a take-over ([#1174](#1174)) ([7f35a34](7f35a34))
* **cli:** workspace mcp servers forward filters and timeout ([#1154](#1154)) ([1ff4da4](1ff4da4))
* computer image and cloud-init user-data ([#1156](#1156)) ([32cd3f0](32cd3f0))
* **desktop:** dragging during a take-over ([#1176](#1176)) ([f8c4f41](f8c4f41))
* **desktop:** look into a background shell ([#1165](#1165)) ([750f1dd](750f1dd))
* **desktop:** pointer movement during a take-over ([#1173](#1173)) ([bdf68b2](bdf68b2))
* **desktop:** tool images render as thumbnails ([#1166](#1166)) ([bae4b03](bae4b03))
* **desktop:** turn elapsed time counter and time stat ([#1164](#1164)) ([ba41359](ba41359))
* **operator:** mcp health polling via spec.mcp.healthCheck ([#1150](#1150)) ([30510b9](30510b9))
* **operator:** orchestrator hosted mcp servers ([#1147](#1147)) ([163586e](163586e))
* **operator:** orchestrator mcp tool filters and timeout ([#1153](#1153)) ([7a2716a](7a2716a))
* screen capture pace during a take-over ([#1170](#1170)) ([ceffe4d](ceffe4d))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.9.25 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@inference-gateway-releaser inference-gateway-releaser Bot added the released Shipped in a release label Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Shipped in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant