Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rafal-gorecki committed Dec 13, 2024
1 parent 1c092a9 commit fe39734
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 32 deletions.
44 changes: 13 additions & 31 deletions .github/workflows/release-candidate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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 }}"
}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
client_payload: |
{
"dev_image": "false",
"panther_codebase_version": "${{ github.event.inputs.version }}",
"husarion_ugv_version": "${{ github.event.inputs.version }}",
"image_tag": "${{ github.event.inputs.version }}"
}
Expand Down

0 comments on commit fe39734

Please sign in to comment.