Skip to content

Commit 72c2e00

Browse files
Robert Marshallbalasankarc
andcommitted
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 <[email protected]> Approved-by: Robert Marshall <[email protected]> Co-authored-by: Balasankar 'Balu' C <[email protected]>
2 parents ebcd345 + 0834b55 commit 72c2e00

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.rubocop_todo.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ Fips/MD5:
3131
- 'config/software/gitlab-pg-ctl.rb'
3232
- 'config/software/gitlab-psql.rb'
3333
- 'config/software/gitlab-redis-cli.rb'
34+
- 'config/software/gitlab-backup-cli.rb'
3435
- 'files/gitlab-cookbooks/gitlab/libraries/helpers/base_pg_helper.rb'
3536
- 'files/gitlab-cookbooks/gitlab/libraries/rails_migration_helper.rb'
3637
- 'files/gitlab-ctl-commands/lib/postgresql/password_hash.rb'

config/software/gitlab-backup-cli.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,20 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616
#
17+
18+
require 'digest'
19+
1720
name 'gitlab-backup-cli'
1821

1922
license 'Apache-2.0'
2023
license_file File.expand_path('LICENSE', Omnibus::Config.project_root)
2124

2225
skip_transitive_dependency_licensing true
2326

27+
# This 'software' is self-contained in this file. Use the file contents
28+
# to generate a version string.
29+
default_version Digest::MD5.file(__FILE__).hexdigest
30+
2431
build do
2532
mkdir "#{install_dir}/bin/"
2633
# Create a wrapper for the gitlab-backup-cli tool

0 commit comments

Comments
 (0)