Verified Commit 36111f2e authored by Marek Pikuła's avatar Marek Pikuła
Browse files

meson-build: Add shorter artifact expiry

This will decrease artifact storage usage.

Signed-off-by: default avatarMarek Pikuła <m.pikula@partner.samsung.com>
parent 900350a5
Loading
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -99,6 +99,10 @@ CI Job

- ``allow_failure``: Set the ``allow_failure`` flag for jobs expected to fail.
  Set ``retry`` input to 0 to prevent unnecessary retries. Default: ``false``.
- ``artifact_expiry_in``: Set how long GitLab keeps the artifacts. Build
  artifacts are not strictly needed afterwards besides the test job, so it can
  be set to short period of time to decrease the usage of artifact storage.
  Default: ``1 day``.
- ``extends``: Array of jobs to extend this job template. Must include an OCI
  image template (see :ref:`top-level-reqs`) and can include target activation
  pattern. Default: ``[.ci-multiplatform-base]``.
+8 −0
Original line number Diff line number Diff line
@@ -74,6 +74,13 @@ spec:
        input to 0 to prevent unnecessary retries.
      type: boolean
      default: false
    artifact_expiry_in:
      description:
        Set how long GitLab keeps the artifacts. Build artifacts are not
        strictly needed afterwards besides the test job, so it can be set to
        short period of time to decrease the usage of artifact storage.
      type: string
      default: 1 day
    extends:
      description: |
        Array of jobs to extend this job template. Must include an OCI image
@@ -162,3 +169,4 @@ spec:
    when: always
    paths:
      - ${BUILD_DIR}/
    expire_in: $[[ inputs.artifact_expiry_in ]]