Skip to content
Snippets Groups Projects
  1. Aug 21, 2024
  2. Jul 15, 2024
  3. Jun 30, 2024
  4. Jun 24, 2024
  5. Jun 23, 2024
  6. May 14, 2024
  7. Mar 17, 2024
  8. Feb 16, 2024
  9. Jan 16, 2024
  10. Jul 13, 2023
  11. Jul 05, 2023
  12. Jun 04, 2023
  13. Apr 04, 2023
  14. Feb 27, 2023
  15. Nov 20, 2022
  16. Nov 02, 2022
  17. Oct 25, 2022
    • Oliver Smith's avatar
      CI: add note about running scripts locally · 81f0d669
      Oliver Smith authored
      81f0d669
    • Oliver Smith's avatar
      CI: replace gitlab CI with sourcehut CI · 4b8a0db5
      Oliver Smith authored
      Replace .gitlab-ci.yml with a minimal .build.yml that runs a script in
      the .ci dir for each task. Each of these scripts runs as root first,
      installs dependencies, and then drops rights to the testuser and runs
      the actual test. I went with this design, so we can add a
      'pmbootstrap ci' command in following patches that run these in a
      pmbootstrap chroot (see pmaports#2169).
      
      Looking at flake8, we currently ignore W504 and W604. Would be nice to
      fix these instead, but let's do that in another patch.
      
      I've added a minver package to Alpine, so we don't need to install it
      form pip anymore. Use minver's new --lint argument to simplify the
      script, and as recommended by minver itself, use --no-parse-comments as
      speed optimization since we don't have minver specific comments.
      
      Using doas instead of sudo in build.yml would be nice, but this doesn't
      work out of the box. Can be changed in the future.
      
      Add a note to the pytest script, that 'pmbootstrap log' can be used to
      follow the log while tests are running.
      4b8a0db5
  18. Jul 04, 2021
    • Oliver Smith's avatar
      6c2b72ca
    • Oliver Smith's avatar
      CI: drop support for cached venv + ci runner (MR 2080) · d38bd6be
      Oliver Smith authored
      CI started failing with:
      /builds/ollieparanoid/pmbootstrap/venv/bin/python3: No module named pytest
      
      I've briefly tried to fix this with the existing scripts. However,
      instead of investing more time into that, do the long overdue
      refactoring of the scripts that involve dropping the venv logic and
      support for a custon gitlab-ci-runner using some python docker image as
      base. This configuration hasn't been used for a long time and is
      probably broken anyway.
      
      Refactor the logic to skip the qemu test case in gitlab CI by using
      pytest markers. The new script is now similar to bpo's .ci/pytest.py.
      d38bd6be
Loading