Commit graph

97 commits

Author SHA1 Message Date
Michal Sojka
37c8b514bc workflows: Automatically update ament_vendor metadata after running superflore
Some checks failed
Build / build (humble, aarch64-linux) (push) Has been cancelled
Build / build (humble, x86_64-linux) (push) Has been cancelled
Build / build (jazzy, aarch64-linux) (push) Has been cancelled
Build / build (jazzy, x86_64-linux) (push) Has been cancelled
Build / build (noetic, aarch64-linux) (push) Has been cancelled
Build / build (noetic, x86_64-linux) (push) Has been cancelled
Build / build (rolling, aarch64-linux) (push) Has been cancelled
Build / build (rolling, x86_64-linux) (push) Has been cancelled
The update workflow is updated as follows: Instead of running just
superflore, we run:

1. superflore --dry-run ...
2. maintainers/scripts/update-ament-vendor.sh && git commit
3. superflore --pr-only ...

The first command updates the overlay as before, but does not submit a
PR. The second step updates ament_vendor metadata according to the
updated overlay and the third command creates the PR with all updates.

I tried to make the step 2 as fast and efficient as possible, but it
may happen that it will run for long time (about 1 hour in my
testing). The reason is that, for example, if gz-msgs-vendor package
gets updated, the update of other vendored packages depending on it,
e.g., gz-sim-vendor, will have to build the updated gz-msgs-vendor,
because it is not yet in the cachix cache.
2025-04-13 21:39:02 -04:00
Michal Sojka
7f759739c2 Remove iron
Its end of life was on December 4, 2024
(https://docs.ros.org/en/iron/Releases.html).
2025-04-08 20:08:54 -04:00
Ben Wolsieffer
1d3da9e17a nix-ros-build-action: fix finding failed dependencies 2024-11-21 21:08:15 -05:00
Ben Wolsieffer
b4e70ea8c7 nix-ros-build-action: fix failure of diamond dependencies
It previously attempted to remove the same package from the graph twice
causing an assertion failure.
2024-11-21 19:16:36 -05:00
Ben Wolsieffer
4e25747880 actions: try to make failed builds cache work 2024-11-20 21:40:28 -05:00
Ben Wolsieffer
315a2ee2c4 workflows: build: update dependencies
This should hopefully get a Nix version new enough to support "nix
config"
2024-11-20 20:49:50 -05:00
Ben Wolsieffer
54c4356c50 actions: fix root-attribute
Also, get rid of old failed builds caching
2024-11-20 20:20:19 -05:00
Ben Wolsieffer
37e529981b Remove foxy from GitHub actions 2024-11-20 20:15:46 -05:00
Ben Wolsieffer
a94ed52ff6 Re-write GitHub action to improve reliability
Re-write the GitHub action to work more like Hydra

* Packages are evaluated and then built in topological order
* Each build failure is added as a separate cache entry. Makes it work
  even if the action times out, and makes it easier to retry individual
  packages.
* Dependency failures are reported accurately
2024-11-20 20:06:33 -05:00
Ben Wolsieffer
0eccf67b40 nix-ros-build-action: update dependencies 2024-11-17 13:40:56 -05:00
Ben Wolsieffer
2c5bb60569 Add GitHub action dev shell to flake 2024-11-17 12:25:57 -05:00
Ben Wolsieffer
d2bebade43 actions: adjust parallelism to maybe make it work better 2024-11-16 23:59:21 -05:00
Michal Sojka
dde852afc9 Add script and Github workflow to automate colcon updates 2024-09-19 19:37:08 -04:00
Michal Sojka
9674e125cb Add ROS 2 Jazzy Jalisco
The content of jazzy/overrides.nix is just a copy of
rolling/overrides.nix.

At least ros-core builds successfully (tested on files generated by
superflore today; not yet in this repo).
2024-07-06 10:00:31 -04:00
Ben Wolsieffer
e761430bde nix-ros-build-action: update dependencies 2024-03-06 19:24:06 -05:00
Ben Wolsieffer
7b0c15e446 actions: don't override cachix compression method
This was breaking cachix and it defaults to zstd anyway.
2024-03-06 19:21:33 -05:00
Ben Wolsieffer
e41c59ae0d actions: reduce parallelism
I already set max-jobs=1 a long time ago, so I'm not sure what effect
this will have.
2024-03-05 20:10:17 -05:00
Ben Wolsieffer
b82b47d49c Use zstd compression with cachix 2023-09-28 22:04:19 -04:00
Ben Wolsieffer
d31e04aef7 Revert "Remove foxy."
This reverts commit 113129c9da.
2023-09-12 19:34:23 -04:00
Ben Wolsieffer
5384a9b63e Remove melodic.
Melodic has been EOL since June 27, 2023 and is mostly broken anyway.
2023-08-08 16:29:26 -04:00
Ben Wolsieffer
9d7b40f964 workflows/update: try to enable failed builds cache again 2023-08-08 16:25:34 -04:00
Ben Wolsieffer
75b8fcc6e9 nix-ros-build-action: specify node16 2023-08-08 16:01:50 -04:00
Ben Wolsieffer
7c5425b6ac nix-ros-build-action: update dependencies and support multiple outputs 2023-08-08 16:00:32 -04:00
Ben Wolsieffer
113129c9da Remove foxy.
Foxy was EOL on June 20th, 2023.
2023-08-05 22:53:43 -04:00
Ben Wolsieffer
359c1c8760 workflows: run update against develop branch 2023-08-04 13:41:32 -04:00
Ben Wolsieffer
21f9803f91 Add ROS 2 Iron Irwini 2023-08-02 16:19:34 -04:00
Ben Wolsieffer
312c920454 Remove galactic.
Galactic has been EOL for more than 6 months, so I am removing it.
2023-06-18 14:12:05 -04:00
Ben Wolsieffer
28ec282a5e Update install-nix-action. 2023-06-18 14:03:56 -04:00
Ben Wolsieffer
24dbaec76c Update install-nix-action. 2023-05-19 12:05:09 -04:00
Ben Wolsieffer
ff0677bc9f Update install-nix-action to fix CI 2023-03-05 00:00:30 -05:00
Ben Wolsieffer
f49dc93f82 Add rolling distro 2022-12-09 19:43:22 -05:00
Ben Wolsieffer
d87e6f0028 Update GitHub actions dependencies 2022-11-10 21:10:19 -05:00
Ben Wolsieffer
d04b874c00 Update "update" workflow dependencies. 2022-10-21 13:49:57 -04:00
Ben Wolsieffer
49aa01b0aa Remove melodic with Python 2.
Key Python 2 dependencies have been removed from nixpkgs, so basically nothing
builds anymore. The melodicPython3 package set is still available.
2022-10-19 13:59:02 -04:00
Ben Wolsieffer
66cf02cb7d Reenable aarch64 builds on GitHub Actions
aarch64 wasn't causing the failures.
2022-10-07 00:31:39 -04:00
Ben Wolsieffer
cc46925256 actions: disable aarch64 builds
They always timeout and I don't want to investigate right now.
2022-07-24 13:46:16 -04:00
Ben Wolsieffer
4d6f063a14 Remove dashing.
It has been EOL for a while now.
2021-11-25 23:23:58 -05:00
Ben Wolsieffer
6ed3fe9f34 Fix update workflow. 2021-09-08 16:58:20 -04:00
Ben Wolsieffer
48e11ab66b Try to fix update workflow. 2021-09-05 13:16:50 -04:00
Ben Wolsieffer
47d01c2e94 Don't use custom fork of rosdistro 2021-08-27 20:13:15 -04:00
Ben Wolsieffer
70e361b300 eloquent: remove
It has been EOL since the end of last year.
2021-05-29 18:34:54 -04:00
Ben Wolsieffer
2d502fdbc8 distros: add galactic 2021-05-28 20:55:57 -04:00
Ben Wolsieffer
eba1ff3516 distros: remove kinetic
It has been EOL since April
2021-05-28 19:06:59 -04:00
Ben Wolsieffer
0d3aca6651 actions: fix rosdep attribute 2021-04-18 20:25:53 -04:00
Ben Wolsieffer
98df214fa3 actions: update: add rosdep and cachix 2021-04-18 20:12:12 -04:00
Ben Wolsieffer
9468ecbc80 actions: try disabling parallelism and switch back to stable 2021-04-18 19:58:28 -04:00
Ben Wolsieffer
8e82b2b676 actions: allow manual superflore run 2021-04-18 19:55:58 -04:00
Ben Wolsieffer
eca619482f actions: use Nix to install superflore 2021-04-18 19:52:54 -04:00
Ben Wolsieffer
095ed4d345 actions: disable cache restore for testing 2021-04-17 21:40:39 -04:00
Ben Wolsieffer
6bac320ad0 nix-ros-build-action: save 100 lines of log 2021-04-17 21:39:41 -04:00