Skip to content

Instantly share code, notes, and snippets.

@mikedep333
Created January 16, 2020 19:04
Show Gist options
  • Select an option

  • Save mikedep333/1eab5a9dd59f4faff37fc6a4f723023f to your computer and use it in GitHub Desktop.

Select an option

Save mikedep333/1eab5a9dd59f4faff37fc6a4f723023f to your computer and use it in GitHub Desktop.
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:
yum install -y net-tools jq httpie
netstat -lntp
http 0.0.0.0:80/pulp/api/v3/status/
# observe version as 3.0.1
systemctl status "pulp*"
journalctl -u pulpcore-api
# observe that it was restarted about 5 minutes after being started on container boot, due to the ansible handler to restart it.
vi ~/.netrc
# (default, admin, password)
git clone -- branch 0.1 https://github.com/pulp/pulp_file.git
cd pulp_file/docs/_scripts/
bash -x docs_check_sync_publish.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment