Skip to content

Commit

Permalink
Jazzy as latest (#1020)
Browse files Browse the repository at this point in the history
* Jazzy as latest

Signed-off-by: Aaron Chong <[email protected]>

* Fix yaml

Signed-off-by: Aaron Chong <[email protected]>

* Update docs

Signed-off-by: Aaron Chong <[email protected]>

* Use formatting for api-server image tag

Signed-off-by: Aaron Chong <[email protected]>

* Revert nightly push

Signed-off-by: Aaron Chong <[email protected]>

* Using nightly

Signed-off-by: Aaron Chong <[email protected]>

* Revert schedule

Signed-off-by: Aaron Chong <[email protected]>

---------

Signed-off-by: Aaron Chong <[email protected]>
Signed-off-by: Aaron Chong <[email protected]>
  • Loading branch information
aaronchongth authored Nov 7, 2024
1 parent 9a3e725 commit 40eb156
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
push: true
build-args: |
ROS_DISTRO=${{ matrix.ros_distribution }}
tags: ghcr.io/${{ github.repository }}/minimal-rmf:${{ matrix.ros_distribution }}
tags: ghcr.io/${{ github.repository }}/minimal-rmf:${{ matrix.ros_distribution }}-nightly
context: .github/minimal-rmf
build-dashboard-image:
needs: build-minimal-rmf-docker-images
Expand Down Expand Up @@ -76,8 +76,10 @@ jobs:
push: true
build-args: |
ROS_DISTRO=${{ matrix.ros_distribution }}
BASE_IMAGE=ghcr.io/${{ github.repository }}/minimal-rmf:${{ matrix.ros_distribution }}
tags: ghcr.io/${{ github.repository }}/api-server:${{ matrix.ros_distribution }}
BASE_IMAGE=ghcr.io/${{ github.repository }}/minimal-rmf:${{ matrix.ros_distribution }}-nightly
tags: |
ghcr.io/${{ github.repository }}/api-server:${{ matrix.ros_distribution }}-nightly
${{ matrix.ros_distribution == 'jazzy' && format('ghcr.io/{0}/api-server:latest', github.repository) || null}}
context: .github/api-server
# dashboard-e2e:
# strategy:
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,17 @@ docker run \
> **Note**
> The demo dashboard assumes that the api server is hosted locally on the default ports.
Start the API server with host network access, and set up the correct `ROS_DOMAIN_ID` and ROS 2 RMW implementation that will be used in the rest of the Open-RMF system. The API server will use the default port at `localhost:8000`.
Start the API server with host network access, and set up the correct `ROS_DOMAIN_ID` and ROS 2 RMW implementation (The images currently have `rmw_fastrtps_cpp` and `rmw_cyclonedds_cpp` installed and supported) that will be used in the rest of the Open-RMF system. The API server will use the default port at `localhost:8000`.

```bash
docker run \
--network host -it --rm \
-e ROS_DOMAIN_ID=<ROS_DOMAIN_ID> \
-e RMW_IMPLEMENTATION=<RMW_IMPLEMENTATION> \
ghcr.io/open-rmf/rmf-web/api-server:jazzy
ghcr.io/open-rmf/rmf-web/api-server:latest

# For ROS 2 Rolling, use ghcr.io/open-rmf/rmf-web/api-server:rolling
# The latest tag would be the same as jazzy
# For ROS 2 Rolling, use ghcr.io/open-rmf/rmf-web/api-server:rolling-nightly
```

> **Note**
Expand Down

0 comments on commit 40eb156

Please sign in to comment.