Skip to content

Backup and restore container gateway postgres DB #1533

Backup and restore container gateway postgres DB

Backup and restore container gateway postgres DB #1533

Triggered via pull request July 24, 2024 19:42
Status Failure
Total duration 1m 6s
Artifacts 1

ruby_tests.yml

on: pull_request
rubocop  /  Rubocop
34s
rubocop / Rubocop
Matrix: test_ruby
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 8 warnings
rubocop / Rubocop: definitions/procedures/backup/online/container_gateway_db.rb#L15
Layout/LineLength: Line is too long. [104/100]
rubocop / Rubocop: definitions/procedures/restore/container_gateway_dump.rb#L26
Layout/LineLength: Line is too long. [113/100]
rubocop / Rubocop: definitions/procedures/restore/extract_files.rb#L52
Layout/LineLength: Line is too long. [135/100]
rubocop / Rubocop: definitions/scenarios/restore.rb#L55
Metrics/AbcSize: Assignment Branch Condition size for restore_sql_dumps is too high. [<0, 24, 6> 24.74/22]
rubocop / Rubocop: lib/foreman_maintain/concerns/base_database.rb#L77
Style/IdenticalConditionalBranches: Move `execute!(dump_command(config) + " -f #{file}", :hidden_patterns => [config['password']], :user => config['user'])` out of the conditional.
rubocop / Rubocop: lib/foreman_maintain/concerns/base_database.rb#L77
Layout/LineLength: Line is too long. [123/100]
rubocop / Rubocop: lib/foreman_maintain/concerns/base_database.rb#L79
Style/IdenticalConditionalBranches: Move `execute!(dump_command(config) + " -f #{file}", :hidden_patterns => [config['password']], :user => config['user'])` out of the conditional.
rubocop / Rubocop: lib/foreman_maintain/concerns/base_database.rb#L79
Layout/LineLength: Line is too long. [123/100]
rubocop / Rubocop: lib/foreman_maintain/concerns/base_database.rb#L90
Lint/UselessAssignment: Useless assignment to variable - `dump_cmd`.
rubocop / Rubocop: lib/foreman_maintain/concerns/base_database.rb#L92
Style/ConditionalAssignment: Use the return of the conditional for variable assignment and comparison.
test_ruby (3.0.2)
Process completed with exit code 1.
test_ruby (3.2.1)
Process completed with exit code 1.
test_ruby (3.1.3)
Process completed with exit code 1.
test_ruby (2.7.4)
Process completed with exit code 1.
test_ruby (3.0.2)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test_ruby (3.0.2)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test_ruby (3.2.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test_ruby (3.2.1)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test_ruby (3.1.3)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test_ruby (3.1.3)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test_ruby (2.7.4)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test_ruby (2.7.4)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/

Artifacts

Produced during runtime
Name Size
Gemfile-theforeman-actions-rubocop-ruby-2.7.lock
1013 Bytes