Skip to content

SRE-3874 ci: optimized docker images size#18606

Draft
grom72 wants to merge 8 commits into
masterfrom
grom72/sre3874-docker-images-optimization
Draft

SRE-3874 ci: optimized docker images size#18606
grom72 wants to merge 8 commits into
masterfrom
grom72/sre3874-docker-images-optimization

Conversation

@grom72

@grom72 grom72 commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Ensure optimized docker images size in CI

Cancel-prev-build: false
Skip-python-bandit: true
Skip-unit-test: true
Skip-unit-test-memcheck: true
Skip-test-el-9-rpms: false
Skip-test-leap-15-rpms: true
Skip-func-hw-test: true
Skip-build-el8-gcc: true
Skip-build-leap15-gcc: true
Skip-unit-tests:true
Skip-NLT: true
Skip-fault-injection-test: true
Skip-func-vm-all: true

Steps for the author:

  • Commit message follows the guidelines.
  • Appropriate Features or Test-tag pragmas were used.
  • Appropriate Functional Test Stages were run.
  • At least two positive code reviews including at least one code owner from each category referenced in the PR.
  • Testing is complete. If necessary, forced-landing label added and a reason added in a comment.

After all prior steps are complete:

  • Gatekeeper requested (daos-gatekeeper added as a reviewer).

Comment thread utils/docker/Dockerfile.el.9 Fixed
Comment thread utils/docker/Dockerfile.el.9 Fixed
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

Errors are Unable to load ticket data
https://daosio.atlassian.net/browse/SRE-3874

@daosbuild3

Copy link
Copy Markdown
Collaborator

Test stage Test RPMs on EL 9.6 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos/job/PR-18606/1/display/redirect

@daosbuild3

Copy link
Copy Markdown
Collaborator

Test stage Test RPMs on Leap 15.5 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos/job/PR-18606/1/display/redirect

@daosbuild3

Copy link
Copy Markdown
Collaborator

Test stage Test RPMs on Leap 15.5 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos/job/PR-18606/2/display/redirect

@daosbuild3

Copy link
Copy Markdown
Collaborator

Test stage Test RPMs on EL 9.6 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos/job/PR-18606/2/display/redirect

grom72 added 2 commits July 3, 2026 14:55
Ensure optimized docker images size in CI

Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>

Cancel-prev-build: false
Skip-python-bandit: true
Skip-unit-test: true
Skip-unit-test-memcheck: true
Skip-test-el-9-rpms: false
Skip-test-leap-15-rpms: true
Skip-func-hw-test: true
Skip-build-el8-gcc: true
Skip-build-leap15-gcc: true
Skip-unit-tests:true
Skip-NLT: true
Skip-fault-injection-test: true
Skip-func-vm-all: true
Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>
Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>

Priority: 2
Cancel-prev-build: false
Skip-python-bandit: true
Skip-unit-test: true
Skip-unit-test-memcheck: true
Skip-test-el-9-rpms: false
Skip-test-leap-15-rpms: true
Skip-func-hw-test: true
Skip-build-el8-gcc: true
Skip-build-leap15-gcc: true
Skip-unit-tests:true
Skip-NLT: true
Skip-fault-injection-test: true
Skip-func-vm-all: true
@grom72 grom72 force-pushed the grom72/sre3874-docker-images-optimization branch from ce52b18 to 9a9d75a Compare July 3, 2026 12:56
RUN dnf upgrade && \
dnf clean all

FROM basic AS build-ci
Comment thread utils/docker/Dockerfile.el.9 Fixed
Comment thread utils/docker/Dockerfile.el.9 Fixed
Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>

Priority: 2
Cancel-prev-build: false
Skip-python-bandit: true
Skip-unit-test: true
Skip-unit-test-memcheck: true
Skip-test-el-9-rpms: false
Skip-test-leap-15-rpms: true
Skip-func-hw-test: true
Skip-build-el8-gcc: true
Skip-build-leap15-gcc: false
Skip-unit-tests:true
Skip-NLT: true
Skip-fault-injection-test: true

Skip-func-vm: true
@grom72 grom72 force-pushed the grom72/sre3874-docker-images-optimization branch from 9a9d75a to 61565fe Compare July 3, 2026 12:57
COPY --chown=daos_server:daos_server utils/build.config utils/
COPY --chown=daos_server:daos_server utils/scripts/copy_files.sh utils/scripts/copy_files.sh
COPY --chown=daos_server:daos_server utils/scripts/create_spdk_pkgconfig.sh utils/scripts/create_spdk_pkgconfig.sh
FROM build-ci AS build-local
Comment thread utils/docker/Dockerfile.el.9 Fixed
Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>

Priority: 2
Cancel-prev-build: false
Skip-python-bandit: true
Skip-unit-test: true
Skip-unit-test-memcheck: true
Skip-test-el-9-rpms: false
Skip-test-leap-15-rpms: true
Skip-func-hw-test: true
Skip-build-el8-gcc: true
Skip-build-leap15-gcc: false
Skip-unit-tests:true
Skip-NLT: true
Skip-fault-injection-test: true
Skip-func-vm: true
@grom72 grom72 force-pushed the grom72/sre3874-docker-images-optimization branch from 9d0a5e6 to 9fe742b Compare July 3, 2026 13:28
grom72 added 2 commits July 3, 2026 16:27
Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>
Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>

Priority: 2
Cancel-prev-build: false
Skip-python-bandit: true
Skip-unit-test: true
Skip-unit-test-memcheck: true
Skip-test-el-9-rpms: false
Skip-test-leap-15-rpms: true
Skip-func-hw-test: true
Skip-build-el8-gcc: true
Skip-build-leap15-gcc: false
Skip-unit-tests:true
Skip-NLT: true
Skip-fault-injection-test: true
Skip-func-vm: true
@daosbuild3

Copy link
Copy Markdown
Collaborator

grom72 added 2 commits July 3, 2026 16:35
    Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>

    Priority: 2
    Cancel-prev-build: false
    Skip-python-bandit: true
    Skip-unit-test: true
    Skip-unit-test-memcheck: true
    Skip-test-el-9-rpms: false
    Skip-test-leap-15-rpms: true
    Skip-func-hw-test: true
    Skip-build-el8-gcc: true
    Skip-build-leap15-gcc: false
    Skip-unit-tests:true
    Skip-NLT: true
    Skip-fault-injection-test: true
    Skip-func-vm: true

Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>
        Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>

        Priority: 2
        Cancel-prev-build: false
        Skip-python-bandit: true
        Skip-unit-test: true
        Skip-unit-test-memcheck: true
        Skip-test-el-9-rpms: false
        Skip-test-leap-15-rpms: true
        Skip-func-hw-test: true
        Skip-build-el8-gcc: true
        Skip-build-leap15-gcc: false
        Skip-unit-tests:true
        Skip-NLT: true
        Skip-fault-injection-test: true
        Skip-func-vm: true
Skip-func: true
Skip-test: true

Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>
ARG DAOS_KEEP_SRC=no
RUN [ "$DAOS_KEEP_SRC" != "no" ] || rm -rf /home/daos/daos /home/daos/pre

FROM build-local AS full
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants