-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1c092a9
commit fe39734
Showing
2 changed files
with
14 additions
and
32 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -37,29 +37,9 @@ jobs: | |
- name: Run unit tests | ||
run: echo "Unit tests for panther_ros are not fully implemented yet -> SKIPPING!" | ||
|
||
create_branches: | ||
name: Create branches | ||
runs-on: ubuntu-22.04 | ||
needs: | ||
- unit_tests | ||
strategy: | ||
matrix: | ||
repo: [panther_ros, panther-rpi-os-img] | ||
steps: | ||
- name: Create release candidate branch | ||
uses: GuillaumeFalourd/[email protected] | ||
with: | ||
repository_owner: husarion | ||
repository_name: ${{ matrix.repo }} | ||
new_branch_name: ${{ env.RC_BRANCH_NAME }} | ||
new_branch_ref: ros2-devel | ||
access_token: ${{ secrets.RAFAL_ACCESS_TOKEN}} | ||
|
||
update_tags_in_compose: | ||
name: Update tags in compose | ||
docker: | ||
name: Docker | ||
runs-on: ubuntu-22.04 | ||
needs: | ||
- create_branches | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
@@ -79,24 +59,26 @@ jobs: | |
message: Update tags in compose files | ||
author_name: action-bot | ||
author_email: [email protected] | ||
new_branch: ${{ env.RC_BRANCH_NAME }} | ||
|
||
docker: | ||
name: Docker | ||
runs-on: ubuntu-22.04 | ||
needs: | ||
- update_tags_in_compose | ||
steps: | ||
- name: Build Docker | ||
uses: ./.github/workflows/build-docker.yml | ||
with: | ||
build_type: development | ||
|
||
os_image: | ||
name: OS image | ||
needs: | ||
- update_tags_in_compose | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Create new branch | ||
uses: GuillaumeFalourd/[email protected] | ||
with: | ||
repository_owner: husarion | ||
repository_name: panther-rpi-os-img | ||
new_branch_name: ${{ env.RC_BRANCH_NAME }} | ||
new_branch_ref: ros2-devel | ||
access_token: ${{ secrets.RAFAL_ACCESS_TOKEN}} | ||
|
||
- name: Build OS image | ||
uses: convictional/[email protected] | ||
with: | ||
|
@@ -108,7 +90,7 @@ jobs: | |
client_payload: | | ||
{ | ||
"dev_image": "true", | ||
"panther_codebase_version": "${{ env.RC_BRANCH_NAME }}", | ||
"husarion_ugv_version": "${{ env.RC_BRANCH_NAME }}", | ||
"image_tag": "${{ github.event.inputs.version }}" | ||
} | ||
|
This file contains 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