-
Notifications
You must be signed in to change notification settings - Fork 3
Release v0.3.59 #255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Release v0.3.59 #255
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
92d3e84
feat(TOW-1415): Claude Code plugin with bundled MCP server and skill …
socksy 49f0d52
feat: multi-environment support for tower deploy (#248)
bradhe 46474f5
chore: Docs bug from CodeRabbit
bradhe 922ed26
chore: regenerate SKILL.md (#256)
github-actions[bot] 315e186
Bump version to v0.3.59
bradhe 4535c10
refactor(tower-package): extract pure core crate for bundle building …
socksy 21e3b20
feat: publish multi-arch Docker image on release (#254)
socksy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| { | ||
| "name": "tower", | ||
| "description": "Tower compute platform — run and deploy Python apps, pipelines, and AI agents", | ||
| "version": "1.0.0", | ||
| "author": { | ||
| "name": "Tower", | ||
| "url": "https://tower.dev" | ||
| }, | ||
| "homepage": "https://tower.dev/docs", | ||
| "repository": "https://github.com/tower/tower-cli", | ||
| "license": "MIT" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| language: en-US | ||
| reviews: | ||
| base_branches: | ||
| - develop | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| # Publish a release Docker image to GHCR. | ||
| # | ||
| # Assumed to run as a subworkflow of .github/workflows/release.yml; specifically, as a publish job | ||
| # within `cargo-dist`. Runs after `host`, so the GitHub Release and its binary artifacts exist; | ||
| # the Dockerfile fetches the prebuilt musl binary from the release at image-build time. | ||
|
|
||
| name: "[tower] Publish Docker image" | ||
|
|
||
| on: | ||
| workflow_call: | ||
| inputs: | ||
| plan: | ||
| required: true | ||
| type: string | ||
|
|
||
| jobs: | ||
| docker-publish: | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: read | ||
| packages: write | ||
| steps: | ||
| - uses: actions/checkout@v6 | ||
| - uses: docker/setup-buildx-action@v3 | ||
| - uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: ${{ github.actor }} | ||
| password: ${{ secrets.GITHUB_TOKEN }} | ||
| - name: Build and push | ||
| env: | ||
| TAG: ${{ fromJson(inputs.plan).announcement_tag }} | ||
| PRERELEASE: ${{ fromJson(inputs.plan).announcement_is_prerelease }} | ||
| run: | | ||
| VERSION="${TAG#v}" | ||
| TAGS=(--tag "ghcr.io/tower/tower-cli:$VERSION") | ||
| if [ "$PRERELEASE" != "true" ]; then | ||
| TAGS+=(--tag "ghcr.io/tower/tower-cli:latest") | ||
| fi | ||
| docker buildx build \ | ||
| --platform linux/amd64,linux/arm64 \ | ||
| --build-arg VERSION="$VERSION" \ | ||
| "${TAGS[@]}" \ | ||
| --push . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| # Publish tower-package-wasm to npm. | ||
| # Uses OIDC Trusted Publishing — no NPM_TOKEN needed, but the package must have a trusted publisher | ||
| # configured on npmjs.com matching this repo, this workflow file, and the `release` environment. | ||
| name: "[tower] Publish to npm" | ||
|
|
||
| on: | ||
| workflow_call: | ||
| inputs: | ||
| plan: | ||
| required: true | ||
| type: string | ||
|
|
||
| jobs: | ||
| npm-publish: | ||
| name: Upload to npm | ||
| runs-on: ubuntu-latest | ||
| environment: | ||
| name: release | ||
| permissions: | ||
| contents: read | ||
| id-token: write | ||
| steps: | ||
| - uses: actions/checkout@v6 | ||
|
|
||
| - name: Set up Rust | ||
| uses: actions-rust-lang/setup-rust-toolchain@v1.11.0 | ||
| with: | ||
| target: wasm32-unknown-unknown | ||
|
|
||
| - name: Install wasm-pack | ||
| uses: jetli/wasm-pack-action@v0.4.0 | ||
|
|
||
| - name: Set up Node | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: 22 | ||
| registry-url: 'https://registry.npmjs.org' | ||
|
|
||
| - name: Upgrade npm for Trusted Publishing | ||
| run: npm install -g npm@latest | ||
|
|
||
| - name: Build wasm package | ||
| working-directory: crates/tower-package | ||
| run: ./scripts/build.sh bundler | ||
|
|
||
| - name: Publish to npm | ||
| working-directory: crates/tower-package/pkg | ||
| run: npm publish --access public --provenance |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| name: Regenerate SKILL.md | ||
|
|
||
| on: | ||
| push: | ||
| branches: [develop] | ||
| paths: | ||
| - 'crates/tower-cmd/**' | ||
| - 'crates/tower/**' | ||
| - 'skills/tower/SKILL.md' | ||
| - '.github/workflows/regenerate-skill.yml' | ||
|
|
||
| concurrency: | ||
| group: regenerate-skill | ||
| cancel-in-progress: false | ||
|
|
||
| jobs: | ||
| regenerate: | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: write | ||
| pull-requests: write | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v6 | ||
|
|
||
| - name: Set up Rust | ||
| run: rustup show | ||
|
|
||
| - name: Cache Rust | ||
| uses: Swatinem/rust-cache@v2 | ||
|
|
||
| - name: Regenerate SKILL.md | ||
| run: cargo run --quiet --bin tower -- skill generate > skills/tower/SKILL.md | ||
|
|
||
| - name: Open PR if SKILL.md changed | ||
| uses: peter-evans/create-pull-request@v7 | ||
| with: | ||
| commit-message: "chore: regenerate SKILL.md" | ||
| title: "chore: regenerate SKILL.md" | ||
| body: | | ||
| `tower skill generate` output has drifted from the checked-in `skills/tower/SKILL.md`. | ||
|
|
||
| This PR was opened automatically by the `Regenerate SKILL.md` workflow after a merge to `develop`. | ||
| branch: chore/regenerate-skill | ||
| base: develop | ||
| delete-branch: true | ||
| add-paths: skills/tower/SKILL.md |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| name: "[tower] Test wasm" | ||
|
|
||
| on: | ||
| pull_request: | ||
| paths: | ||
| - 'crates/tower-package/**' | ||
| - '.github/workflows/test-wasm.yml' | ||
| - 'Cargo.toml' | ||
| - 'Cargo.lock' | ||
|
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| env: | ||
| RUST_BACKTRACE: 1 | ||
|
|
||
| jobs: | ||
| test: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v6 | ||
|
|
||
| - name: Set up Rust | ||
| uses: actions-rust-lang/setup-rust-toolchain@v1.11.0 | ||
| with: | ||
| target: wasm32-unknown-unknown | ||
|
|
||
| - name: Cache Rust | ||
| uses: Swatinem/rust-cache@v2 | ||
| with: | ||
| save-if: ${{ github.ref_name == 'main' }} | ||
|
|
||
| - name: Install wasm-pack | ||
| uses: jetli/wasm-pack-action@v0.4.0 | ||
|
|
||
| - name: Build wasm package | ||
| working-directory: crates/tower-package | ||
| run: ./scripts/build.sh nodejs | ||
|
|
||
| - name: Set up Node | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: 20 | ||
|
|
||
| - name: Install test deps | ||
| working-directory: crates/tower-package/test | ||
| run: npm install | ||
|
|
||
| - name: Run tests | ||
| working-directory: crates/tower-package/test | ||
| run: npm test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| { | ||
| "mcpServers": { | ||
| "tower": { | ||
| "command": "uvx", | ||
| "args": ["tower", "mcp-server"] | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.