Skip to content

gitlab: run ostree manifest generation and builds only when needed#1961

Merged
thozza merged 1 commit into
osbuild:mainfrom
achilleas-k:el10/no-ostree
Oct 21, 2025
Merged

gitlab: run ostree manifest generation and builds only when needed#1961
thozza merged 1 commit into
osbuild:mainfrom
achilleas-k:el10/no-ostree

Conversation

@achilleas-k

Copy link
Copy Markdown
Member

With the way the gitlab-ci.yml was generated before, we've been running some useless jobs. On CentOS 10, RHEL 10, and RHEL 7 distros, there are no ostree-based image types. The 'generate-ostree-build-config' job would then run 'gen-manifests' for ostree-based image type names, produce no manifests, and end successfully with no builds queued for the next step.

This is wasteful. Let's stop doing this.

@achilleas-k achilleas-k requested review from a team and thozza as code owners October 20, 2025 20:22
@achilleas-k achilleas-k requested review from bcl and lzap October 20, 2025 20:22
supakeen
supakeen previously approved these changes Oct 21, 2025
With the way the gitlab-ci.yml was generated before, we've been running
some useless jobs.  On CentOS 10, RHEL 10, and RHEL 7 distros, there are
no ostree-based image types.  The 'generate-ostree-build-config' job
would then run 'gen-manifests' for ostree-based image type names,
produce no manifests, and end successfully with no builds queued for the
next step.

This is wasteful.  Let's stop doing this.
@achilleas-k

Copy link
Copy Markdown
Member Author

Had to rebase on #1955.

@thozza thozza left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😍

@thozza thozza added this pull request to the merge queue Oct 21, 2025
Merged via the queue into osbuild:main with commit 78a0dd7 Oct 21, 2025
24 checks passed
@achilleas-k achilleas-k deleted the el10/no-ostree branch October 21, 2025 15:25
croissanne added a commit to croissanne/osbuild-composer that referenced this pull request Oct 22, 2025
In adapting to the new osbuild/osbuild-exec code, ExportPaths got
dropped. This variable / option was not used anywhere anyway.

Changes with 0.209.0
----------------
  - gitlab: run ostree manifest generation and builds only when needed (osbuild/image-builder#1961)
    - Author: Achilleas Koutsou, Reviewers: Simon de Vlieger, Tomáš Hozza
  - osbuild/osbuild-exec: extract building the osbuild cmd to helper (osbuild/image-builder#1963)
    - Author: Sanne Raymaekers, Reviewers: Achilleas Koutsou, Simon de Vlieger
  - rhel10: add ism secret & top secret oscap profiles (HMS-9507) (osbuild/image-builder#1962)
    - Author: Gianluca Zuccarelli, Reviewers: Lukáš Zapletal, Sanne Raymaekers
croissanne added a commit to croissanne/image-builder-cli that referenced this pull request Oct 22, 2025
Changes with 0.207.0
----------------
  - Enable fedora 43 unit testing (osbuild/image-builder#1954)
    - Author: Achilleas Koutsou, Reviewers: Simon de Vlieger, Tomáš Hozza
  - fedora: update cloud_kernel_options (osbuild/image-builder#1953)
    - Author: Sanne Raymaekers, Reviewers: Achilleas Koutsou, Simon de Vlieger
  - test/data/repos/rhel-10.2: fix copy & paste error (osbuild/image-builder#1956)
    - Author: Tomáš Hozza, Reviewers: Achilleas Koutsou, Simon de Vlieger

Changes with 0.208.0
----------------
  - Schutzfile: switch CI runner to Fedora 42 (osbuild/image-builder#1955)
    - Author: Achilleas Koutsou, Reviewers: Simon de Vlieger, Tomáš Hozza
  - Support uploading to IBM Cloud (osbuild/image-builder#1924)
    - Author: Jakub Kadlčík, Reviewers: Achilleas Koutsou, Simon de Vlieger
  - pkg/osbuild: generate osbuild result from status scanner entries (osbuild/image-builder#1941)
    - Author: Sanne Raymaekers, Reviewers: Nobody

Changes with 0.209.0
----------------
  - gitlab: run ostree manifest generation and builds only when needed (osbuild/image-builder#1961)
    - Author: Achilleas Koutsou, Reviewers: Simon de Vlieger, Tomáš Hozza
  - osbuild/osbuild-exec: extract building the osbuild cmd to helper (osbuild/image-builder#1963)
    - Author: Sanne Raymaekers, Reviewers: Achilleas Koutsou, Simon de Vlieger
  - rhel10: add ism secret & top secret oscap profiles (HMS-9507) (osbuild/image-builder#1962)
    - Author: Gianluca Zuccarelli, Reviewers: Lukáš Zapletal, Sanne Raymaekers
croissanne added a commit to osbuild/osbuild-composer that referenced this pull request Oct 22, 2025
In adapting to the new osbuild/osbuild-exec code, ExportPaths got
dropped. This variable / option was not used anywhere anyway.

Changes with 0.209.0
----------------
  - gitlab: run ostree manifest generation and builds only when needed (osbuild/image-builder#1961)
    - Author: Achilleas Koutsou, Reviewers: Simon de Vlieger, Tomáš Hozza
  - osbuild/osbuild-exec: extract building the osbuild cmd to helper (osbuild/image-builder#1963)
    - Author: Sanne Raymaekers, Reviewers: Achilleas Koutsou, Simon de Vlieger
  - rhel10: add ism secret & top secret oscap profiles (HMS-9507) (osbuild/image-builder#1962)
    - Author: Gianluca Zuccarelli, Reviewers: Lukáš Zapletal, Sanne Raymaekers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants