-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: introduce
autoware-nightly.repos
(#5440)
* add autoware-nightly.repos Signed-off-by: Yutaka Kondo <yutaka.kondo@youtalk.jp> * add health-check-nightly Signed-off-by: Yutaka Kondo <yutaka.kondo@youtalk.jp> * fix inputs Signed-off-by: Yutaka Kondo <yutaka.kondo@youtalk.jp> * rename Signed-off-by: Yutaka Kondo <yutaka.kondo@youtalk.jp> * change chache condition Signed-off-by: Yutaka Kondo <yutaka.kondo@youtalk.jp> * update .repos Signed-off-by: Yutaka Kondo <yutaka.kondo@youtalk.jp> * vcs import with multiple repos files Signed-off-by: Yutaka Kondo <yutaka.kondo@youtalk.jp> * fix conditions Signed-off-by: Yutaka Kondo <yutaka.kondo@youtalk.jp> * refine Signed-off-by: Yutaka Kondo <yutaka.kondo@youtalk.jp> * style(pre-commit): autofix * remove comment Signed-off-by: Yutaka Kondo <yutaka.kondo@youtalk.jp> * wip Signed-off-by: Yutaka Kondo <yutaka.kondo@youtalk.jp> * Revert "wip" This reverts commit 65e89d1. * wip Signed-off-by: Yutaka Kondo <yutaka.kondo@youtalk.jp> * Update action.yaml Co-authored-by: M. Fatih Cırıt <xmfcx@users.noreply.github.com> --------- Signed-off-by: Yutaka Kondo <yutaka.kondo@youtalk.jp> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: M. Fatih Cırıt <xmfcx@users.noreply.github.com>
- Loading branch information
1 parent
39f266a
commit abb6b8d
Showing
3 changed files
with
109 additions
and
4 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
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 |
---|---|---|
@@ -0,0 +1,58 @@ | ||
name: health-check-nightly | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- synchronize | ||
- reopened | ||
- labeled | ||
schedule: | ||
- cron: 0 6 * * * | ||
workflow_dispatch: | ||
|
||
jobs: | ||
label-check: | ||
uses: autowarefoundation/autoware-github-actions/.github/workflows/make-sure-label-is-present.yaml@v1 | ||
with: | ||
label: tag:run-health-check | ||
|
||
load-env: | ||
needs: label-check | ||
if: ${{ needs.label-check.outputs.result == 'true' || | ||
github.event_name == 'schedule' || | ||
github.event_name == 'workflow_dispatch' }} | ||
uses: ./.github/workflows/load-env.yaml | ||
|
||
docker-build-nightly: | ||
needs: load-env | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
fail-fast: false | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set git config | ||
uses: autowarefoundation/autoware-github-actions/set-git-config@v1 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Free disk space | ||
uses: ./.github/actions/free-disk-space | ||
|
||
- name: Build 'Autoware' | ||
uses: ./.github/actions/docker-build | ||
with: | ||
platform: amd64 | ||
cache-tag-suffix: nightly | ||
additional-repos: autoware-nightly.repos | ||
build-args: | | ||
ROS_DISTRO=${{ needs.load-env.outputs.rosdistro }} | ||
BASE_IMAGE=${{ needs.load-env.outputs.base_image }} | ||
LIB_DIR=x86_64 | ||
- name: Show disk space | ||
if: always() | ||
run: | | ||
df -h |
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
repositories: | ||
core/autoware.core: | ||
type: git | ||
url: https://github.com/autowarefoundation/autoware.core.git | ||
version: main | ||
universe/autoware.universe: | ||
type: git | ||
url: https://github.com/autowarefoundation/autoware.universe.git | ||
version: main | ||
launcher/autoware_launch: | ||
type: git | ||
url: https://github.com/autowarefoundation/autoware_launch.git | ||
version: main | ||
sensor_kit/sample_sensor_kit_launch: | ||
type: git | ||
url: https://github.com/autowarefoundation/sample_sensor_kit_launch.git | ||
version: main | ||
sensor_kit/external/awsim_sensor_kit_launch: # TODO: Integrate into sample_sensor_kit_launch | ||
type: git | ||
url: https://github.com/tier4/awsim_sensor_kit_launch.git | ||
version: main | ||
sensor_kit/awsim_labs_sensor_kit_launch: | ||
type: git | ||
url: https://github.com/autowarefoundation/awsim_labs_sensor_kit_launch.git | ||
version: main | ||
sensor_kit/single_lidar_sensor_kit_launch: | ||
type: git | ||
url: https://github.com/autowarefoundation/single_lidar_sensor_kit_launch.git | ||
version: main | ||
vehicle/sample_vehicle_launch: | ||
type: git | ||
url: https://github.com/autowarefoundation/sample_vehicle_launch.git | ||
version: main | ||
vehicle/awsim_labs_vehicle_launch: | ||
type: git | ||
url: https://github.com/autowarefoundation/awsim_labs_vehicle_launch.git | ||
version: main |