Skip to content

Build missing packages for "humble", invoked by @strands-jenkins #291

Build missing packages for "humble", invoked by @strands-jenkins

Build missing packages for "humble", invoked by @strands-jenkins #291

Workflow file for this run

name: Build missing packages
on:
workflow_dispatch:
inputs:
ros_distro:
type: string
required: true
default: humble
description: "The ROS distro"
run-name: Build missing packages for "${{ inputs.ros_distro }}", invoked by @${{ github.actor }}
jobs:
build:
runs-on: lcas
steps:
- uses: addnab/docker-run-action@v3
with:
username: lcas
password: lincoln
registry: lcas.lincoln.ac.uk
image: lcas.lincoln.ac.uk/lcas/docker-dpkg-build:master
options: --rm -e GH_API_TOKEN=${{ secrets.GH_API_TOKEN }} -e ROS_DISTRO=${{ github.event.inputs.ros_distro}}
run: |
#rosdep update
#apt-get update
# manually (re-)installing empy again for ros_buildfarm
pip install empy
./build_chain.py
- name: "generate graph"
run: |
APTLY_API="https://lcas.lincoln.ac.uk/apt/api"
curl -ograph.svg -u lcas:${{ secrets.APTLY_TOKEN }} $APTLY_API/graph.svg
- uses: lasith-kg/dispatch-workflow@v1
id: workflow-dispatch_develop
name: 'Trigger new release'
with:
dispatch-method: workflow_dispatch
repo: docker-dpkg-build
owner: LCAS
ref: refs/heads/master # or main
workflow: publish-aptly-release.yaml # Or Workflow ID
token: ${{ secrets.ORGA_GH_TOKEN }} # GitHub Token With Relevant Permissions
workflow-inputs: |
{
"repo": "lcas_ros_jammy",
"distro": "jammy",
"prefix": "lcas"
}
- name: Archive graphs results
uses: actions/upload-artifact@v4
with:
name: repo-graph
path: ./graph.svg