-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test self-built rook containers also with SES #229
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. (nit) Would prefer this file to be renamed to avoid the confusion between ses and upstream. Perhaps There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am fine with that change, too. My intention was to use the naming-scheme which is already present ( |
||
- hosts: all | ||
# TODO(toabctl): find a better structure for that | ||
tasks: | ||
- name: add podman packages | ||
vars: | ||
pkg: | ||
- podman | ||
zypper: | ||
name: '{{ pkg }}' | ||
state: present | ||
update_cache: yes | ||
|
||
- name: copy rook ceph image to cluster nodes | ||
copy: | ||
src: "{{ rookcheck_workspace_dir }}/build/rook/rook-ceph.tar.gz" | ||
dest: "/root/.images/" | ||
mode: '0644' | ||
|
||
- name: load rook ceph image with podman # noqa 301 | ||
command: podman load --input /root/.images/rook-ceph.tar.gz |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This shouldn't be devel?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually thinking about this more, why is the ceph_image part of this change? It seems unrelated to providing a custom rook_image. It could be a separate change though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When using self-build rook-images I do not want to use the rpm-package with the upstream or SES based yaml-files and helm charts. I want to use the ones out of my set rook-branch. Therefore I need to know which images for "fixing" the yaml-files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, I see now.
We could use the yaml_substitutions to achieve this, but that might be too complex? Maybe an example file would help if we did though.
If not, it might be worth noting that this is only used when building from git, and that the below yaml_substitutions are only used when /not/ building from git.