Skip to content

Instantly share code, notes, and snippets.

@mikedep333
mikedep333 / gist:1eab5a9dd59f4faff37fc6a4f723023f
Created January 16, 2020 19:04
Manaully testing pulpcore 3.0.1
# within ansible-pulp (and a venv for molecule):
molecule destroy
molecule create -s default-upgrade
molecule converge -s default-upgrade
# Observe that the task "pulp : Install pulpcore package via PyPI" was "changed" for all 3 containers. Dep updates can trigger it too.
docker ps
# I just picked the centos 7 container's ID.
docker exec -it bd9ce5db336a /bin/bash
within the molecule VM-like container:
---
- hosts: all
become: true
tasks:
- file:
path: /become-test
state: touch
@mikedep333
mikedep333 / gist:c4d1874656af26315162a698a277224c
Created October 8, 2019 19:57
ansible-pulp vars for F30 instance
pulp_default_admin_password: password
pulp_use_system_wide_pkgs: true
pulp_install_plugins:
pulp-certguard:
source_dir: "git+https://github.com/pulp/pulp-certguard.git#egg=pulp-certguard"
pulp-docker:
source_dir: "git+https://github.com/pulp/pulp_docker.git#egg=pulp-docker"
pulp-rpm:
prereq_role: "pulp-rpm-prerequisites"
source_dir: "git+https://github.com/pulp/pulp_rpm.git#egg=pulp-rpm"
mike@dropship-hv:/gv1/homes/DEPAULO/mike/ddh/duckpan-vagrant :) [8] $ vagrant plugin install vagrant-berkshelf --plugin-version=2.0.1
Installing the 'vagrant-berkshelf --version '2.0.1'' plugin. This can take a few minutes...
Installed the plugin 'vagrant-berkshelf (2.0.1)'!
mike@dropship-hv:/gv1/homes/DEPAULO/mike/ddh/duckpan-vagrant :) [9] $
mike@dropship-hv:/gv1/homes/DEPAULO/mike/ddh/duckpan-vagrant :) [9] $ bundler
Using addressable 2.3.6
Using multipart-post 2.0.0
Using faraday 0.9.0
Using berkshelf-api-client 1.2.0
Using buff-extensions 1.0.0