Merge branch 'specify-dummy-version-for-gitlab-backup-cli' into 'master'

Specify a dummy version for gitlab-backup-cli

See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7525

Merged-by: Robert Marshall <rmarshall@gitlab.com>
Approved-by: Robert Marshall <rmarshall@gitlab.com>
Co-authored-by: Balasankar 'Balu' C <balasankar@gitlab.com>
This commit is contained in:
Robert Marshall 2024-04-04 08:39:12 +00:00
commit 72c2e00be6
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