Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: RedHatSatellite/satellite-clone
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: bf3eff75dcf6999a3298ee0e2a133242a972cbe8
Choose a base ref
..
head repository: RedHatSatellite/satellite-clone
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 827ef1ef476c1aa9fe693440d4800578049b3574
Choose a head ref
Showing with 1 addition and 1 deletion.
  1. +1 −1 roles/satellite-clone/tasks/reset_pulp_data.yml
2 changes: 1 addition & 1 deletion roles/satellite-clone/tasks/reset_pulp_data.yml
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
command: mongo pulp_database --eval "db.units_distribution.drop();db.units_docker_blob.drop();db.units_docker_image.drop();db.units_docker_manifest.drop();db.units_docker_tag.drop();db.units_drpm.drop();db.units_erratum.drop();db.units_iso.drop();db.units_package_category.drop();db.units_package_environment.drop();db.units_package_group.drop();db.units_puppet_module.drop();db.units_rpm.drop();db.units_srpm.drop();db.units_yum_repo_metadata_file.drop();db.repo_content_units.drop();"

- name: reset pulp repo importers
command: 'echo "db.repo_importers.update({}, {\$set: {\"scratchpad.repomd_revision\": null}}, {multi: true});" | mongo pulp_database'
command: mongo pulp_database --eval "db.repo_importers.update({}, {\$set: {\"scratchpad.repomd_revision\": null}}, {multi: true});"

- name: reset pulp data in 6.2
command: echo "Katello::Rpm.all.destroy_all; Katello::Erratum.all.destroy_all; Katello::PackageGroup.all.destroy_all; Katello::PuppetModule.all.destroy_all; Katello::DockerManifest.all.destroy_all; Katello::DockerTag.all.destroy_all" | foreman-rake console