Skip to content

GitLab Next

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C CNG
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Custom issue tracker
    • Custom issue tracker
  • Merge requests 8
    • Merge requests 8
  • Requirements
    • Requirements
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
    • Value stream
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • GitLab.org
  • Build
  • CNG
  • Merge requests
  • !648

Merged
Created Apr 24, 2021 by Steve Terhar@SteveTerharDeveloper3 of 8 tasks completed3/8 tasks

Resolve #2627 CNG: UBI Containers - LIBDIR not defined for users who do not use our build image

  • Overview 17
  • Commits 4
  • Pipelines 9
  • Changes 7

What does this MR do?

In the task runner UBI8 Dockerfile, modify: COPY scripts/lib/* ${LIBDIR}/ruby/vendor_ruby/ to add a default value for environments where LIBDIR is not defined.

Currently, if the UBI containers are built and LIBDIR is not defined, the files will be copied to /ruby/vendor_ruby instead of the correct location. This causes the gitlab backup command to fail.

I selected /usr/lib as the default value as a first iteration. The goal here was the smallest possible change that would fix the immediate issue (failed backups).

Related issues

Checklist

See Definition of done.

For anything in this list which will not be completed, please provide a reason in the MR discussion.

Required

  • Merge Request Title and Description are up to date, accurate, and descriptive
  • MR targeting the appropriate branch
  • MR has a green pipeline on GitLab.com

Expected (please provide an explanation if not completing)

  • Test plan indicating conditions for success has been posted and passes
  • Documentation created/updated
  • Tests added
  • Integration tests added to GitLab QA
  • Equivalent MR/issue for omnibus-gitlab opened

Closes gitlab-org/charts/gitlab#2627 (closed)

Edited Apr 25, 2021 by Steve Terhar
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: 2627-cng-ubi-containers-libdir-default-value

Enable Gitpod?

To use Gitpod you must first enable the feature in the integrations section of your user preferences.

Cancel Enable Gitpod