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

Generate reports for OEM and base sysext images, allow reports against last nightly #1169

Merged
merged 32 commits into from
Nov 24, 2023

Commits on Nov 21, 2023

  1. ci-automation/image-changes, .github/ci: Drop work directory parameter

    It was only needed for the show-changes script. Now that show-changes
    script allows to set the repos parent directory with an environment
    variable, we set the variable instead of changing the working
    directory.
    krnowak committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    992db54 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5443a66 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ffa2bfc View commit details
    Browse the repository at this point in the history
  4. ci-automation/image-changes: Set NEW_VERSION in toplevel function

    This avoid assuming that the current working directory in the
    generate_image_changes_report function is actually toplevel directory
    of the scripts repo.
    krnowak committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    5915caf View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f9e0363 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2c7af82 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    50b515e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    123ae24 View commit details
    Browse the repository at this point in the history
  9. ci-automation/image-changes: Strip kernel versions in initrd reports

    This is something that we already do for production image and for OEM
    sysext images.
    krnowak committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    cda692a View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    170e17a View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    7698016 View commit details
    Browse the repository at this point in the history
  12. ci-automation/image-changes: Do not expect HEAD commit to have a tag

    It certainly does happen on GitHub Actions that the HEAD commit has no
    tag. In such case, fake the tag from version file. The git tag in this
    scenario is used to figure out a channel transition.
    krnowak committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    8b5e6f0 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    202b905 View commit details
    Browse the repository at this point in the history
  14. .github/ci: Run image reports job after vms job

    It shows changes also in OEM images and these are built in vms step.
    krnowak committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    c03d372 View commit details
    Browse the repository at this point in the history
  15. overlay coreos-base/common-oem-files: Add some arch info about OEM

    For now we don't have a single place where we could learn about which
    OEMs with a sysext image gets built for certain architecture. So add
    it for now to the coreos-base/common-oem-files package. Missing
    architecture info for an OEM that gets built only in a certain arch is
    not going to be fatal for the image changes job - we will just get a
    report for this OEM with messages about failures to download some
    files.
    krnowak committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    a7853de View commit details
    Browse the repository at this point in the history
  16. ci-automation/image-changes: Filter out OEM IDs not built for an arch

    This is to limit the amount of reports consisting purely of failures,
    because some files were missing. And those files will be missing,
    because an OEM might not even have any image for certain arches (like
    digitalocean has no arm64 images).
    krnowak committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    d373052 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    5b3e90e View commit details
    Browse the repository at this point in the history
  18. ci-automation/image-changes: Source version.txt

    This avoid messing with quotes.
    krnowak committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    ead79f9 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    dabb547 View commit details
    Browse the repository at this point in the history
  20. ci-automation: List built base sysext explicitly

    Instead of depending on default value of build_image's base_sysext
    parameter, create a file that explicitly lists which base sysexts will
    be built for each architecture. The file can be sourced by other
    scripts that need this kind of information. Currently, image.sh and
    image_changes.sh use this file.
    krnowak committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    c5b8a80 View commit details
    Browse the repository at this point in the history
  21. overlay, ci-automation: Factor out OEMID info to a separate file

    Image changes job needs a list of OEMIDs that are built for a specific
    architecture. Similar information already existed in the
    coreos-base/common-oem-files ebuild, so factor it out to a separate
    file, so the image changes job does not need to source the entire
    ebuild (or process it in other way), but rather source the smaller
    file.
    krnowak committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    f542807 View commit details
    Browse the repository at this point in the history
  22. overlay, ci-automation: Another attempt at providing OEMID info

    Please read the comment at the top of the coreos-base/common-oem-files
    ebuild for details.
    krnowak committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    8a75eba View commit details
    Browse the repository at this point in the history
  23. overlay coreos-base/common-oem-files: Move hack description down

    EAPI needs to be defined within first 24 lines, so the description
    would push the definition too much down as it needs to happen after
    possible declaration of EAPI as local for the source case.
    krnowak committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    9a780a3 View commit details
    Browse the repository at this point in the history
  24. overlay, ci-automation: Try making common-oem-files a valid ebuild

    Assignment of EAPI must be the first non-comment, non-blank line in
    the ebuild, otherwise portage masks it as corrupted.
    krnowak committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    71eed26 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    0490c9c View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    89f0cba View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    810306c View commit details
    Browse the repository at this point in the history
  28. .github/ci: AAAARGH!

    krnowak committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    c9b9864 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    00dad31 View commit details
    Browse the repository at this point in the history
  30. .github/ci: Install python3-packaging package

    show-fixed-kernel-cves.py script from flatcar-build-scripts requires
    this package:
    
    Traceback (most recent call last):
      File "/home/runner/actions-runner/_work/scripts/scripts/flatcar-build-scripts/show-fixed-kernel-cves.py", line 29, in <module>
        from packaging import version
    ModuleNotFoundError: No module named 'packaging'
    krnowak committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    a39e53a View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    a87a882 View commit details
    Browse the repository at this point in the history
  32. ci-automation/base-sysexts: Simplify

    No need in making it arch-specific.
    krnowak committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    3d4ddf8 View commit details
    Browse the repository at this point in the history