Skip to content

Instantly share code, notes, and snippets.

View j-rivero's full-sized avatar

Jose Luis Rivero j-rivero

  • Open Robotics
  • Madrid
View GitHub Profile
branch_ci __upcoming__ gz_tools-ci-main-homebrew-amd64
branch_ci __upcoming__ gz_tools-ci-main-jammy-amd64
branch_ci __upcoming__ gz_tools-main-win
branch_ci citadel ign_cmake-2-win
branch_ci citadel ign_cmake-ci-ign-cmake2-bionic-amd64
branch_ci citadel ign_cmake-ci-ign-cmake2-homebrew-amd64
branch_ci citadel ign_common-3-win
branch_ci citadel ign_common-ci-ign-common3-bionic-amd64
branch_ci citadel ign_common-ci-ign-common3-homebrew-amd64
branch_ci citadel ign_fuel_tools-4-win
@j-rivero
j-rivero / Dockerfile
Last active September 21, 2023 17:42
Testing dockerfile for DART 6.13 on Harmonic
FROM ubuntu:jammy
LABEL maintainer="Jose Luis Rivero <jrivero@osrfoundation.org>"
ENV LANG C
ENV LC_ALL C
ARG DEBIAN_FRONTEND=noninteractive
RUN echo 'export DEBIAN_FRONTEND=noninteractive' >> /root/.bashrc
RUN apt-get update && \
apt-get install -y dirmngr git python3 python3-docopt python3-yaml python3-distro
RUN git clone https://github.com/gazebo-tooling/gzdev -b jrivero/testing /tmp
@j-rivero
j-rivero / clone_all_branches_and_tags.bash
Last active August 29, 2023 18:56
Helper to create new forks of ros2-gbp
#!/bin/bash
git remote add upstream https://github.com/ros2-gbp/ros_ign-release
git fetch upstream
for branch in `git branch -a | grep remotes | grep -v HEAD`; do
git branch --track ${branch#remotes/upstream/} $branch
done
git push master origin
git push --all origin
git push --tags origin
ign_moveit2_examples on  master via △ v3.22.1 ❯ docker build . -t ign_moveit2
Sending build context to Docker daemon 99.84kB
Step 1/17 : ARG ROS_DISTRO=galactic
Step 2/17 : FROM ros:${ROS_DISTRO}-ros-base
---> 9da8c152231c
Step 3/17 : SHELL ["/bin/bash", "-c"]
---> Using cache
---> fce46bacab6b
Step 4/17 : ARG WS_DIR=/root/ws
---> Using cache

Jenkins Groovy snippets

Jobs

  • Remove jobs
import jenkins.model.*

def matchedJobs = Jenkins.instance.items.findAll { job ->
@j-rivero
j-rivero / pkg_list.txt
Created May 18, 2022 13:49
Jammy Gazebo Classic + RVIZ Rolling + Ign Fortress
jrivero@e957641c0f62:~$ dpkg -l | grep 'gazebo\|ignition'
ii gazebo 11.10.2+dfsg-1 amd64 Open Source Robotics Simulator - Binaries
ii gazebo-common 11.10.2+dfsg-1 all Open Source Robotics Simulator - Shared files
ii gazebo-plugin-base 11.10.2+dfsg-1 amd64 Open Source Robotics Simulator - base plug-ins
ii ignition-fortress 1.0.3-1~jammy amd64 Collection of ignition robotics packages - Fortress
ii ignition-tools:amd64 1.4.1+osrf-1~jammy amd64 Entry point for using all the suite of ignition tools - app
ii libgazebo-dev 11.10.2+dfsg-1 amd64 Open Source Robotics Simulator - Development Files
ii libgazebo11:amd6
@j-rivero
j-rivero / ros2.repos
Last active April 29, 2022 15:28
Testing QoS adaptative PRs
repositories:
ament/ament_cmake:
type: git
url: https://github.com/ament/ament_cmake.git
version: master
ament/ament_index:
type: git
url: https://github.com/ament/ament_index.git
version: master
ament/ament_lint:
@j-rivero
j-rivero / Dockerfile
Created February 2, 2022 14:41
i386 dart test hangs
FROM i386/debian:unstable-20220125-slim
ENV DEBIAN_FRONTEND noninteractive
RUN echo "deb-src http://deb.debian.org/debian unstable main" >> /etc/apt/sources.list
RUN apt-get update && \
apt-get install -y \
locales locales-all \
sudo curl gnupg vim build-essential cmake pkg-config \
locales wget git-buildpackage debhelper devscripts \
apt-cacher-ng auto-apt-proxy bash-completion quilt
RUN apt-get build-dep -y dart
@j-rivero
j-rivero / ros2.repos
Created January 25, 2022 19:51
idl testing
repositories:
ament/ament_cmake:
type: git
url: https://github.com/ament/ament_cmake.git
version: master
ament/ament_index:
type: git
url: https://github.com/ament/ament_index.git
version: master
ament/ament_lint:
repositories:
ament/ament_cmake:
type: git
url: https://github.com/ament/ament_cmake.git
version: master
ament/ament_index:
type: git
url: https://github.com/ament/ament_index.git
version: master
ament/ament_lint: