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

build!: Switch to ubuntu-latest for builds #35450

Merged
merged 4 commits into from
Sep 26, 2024
Merged

Commits on Sep 23, 2024

  1. build: Switch to ubuntu-latest for builds

    This code does not have any dependencies that are specific to any specific
    version of ubuntu.  So instead of testing on a specific version and then needing
    to do work to keep the versions up-to-date, we switch to the ubuntu-latest
    target which should be sufficient for testing purposes.
    
    This work is being done as a part of openedx/platform-roadmap#377
    
    closes #35314
    feanil committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    872174e View commit details
    Browse the repository at this point in the history
  2. build: Run mongosh commands within the container.

    This is no longer installed by default on ubuntu and so we have to
    either manually install it or just run the relevant commands in the
    container here it's already available. This lets us do some of the test
    setup in a more robust way.
    feanil committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    d8eef6e View commit details
    Browse the repository at this point in the history
  3. fix: Don't start the mongo service.

    We stopped using mongo on the runner directly a while ago so this is
    just an errant start that should have been removed.
    feanil committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    e6e5bed View commit details
    Browse the repository at this point in the history
  4. build!: enable md4 for testing.

    Operators Note: In newer versions of ubuntu the MD4 hashing algorithm
    is disabled by default.  To enable it the openssl config needs to be
    updated in a manner similar to what's being done here.  Alternatively,
    you can set the `FEATURES['ENABLE_BLAKE2B_HASHING']` setting to `True`
    which will switch to a newer hashing algorithm where MD4 was previously
    used.
    
    Because this hashing is being used as a part of the edx-platform caching
    mechanism, this will effectively clear the cache for the items that use
    this hash. The will impact any items where the cache key might have been
    too big to store in memcache so it's hard to predict exactly which items
    will be impacted.
    
    BREAKING CHANGE: See the operator note above for more details as this
    may break for users transitioning from Ubuntu 20.04 to newer versions.
    feanil committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    1804fbb View commit details
    Browse the repository at this point in the history