Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-release-agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
config-file: release-please-config.json
manifest-file: .release-please-manifest.json
config-file: agent-release-config.json
manifest-file: .agent-release-manifest.json
- name: Print release outputs for debugging
continue-on-error: true
env:
Expand Down
19 changes: 12 additions & 7 deletions .github/workflows/build-and-release-connect-app.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Connect - Build aarch64
name: Build and Release Connect App
on:
push:
branches:
Expand All @@ -24,15 +24,15 @@ jobs:
release_please:
runs-on: ubuntu-latest
outputs:
tag_name: ${{ steps.release.outputs.tag_name }}
tag_name: ${{ steps.release.outputs['client/app--tag_name'] }}
release_created: ${{ steps.release.outputs.releases_created }}
steps:
- uses: googleapis/release-please-action@v4
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
config-file: client/release-please-config.json
manifest-file: client/.release-please-manifest.json
config-file: client/app/connect-app-release-config.json
manifest-file: client/app/.connect-app-release-manifest.json
- name: Print release outputs for debugging
continue-on-error: true
env:
Expand All @@ -42,21 +42,21 @@ jobs:
echo "release created: $release_created"

build:
name: Mecha connect app build
name: ${{ matrix.name }}
needs: release_please
if: ${{ needs.release_please.outputs.release_created == 'true' }}
strategy:
fail-fast: true
matrix:
include:
- name: Mecha Connect App
- name: Mecha Connect App (arm64)
package: mecha-connect
artifact: mecha-connect-aarch64-unknown-linux-gnu.tar.gz
path: ./client/app
runs_on: ubicloud-standard-2-arm
arch: arm64

- name: Mecha Connect App
- name: Mecha Connect App (amd64)
package: mecha-connect
artifact: mecha-connect-x86_64-unknown-linux-gnu.tar.gz
path: ./client/app
Expand All @@ -69,6 +69,10 @@ jobs:
- name: Setup | Checkout
uses: actions/checkout@v4

- name: Print all release outputs
run: |
echo "Release outputs: ${{ toJson(needs.release_please.outputs) }}"

- name: install dependencies (ubuntu only)
run: |
sudo apt-get update
Expand Down Expand Up @@ -151,6 +155,7 @@ jobs:
"Architectures": ["arm64", "amd64"],
"Signing": {"Skip": true}
}' ${{ env.MECHANIX_APTLY_SERVER_ENDPOINT }}/api/publish/s3:${{env.MECHANIX_APTLY_S3_PUBLISH_ENDPOINT}}:/${{ env.MECHANIX_APTLY_DEB_REPOSITORY_DISTRO }}

- name: Prepare artifacts [${{ matrix.package }}]
run: |
mkdir build
Expand Down
File renamed without changes.
3 changes: 0 additions & 3 deletions client/.release-please-manifest.json

This file was deleted.

3 changes: 3 additions & 0 deletions client/app/.connect-app-release-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"client/app": "0.1.0"
}
14 changes: 14 additions & 0 deletions client/app/connect-app-release-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"include-component-in-tag": true,
"include-v-in-tag": true,
"tag-separator": "@",
"separate-pull-requests": true,
"packages": {
"client/app": {
"release-type": "rust",
"changelog-path": "client/app/CHANGELOG.md"
}
},
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
}

15 changes: 0 additions & 15 deletions client/release-please-config.json

This file was deleted.