Design
Tripleo-repos hackmd: https://hackmd.io/v2jCX9RwSeuP8EEFDHRa8g
tree:
repo-setup/
tasks/pre.yaml
tasks/main.yaml
tasks/post.yaml
main.yaml:
- tripleo_repos:
repo: ...
config: ...
- tripleo_repos:
repo: ...
config: ...
tree:
repo-setup/
tasks/main.yaml
tasks/victoria.yaml
tasks/wallaby.yaml
main.yaml:
- some_pre_tasks:
...
- include: "{{ release }}.yaml
- some_post_tasks:
...
release: master
docker_registry_namespace: "tripleo{{ release }}"
distro: centos
distro_number_version: 8
distro_version: 8-stream
promote_source: current-tripleo
rdo_url: "{{ proxy_rdo | default(https://trunk.rdoproject.org) }}"
centos_url: "{{ proxy_centos | default(http://mirror.centos.org/centos) }}"
dlrn_baseurl: "{{ rdo_url }}/{{ distro_number_version }}-{{ release }}"
centos_baseurl: "{{ centos_url }}/{{ distro_version }}"
gating_repo_name: gating-repo
tripleo-repos add-repo --name=... --filename=... --baseurl=... --includepgks=... --enabled=1 --gppcheck=1 --priority=1 ...
add_repos:
- name: ...
filename: ...
baseurl: ...
includepgks: ...
enabled: ...
- tripleo_repos:
add_repo:
- name: ...
filename: ...
baseurl: ...
includepgks: ...
enabled: ...
- name: ...
filename: ...
baseurl: ...
includepgks: ...
enabled: ...
tripleo-repos --env-file /etc/ci/mirrors.sh action ....
env_file:
- /etc/ci/mirrors.sh
- /tmp/env_vars
- tripleo_repos:
env:
- /etc/ci/mirrors.sh
- /tmp/env_vars
add_repo:
- baseurl: ...
includepgks: ...
enabled: ...
- baseurl: ...
includepgks: ...
enabled: ...
tripleo-repos --ci-proxy-from /etc/ci/mirrors.sh ...
what repo-setup does:
possible ways to install repo:
tripleo-repos --dlrn-repo current-tripleo --dlrn-resolve-hash --ci-proxy-from /etc/ci/mirrors.sh --repo-priority 1
add_repos:
- name: delorean.repo
dlrn_repo: current-tripleo
dlrn_resolve_hash: true
ci_proxy_from: /etc/ci/mirrors.sh
repo_priority: 1
- name: delorean-current.repo
dlrn_repo: delorean-current
dlrn_resolve_hash: true
ci_proxy_from: /etc/ci/mirrors.sh
repo_priority: 10
repo_name: delorean-current
- tripleo_repos:
add_repo:
- dlrn_repo: current-tripleo
dlrn_resolve_hash: true
ci_proxy_from: /etc/ci/mirrors.sh
- dlrn_repo: current
dlrn_resolve_hash: true
ci_proxy_from: /etc/ci/mirrors.sh
repo_priority: 10
repo_name: delorean-current
Possible config:
master.yaml:
add_repos:
- name: delorean.repo
dlrn_repo: current-tripleo
dlrn_resolve_hash: true
#ci_proxy_from: /etc/ci/mirrors.sh
repo_priority: 1
- name: delorean-current.repo
dlrn_repo: delorean-current
dlrn_resolve_hash: true
#ci_proxy_from: /etc/ci/mirrors.sh
repo_priority: 10
repo_name: delorean-current
includepgks:
- ...
- ...
# other repos .....
centos8:
- highavailability
- powertools
ceph:
- octopus
modules:
- container-tools: rhel8
- virt: rhel
ci_proxy_from: /etc/ci/mirrors.sh
# centos_proxy:
# rdo_proxy:
--no-action
disable post-installation actions will skip the actions and we could use tripleo-repos functionality to set those.rhos-release ceph-5 -r 8.4
would set down all the repos except DLRN and related deps (ansible not included) - see http://git.app.eng.bos.redhat.com/git/rhos-release.git/tree/repos/rhos-release-rhel-8.4.repoor
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing