2020-06-23 12:51:07 -03:00
|
|
|
name: Metadata
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2022-09-07 01:09:44 -03:00
|
|
|
- 'main'
|
2021-03-22 07:58:22 -03:00
|
|
|
- 'release/*'
|
|
|
|
- 'pr-metadata-test'
|
2020-06-23 12:51:07 -03:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
|
|
|
airframe:
|
|
|
|
runs-on: ubuntu-latest
|
2021-09-08 09:03:50 -03:00
|
|
|
container: px4io/px4-dev-base-focal:2021-09-08
|
2020-06-23 12:51:07 -03:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
with:
|
|
|
|
token: ${{ secrets.ACCESS_TOKEN }}
|
|
|
|
|
|
|
|
- name: airframe metadata
|
|
|
|
run: |
|
|
|
|
make airframe_metadata
|
2021-04-29 05:06:35 -03:00
|
|
|
./src/lib/version/get_git_tag_or_branch_version.sh build/px4_sitl_default >> $GITHUB_ENV
|
2021-07-08 14:11:53 -03:00
|
|
|
cd build/px4_sitl_default/docs
|
2021-04-29 05:06:35 -03:00
|
|
|
# TODO: deploy to userguide gitbook
|
|
|
|
|
|
|
|
- uses: jakejarvis/s3-sync-action@master
|
|
|
|
with:
|
|
|
|
args: --acl public-read
|
|
|
|
env:
|
|
|
|
AWS_S3_BUCKET: 'px4-travis'
|
|
|
|
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
|
|
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
|
|
|
AWS_REGION: 'us-west-1'
|
|
|
|
SOURCE_DIR: 'build/px4_sitl_default/docs/'
|
|
|
|
DEST_DIR: 'Firmware/${{ env.version }}/_general/'
|
2020-06-23 12:51:07 -03:00
|
|
|
|
|
|
|
module:
|
|
|
|
runs-on: ubuntu-latest
|
2021-09-08 09:03:50 -03:00
|
|
|
container: px4io/px4-dev-base-focal:2021-09-08
|
2020-06-23 12:51:07 -03:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
with:
|
|
|
|
token: ${{ secrets.ACCESS_TOKEN }}
|
|
|
|
|
|
|
|
- name: module documentation
|
|
|
|
run: |
|
|
|
|
make module_documentation
|
|
|
|
cd build/px4_sitl_default/docs
|
|
|
|
ls -ls *
|
2021-01-20 04:02:50 -04:00
|
|
|
# TODO: deploy to userguide gitbook and s3
|
2020-06-23 12:51:07 -03:00
|
|
|
|
|
|
|
parameter:
|
|
|
|
runs-on: ubuntu-latest
|
2021-09-08 09:03:50 -03:00
|
|
|
container: px4io/px4-dev-base-focal:2021-09-08
|
2020-06-23 12:51:07 -03:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
with:
|
|
|
|
token: ${{ secrets.ACCESS_TOKEN }}
|
|
|
|
|
|
|
|
- name: parameter metadata
|
|
|
|
run: |
|
|
|
|
make parameters_metadata
|
2021-03-22 07:58:22 -03:00
|
|
|
./src/lib/version/get_git_tag_or_branch_version.sh build/px4_sitl_default >> $GITHUB_ENV
|
|
|
|
|
|
|
|
- uses: jakejarvis/s3-sync-action@master
|
|
|
|
with:
|
|
|
|
args: --acl public-read
|
|
|
|
env:
|
|
|
|
AWS_S3_BUCKET: 'px4-travis'
|
|
|
|
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
|
|
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
|
|
|
AWS_REGION: 'us-west-1'
|
|
|
|
SOURCE_DIR: 'build/px4_sitl_default/docs/'
|
|
|
|
DEST_DIR: 'Firmware/${{ env.version }}/_general/'
|
2020-06-23 12:51:07 -03:00
|
|
|
|
2021-04-16 09:32:53 -03:00
|
|
|
events:
|
|
|
|
runs-on: ubuntu-latest
|
2021-09-08 09:03:50 -03:00
|
|
|
container: px4io/px4-dev-base-focal:2021-09-08
|
2021-04-16 09:32:53 -03:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
with:
|
|
|
|
token: ${{ secrets.ACCESS_TOKEN }}
|
|
|
|
|
|
|
|
- name: events metadata
|
|
|
|
run: |
|
|
|
|
make extract_events
|
|
|
|
./src/lib/version/get_git_tag_or_branch_version.sh build/px4_sitl_default >> $GITHUB_ENV
|
|
|
|
cd build/px4_sitl_default
|
|
|
|
mkdir _events_full || true
|
|
|
|
cp events/all_events_full.json.xz _events_full/all_events.json.xz
|
|
|
|
|
|
|
|
- uses: jakejarvis/s3-sync-action@master
|
|
|
|
with:
|
|
|
|
args: --acl public-read
|
|
|
|
env:
|
|
|
|
AWS_S3_BUCKET: 'px4-travis'
|
|
|
|
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
|
|
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
|
|
|
AWS_REGION: 'us-west-1'
|
|
|
|
SOURCE_DIR: 'build/px4_sitl_default/_events_full/'
|
|
|
|
DEST_DIR: 'Firmware/${{ env.version }}/_general/'
|
|
|
|
|
2020-06-23 12:51:07 -03:00
|
|
|
uorb_graph:
|
|
|
|
runs-on: ubuntu-latest
|
2023-07-18 14:26:38 -03:00
|
|
|
container: px4io/px4-dev-nuttx-focal:2022-08-12
|
2020-06-23 12:51:07 -03:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
with:
|
|
|
|
token: ${{ secrets.ACCESS_TOKEN }}
|
|
|
|
|
|
|
|
- name: uORB graph
|
|
|
|
run: |
|
|
|
|
make uorb_graphs
|
|
|
|
cd Tools/uorb_graph
|
|
|
|
ls -ls *
|
|
|
|
# TODO: deploy graph_px4_sitl.json to S3 px4-travis:Firmware/master/
|
|
|
|
|
2022-10-19 20:36:47 -03:00
|
|
|
ROS2_msgs:
|
2020-08-18 10:44:58 -03:00
|
|
|
runs-on: ubuntu-latest
|
2021-09-08 09:03:50 -03:00
|
|
|
container: px4io/px4-dev-base-focal:2021-09-08
|
2020-08-18 10:44:58 -03:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
with:
|
|
|
|
token: ${{ secrets.ACCESS_TOKEN }}
|
|
|
|
|
2022-10-19 20:36:47 -03:00
|
|
|
- name: PX4 ROS2 msgs
|
2020-06-23 12:51:07 -03:00
|
|
|
run: |
|
|
|
|
git clone https://github.com/PX4/px4_msgs.git
|
2022-10-19 20:36:47 -03:00
|
|
|
rm px4_msgs/msg/*.msg
|
2023-10-28 18:37:00 -03:00
|
|
|
rm px4_msgs/srv/*.srv
|
2022-10-19 20:36:47 -03:00
|
|
|
cp msg/*.msg px4_msgs/msg/
|
2023-10-28 18:37:00 -03:00
|
|
|
cp srv/*.srv px4_msgs/srv/
|