Specify a dummy version for gitlab-backup-cli

The `gitlab-backup-cli` wrapper should not cause a cache
bust. This adds a dummy version to prevent it.

Related https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8476

Signed-off-by: Balasankar 'Balu' C <balasankar@gitlab.com>
This commit is contained in:
Balasankar 'Balu' C 2024-04-04 08:39:11 +00:00 committed by Robert Marshall
parent ebcd345570
commit 0834b55a1d
2 changed files with 8 additions and 0 deletions

View File

@ -31,6 +31,7 @@ Fips/MD5:
- 'config/software/gitlab-pg-ctl.rb'
- 'config/software/gitlab-psql.rb'
- 'config/software/gitlab-redis-cli.rb'
- 'config/software/gitlab-backup-cli.rb'
- 'files/gitlab-cookbooks/gitlab/libraries/helpers/base_pg_helper.rb'
- 'files/gitlab-cookbooks/gitlab/libraries/rails_migration_helper.rb'
- 'files/gitlab-ctl-commands/lib/postgresql/password_hash.rb'

View File

@ -14,6 +14,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
require 'digest'
name 'gitlab-backup-cli'
license 'Apache-2.0'
@ -21,6 +24,10 @@ license_file File.expand_path('LICENSE', Omnibus::Config.project_root)
skip_transitive_dependency_licensing true
# This 'software' is self-contained in this file. Use the file contents
# to generate a version string.
default_version Digest::MD5.file(__FILE__).hexdigest
build do
mkdir "#{install_dir}/bin/"
# Create a wrapper for the gitlab-backup-cli tool