Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Nix-based development shell and related CI #517

Merged
merged 49 commits into from Aug 4, 2022

Commits on Aug 3, 2022

  1. Configuration menu
    Copy the full SHA
    147061e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c4d10b2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e64ae37 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4d68ed5 View commit details
    Browse the repository at this point in the history
  5. explain targetPkgs

    exarkun committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    95c2b9a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5301cb0 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9d2f1e8 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d425be4 View commit details
    Browse the repository at this point in the history
  9. massage the runtime environment ...

    Turns out the image does have bash and openssh now, hooray.  However, the
    checkout step is failing:
    
    > /usr/bin/docker exec a5e8... sh -c "cat /etc/*release | grep ^ID"
    > OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: no such file or directory: unknown
    
    I suppose because there is no `/etc/os-release`?
    exarkun committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    36c630b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    25777ac View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    e7f15b5 View commit details
    Browse the repository at this point in the history
  12. Try to get userns support in the container

    I have no idea if this is the way to do it
    exarkun committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    d6d92ff View commit details
    Browse the repository at this point in the history
  13. That failed

    > invalid argument "kernel.unprivileged_userns_clone=1" for "--sysctl" flag: sysctl 'kernel.unprivileged_userns_clone=1' is not whitelisted
    exarkun committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    bda41e4 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    3f9b831 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    1139b8c View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    f0fbe4c View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    a5571d5 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    5e13f6e View commit details
    Browse the repository at this point in the history
  19. Turn on the other steps

    exarkun committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    2e8a02f View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    0249cb1 View commit details
    Browse the repository at this point in the history
  21. is it even there

    exarkun committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    c494261 View commit details
    Browse the repository at this point in the history
  22. can we just ask for root

    exarkun committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    6bdae08 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    16e26a2 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    efb7ac5 View commit details
    Browse the repository at this point in the history
  25. Do it all at once

    If we use a different container for each step then each step has to download
    and build the whole stack for itself, adding about 8 minutes to the job. :/
    exarkun committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    14a26cf View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    458d0fc View commit details
    Browse the repository at this point in the history
  27. explain

    exarkun committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    e0bda89 View commit details
    Browse the repository at this point in the history
  28. it is not just check anymore

    exarkun committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    6f007a1 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    9036f5b View commit details
    Browse the repository at this point in the history
  30. re-enable the rest of ci

    exarkun committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    b130894 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    328e568 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    f5163b1 View commit details
    Browse the repository at this point in the history
  33. re-enable other ci

    exarkun committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    1ad3ba6 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    1c1052d View commit details
    Browse the repository at this point in the history
  35. disable other ci jobs

    exarkun committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    b8d0909 View commit details
    Browse the repository at this point in the history
  36. Switch to the NixOS 22.05 release branch

    The previous nixpkgs revision was an arbitrary revision of master that just
    happened to work during development.  Instead of enshrining it, switch to
    something that's compatible with a version of pypi-deps-db we can get (and get
    that, too).
    exarkun committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    9c7b74a View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    a00290b View commit details
    Browse the repository at this point in the history
  38. re-enable other ci jobs

    exarkun committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    af5628c View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    9334ad9 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    086aa0e View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2022

  1. Configuration menu
    Copy the full SHA
    647b828 View commit details
    Browse the repository at this point in the history
  2. Does it help to quote the #-having part?

    Prior to this change the steps still don't actually run the tox command.
    exarkun committed Aug 4, 2022
    Configuration menu
    Copy the full SHA
    3170a53 View commit details
    Browse the repository at this point in the history
  3. turn off the slow parts

    exarkun committed Aug 4, 2022
    Configuration menu
    Copy the full SHA
    78ce77d View commit details
    Browse the repository at this point in the history
  4. Bump to the latest stable image

    It's not clear the CI problems have anything to do with this, but might as
    well try.
    exarkun committed Aug 4, 2022
    Configuration menu
    Copy the full SHA
    f8525ab View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7471b24 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6a73a11 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6d392e0 View commit details
    Browse the repository at this point in the history
  8. re-enable other ci jobs

    exarkun committed Aug 4, 2022
    Configuration menu
    Copy the full SHA
    74505df View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    69fdbc6 View commit details
    Browse the repository at this point in the history