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

Make in CI #12194

Merged
merged 45 commits into from
Oct 1, 2024
Merged

Make in CI #12194

merged 45 commits into from
Oct 1, 2024

Commits on Sep 30, 2024

  1. Merge feature_flags_with_unpriveleged_user_SUITE back in ff_SUITE

    On GH Actions we run as an unprivileged user by default.
    lhoguin committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    14fe081 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    30a8de3 View commit details
    Browse the repository at this point in the history
  3. make: Move dep_osiris in rabbitmq-components.mk

    Otherwise some plugins can't build if we try to run tests
    directly after checkout. This is because the plugins
    depend on osiris as well as rabbit, but there is no
    dep_osiris defined in the plugin itself.
    lhoguin committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    645942c View commit details
    Browse the repository at this point in the history
  4. Use Make in CI

    This is a proof of concept that mostly works but is missing
    some tests, such as rabbitmq_mqtt or rabbitmq_cli. It also
    doesn't apply to mixed version testing yet.
    lhoguin committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    f4f375c View commit details
    Browse the repository at this point in the history
  5. mqtt tests: Move web_mqtt tests out of rabbitmq_mqtt

    The shared test suite was renamed only for clarity, but the
    Web-MQTT test suites were renamed out of necessity: since
    we are now adding the MQTT test directory to the code path
    we need test suites to have different names to avoid
    conflicts. We can't (easily) addpath only for this test suite
    either since CT hooks don't call functions in a predictable
    enough manner; it would always be hacky.
    lhoguin committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    690b830 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ddab3d5 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f002029 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f4a24c7 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    5327ce3 View commit details
    Browse the repository at this point in the history
  10. make CI: Simplify workflows

    lhoguin committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    b5011f0 View commit details
    Browse the repository at this point in the history
  11. make CI: Add xref job

    lhoguin committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    d9770fb View commit details
    Browse the repository at this point in the history
  12. make CI: Run Dialyzer

    lhoguin committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    9b2d2c1 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    dad0bfc View commit details
    Browse the repository at this point in the history
  14. make CI: Run most rabbitmq_peer_discovery_aws tests

    The integration_SUITE has to run in a separate workflow due
    to needing secrets.
    lhoguin committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    97363df View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    f95c870 View commit details
    Browse the repository at this point in the history
  16. make: Fix build errors for apps that have rabbit in TEST_DEPS

    We want them to install CLI scripts only for the test build,
    otherwise Dialyzer or others will fail in a clean run.
    lhoguin committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    9f8c17f View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    5e39424 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    5086553 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    85e3586 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    8619438 View commit details
    Browse the repository at this point in the history
  21. rabbit_common: Remove 'cover' related code from 'rabbit_misc'

    This is very old code that is likely no longer used. Removing
    it helps avoid depending on cover.
    lhoguin committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    ec95c1a View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    aa43139 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    c0c2c2f View commit details
    Browse the repository at this point in the history
  24. ldap auth backend: Drop support for pre-OTP-25 search results

    The search results record change was done in OTP-25, which is
    no longer supported. So we can use the modern search results
    record and drop the compatibility clauses.
    
    For more context:
    
    * 8d8847e
    * erlang/otp#5538
    lhoguin committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    5222bea View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    67eee56 View commit details
    Browse the repository at this point in the history
  26. Fix some OTP-27 Dialyzer errors in rabbitmq_peer_discovery_etcd

    And disable those checks in CI for now. We are getting errors
    because of the eetcd dependency and we can't upgrade at this
    time (see comment in the commit).
    lhoguin committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    b8723d6 View commit details
    Browse the repository at this point in the history
  27. make CI: Don't warn about missing CT log files

    This can happen if the plugin isn't using CT, or if running
    Dialyzer, for example.
    lhoguin committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    7fca6e9 View commit details
    Browse the repository at this point in the history
  28. make CI: Disable Elixir problem matchers in tests

    They are still enabled in the build job.
    lhoguin committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    55f0559 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    71ec339 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    1c79738 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    8669b24 View commit details
    Browse the repository at this point in the history
  32. make CI: Always fetch tags

    The fetch-tags option of actions/checkout@v4 does not work
    as intended so they are fetched manually instead.
    lhoguin committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    beaa476 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    a8df6f3 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    6b3b0e5 View commit details
    Browse the repository at this point in the history
  35. make: Set CT_LOGS_DIR to top-level logs/ directory

    All CT logs will now be under <toplevel>/logs. An improved
    test workflow would be to always keep the logs/all_runs.html
    page open in the browser and refresh it whenever tests are
    run in any of the rabbit applications.
    lhoguin committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    ae984cc View commit details
    Browse the repository at this point in the history
  36. make CI: Use strings instead of numbers for OTP/Ex versions

    As recommended by erlef/setup-beam.
    lhoguin committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    4c80dde View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    aee0cd0 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    4530fb5 View commit details
    Browse the repository at this point in the history
  39. Make rabbit_global_counters:overview/0 generally available

    Previously it was only available when TEST=1 was set.
    lhoguin committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    addb060 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    027700e View commit details
    Browse the repository at this point in the history
  41. CT: No longer wait 3 minutes for node start

    Reverting back to the default 1 minute. The problem with
    3 minutes is that this is exceedingly long and when there
    are problems the test time increases exponentially.
    lhoguin committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    f54e307 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    a0ee6dd View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    994abc1 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    9fed03a View commit details
    Browse the repository at this point in the history
  45. Better fix for a Dialyzer warning

    The previous fix was leading to a badmatch in some cases,
    including when trying to stop a node that was already stopped.
    lhoguin committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    7fe78a3 View commit details
    Browse the repository at this point in the history