-
The setup for the ephemeral environments. You do not need to setup clowder or any of the IQE tools, but you do need to setup bonfire.
-
Clone/update the branch https://github.com/mikedep333/pulp-ocp-template/tree/hcaas_ephemeral_environment .
- NOTE: Only pulp-template.yaml will be used. The other .yaml files are out-of-date and will not be used.
-
Download/install the mc client
- Note that the rpm will require creating an alias:
alias mc=mcli
- Note that the rpm will require creating an alias:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Bonfire deployment configuration | |
# ~/.config/bonfire/config.yaml | |
# Defines where to fetch the file that defines application configs | |
appsFile: | |
host: gitlab | |
repo: insights-platform/cicd-common | |
path: bonfire_configs/ephemeral_apps_deprecated.yaml | |
# (optional) define any apps locally. An app defined here with <name> will override config for app |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/.ci/scripts/update_ci_branches.py b/.ci/scripts/update_ci_branches.py | |
index 4d92d8c..aecc997 100755 | |
--- a/.ci/scripts/update_ci_branches.py | |
+++ b/.ci/scripts/update_ci_branches.py | |
@@ -13,7 +13,7 @@ github_api = "https://api.github.com" | |
for branch in branches: | |
print(f"Updating {branch}") | |
- if type(branch) == float and ( branch < 3.22 ): | |
+ if type(branch) == float and branch < 3.22 : |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/images/compose/docker-compose.yml b/images/compose/docker-compose.yml | |
index 028e4ac..227a43a 100644 | |
--- a/images/compose/docker-compose.yml | |
+++ b/images/compose/docker-compose.yml | |
@@ -75,6 +75,9 @@ services: | |
POSTGRES_SERVICE_PORT: 5432 | |
POSTGRES_SERVICE_HOST: postgres | |
restart: always | |
+ ports: | |
+ - "24816-24916:24816" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone [email protected]:pulp/pulp-oci-images.git | |
cd pulp-oci-images/images/compose | |
podman-compose up -d | |
# Adjust "2 10` for the list of additional content hosts | |
# pulp-content host #2 will be port 20002, and so on. (`podman ps`) | |
# Note that the 1st content host will be port 24816, unless you modify podman-compose.yml to have port map "20001:24816" | |
for i in `seq 2 10` | |
do | |
let "port = $i + 20000" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/requirements.yml b/requirements.yml | |
index 70b756a..ad6b4c7 100644 | |
--- a/requirements.yml | |
+++ b/requirements.yml | |
@@ -1,5 +1,3 @@ | |
--- | |
-roles: | |
- - { name: geerlingguy.postgresql, version: 2.2.1 } | |
collections: | |
- ansible.posix |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# *Append* to file such as .github/workflows/ci.yml | |
- name: After failure - Setup Tmate | |
if: failure() | |
uses: mxschmitt/action-tmate@v3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# pulp_installer.git/vagrant/boxes.d/99-local.yaml | |
# | |
# Copied from 20-sandbox.yaml, keep most variables in sync manually | |
# Added disk_size | |
pulp3-sandbox-centos8-bigdisk: | |
box_name: 'centos/82' | |
box_url: 'https://cloud.centos.org/centos/8/x86_64/images/CentOS-8-Vagrant-8.2.2004-20200611.2.x86_64.vagrant-libvirt.box' | |
memory: 4096 | |
ansible: | |
playbook: "vagrant/playbooks/user-sandbox.yml" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: all | |
vars: | |
pulp_settings: | |
secret_key: secret | |
content_origin: "https://{{ ansible_fqdn }}" | |
pulp_default_admin_password: password | |
pulp_install_source: packages | |
pulp_install_plugins: | |
# galaxy-ng: {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: all | |
tasks: | |
# Does not support being re-run, with or without updates=yes | |
- git: | |
repo: "https://github.com/pulp/pulpcore/" | |
dest: /tmp/pulpcore | |
version: '630' | |
refspec: 'pull/630/head:630' |
NewerOlder