aiidateam / aiida-plugin-cutter

Cookie cutter recipe for AiiDA plugins.
9 stars 12 forks source link

GHA: outdated actions and packages #77

Closed dev-zero closed 3 years ago

dev-zero commented 3 years ago

The current CI configuration contains a couple of outdated things:

E: Unable to locate package postgresql-10
Error: Process completed with exit code 100.
ltalirz commented 3 years ago

thanks! would you be willing to open a PR?

dev-zero commented 3 years ago

no time atm, might revisit later, sorry

dev-zero commented 3 years ago

additionally: starting rabbitmq this way randomly fails: https://github.com/dev-zero/aiida-gaussian-datatypes/runs/2362620855?check_suite_focus=true

ob for rabbitmq-server.service failed because the control process exited with error code.
See "systemctl status rabbitmq-server.service" and "journalctl -xe" for details.
invoke-rc.d: initscript rabbitmq-server, action "start" failed.
● rabbitmq-server.service - RabbitMQ broker
     Loaded: loaded (]8;;file://fv-az210-546/lib/systemd/system/rabbitmq-server.service/lib/systemd/system/rabbitmq-server.service]8;;; enabled; vendor preset: enabled)
     Active: activating (auto-restart) (Result: exit-code) since Fri 2021-04-16 13:25:47 UTC; 6ms ago
    Process: 5005 ExecStart=/usr/lib/rabbitmq/bin/rabbitmq-server (code=exited, status=1/FAILURE)
   Main PID: 5005 (code=exited, status=1/FAILURE)
dpkg: error processing package rabbitmq-server (--configure):
 installed rabbitmq-server package post-installation script subprocess returned error exit status 1
Setting up libgvc6 (2.42.2-3build2) ...
Setting up libgvpr2:amd64 (2.42.2-3build2) ...
Setting up graphviz (2.42.2-3build2) ...
Processing triggers for systemd (245.4-4ubuntu3.6) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for postgresql-common (225.pgdg20.04+1) ...
Building PostgreSQL dictionaries from installed myspell/hunspell packages...
  en_us
Removing obsolete dictionary files:
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
Errors were encountered while processing:
 rabbitmq-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
Error: Process completed with exit code 100.
dev-zero commented 3 years ago

and it might be worthwhile to introduce caching of .pip (I believe GHA still doesn't do it automatically?)

dev-zero commented 3 years ago

and pre-commit-config needs to be updated: top-level map warning, see https://github.com/aiidateam/aiida-cp2k/pull/132

dev-zero commented 3 years ago

and maybe pull this one as well: https://github.com/aiidateam/aiida-common-workflows/commit/799337dea1b518fbe36fe29c51d8bac664eb2bc8