release: drop release-please and stale crate references from CI
commit
5d21d7arelease: drop release-please and stale crate references from CI
No crates exist yet after the redo, so the CI wiring that assumed crates/git-ents* already existed is out of date. Remove the crates/* path filters and stub the deploy-server job until crates/git-ents-server returns, fix the check-tag regex (stale git-vendor-v to git-ents-v), flag the fly.toml Dockerfile path as stale, and drop release-please entirely (Version.yml plus its config) since there’s nothing to version yet.
Assisted-by: Claude:claude-sonnet-5
Reviews
No reviews of this commit yet — record a verdict below.
Start a review
.config/fly.toml
@@ -7,6 +7,7 @@
primary_region = 'iad'
[build]
+ # crates/git-ents-server doesn't exist yet post-redo; path is stale until it's rebuilt
dockerfile = "../crates/git-ents-server/Dockerfile"
[env]
.github/workflows/CD.yml
@@ -5,16 +5,6 @@
branches:
- main
paths:
- - "crates/git-ents/**"
- - "crates/git-ents-server/**"
- - "crates/git-ents-core/**"
- - "crates/git-anchor/**"
- - "crates/git-comment/**"
- - "crates/git-effect/**"
- - "crates/git-member/**"
- - "crates/git-signed-push/**"
- - "crates/git-store/**"
- - "crates/git-toolchain/**"
- ".config/fly.toml"
- "Cargo.toml"
- "Cargo.lock"
@@ -47,7 +37,7 @@
if: github.event_name == 'release'
run: |
TAG="${{ github.event.release.tag_name }}"
- if [[ "$TAG" =~ ^git-vendor-v[0-9]+\.[0-9]+\.[0-9]+(-.*)?$ ]]; then
+ if [[ "$TAG" =~ ^git-ents-v[0-9]+\.[0-9]+\.[0-9]+(-.*)?$ ]]; then
echo "match=true" >> "$GITHUB_OUTPUT"
else
echo "match=false" >> "$GITHUB_OUTPUT"
@@ -96,9 +86,5 @@
group: deploy-server
cancel-in-progress: true
steps:
- - uses: actions/checkout@v4
- - uses: superfly/flyctl-actions/setup-flyctl@master
- - name: Deploy to Fly.io
- env:
- FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
- run: flyctl deploy -c .config/fly.toml -a git-ents-server --remote-only
+ - name: Stub - no server crate yet
+ run: echo "Deploy is a stub until crates/git-ents-server exists."
.config/release-please-config.json
@@ -1,19 +1,0 @@
-{
- "pull-request-header": "Release Notes",
- "changelog-path": "CHANGELOG.md",
- "draft": false,
- "include-component-in-tag": true,
- "include-v-in-tag": true,
- "release-type": "rust",
- "initial-version": "0.0.1",
- "draft-pull-request": true,
- "separate-pull-requests": false,
- "pull-request-title-pattern": "chore: release `main`",
- "pull-request-footer": "This release was generated with [Release Please](https://github.com/googleapis/release-please).",
- "packages": {
- "crates/git-ents": {},
- "crates/git-ents-server": {}
- },
- "plugins": [{ "type": "sentence-case" }, { "type": "cargo-workspace" }],
- "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
-}
.config/release-please-manifest.json
@@ -1,4 +1,0 @@
-{
- "crates/git-ents": "0.0.0",
- "crates/git-ents-server": "0.0.0"
-}
.github/workflows/Version.yml
@@ -1,31 +1,0 @@
-on:
- push:
- branches:
- - main
- workflow_dispatch:
-
-permissions:
- contents: write
- pull-requests: write
-
-name: Version
-
-jobs:
- release-please:
- name: Trigger release pull-request
- runs-on: ubuntu-latest
- if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
- outputs:
- pr: ${{ steps.release.outputs.pr }}
- steps:
- - uses: actions/create-github-app-token@v1
- id: app-token
- with:
- app-id: ${{ secrets.DEV_BOT_APP_ID }}
- private-key: ${{ secrets.DEV_BOT_KEY }}
- - uses: googleapis/release-please-action@v4
- id: release
- with:
- token: ${{ steps.app-token.outputs.token }}
- config-file: .config/release-please-config.json
- manifest-file: .config/release-please-manifest.json