Skip to content

[install_yamls] Add install_yamls pull repo capability#3774

Open
evallesp wants to merge 1 commit intoopenstack-k8s-operators:mainfrom
evallesp:install_yamls_add_pull
Open

[install_yamls] Add install_yamls pull repo capability#3774
evallesp wants to merge 1 commit intoopenstack-k8s-operators:mainfrom
evallesp:install_yamls_add_pull

Conversation

@evallesp
Copy link
Contributor

We're adding new variables: cifmw_install_yamls_src and cifmw_install_yamls_version This repo is cloned from zuul builting tools, now we can clone this when deploying outside zuul.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 17, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign brjackma for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@evallesp evallesp force-pushed the install_yamls_add_pull branch from 5dace07 to 9075704 Compare March 19, 2026 10:02
evallesp added a commit to evallesp/ci-framework that referenced this pull request Mar 19, 2026
This file in conjuction with:
* openstack-k8s-operators#3774
* openstack-k8s-operators#3772

Allows ci-framework to clone those repos (architecture was already enabled)
when repositories are not already there due to zuul has not marked them as
required-projects or because we're running them outside the zuul ecosystem.

This is the lowest precedence, so if we still have these vars defined at zuul
level or defaults-vars (passed as extra-vars) or scenarios files, this file is not
taken into consideration.

Signed-off-by: Enrique Vallespi Gil <evallesp@redhat.com>
@softwarefactory-project-zuul
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/e0b4c9dabda84293825f53cf2a3e9d68

✔️ openstack-k8s-operators-content-provider SUCCESS in 3h 18m 54s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 23m 52s
cifmw-crc-podified-edpm-baremetal RETRY_LIMIT in 24m 37s
✔️ cifmw-crc-podified-edpm-baremetal-minor-update SUCCESS in 2h 07m 35s
✔️ cifmw-pod-zuul-files SUCCESS in 5m 20s
✔️ adoption-standalone-to-crc-ceph-provider SUCCESS in 3h 03m 43s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 9m 40s
✔️ cifmw-pod-pre-commit SUCCESS in 8m 56s
✔️ cifmw-molecule-install_yamls SUCCESS in 4m 14s

@evallesp evallesp force-pushed the install_yamls_add_pull branch from 9075704 to 94f2d1f Compare March 19, 2026 14:33
evallesp added a commit to evallesp/ci-framework that referenced this pull request Mar 19, 2026
This file in conjuction with:
* openstack-k8s-operators#3774
* openstack-k8s-operators#3772

Allows ci-framework to clone those repos (architecture was already enabled)
when repositories are not already there due to zuul has not marked them as
required-projects or because we're running them outside the zuul ecosystem.

This is the lowest precedence, so if we still have these vars defined at zuul
level or defaults-vars (passed as extra-vars) or scenarios files, this file is not
taken into consideration.

Signed-off-by: Enrique Vallespi Gil <evallesp@redhat.com>
evallesp added a commit to evallesp/ci-framework that referenced this pull request Mar 19, 2026
This file in conjuction with:
* openstack-k8s-operators#3774
* openstack-k8s-operators#3772

Allows ci-framework to clone those repos (architecture was already enabled)
when repositories are not already there due to zuul has not marked them as
required-projects or because we're running them outside the zuul ecosystem.

This is the lowest precedence, so if we still have these vars defined at zuul
level or defaults-vars (passed as extra-vars) or scenarios files, this file is not
taken into consideration.

Signed-off-by: Enrique Vallespi Gil <evallesp@redhat.com>
evallesp added a commit to evallesp/ci-framework that referenced this pull request Mar 19, 2026
This file in conjuction with:
* openstack-k8s-operators#3774
* openstack-k8s-operators#3772

Allows ci-framework to clone those repos (architecture was already enabled)
when repositories are not already there due to zuul has not marked them as
required-projects or because we're running them outside the zuul ecosystem.

This is the lowest precedence, so if we still have these vars defined at zuul
level or defaults-vars (passed as extra-vars) or scenarios files, this file is not
taken into consideration.

Deprecating cifmw_installyamls_repo_url, if previously used in all.yml file it's
still valid. Warning message if set.

Signed-off-by: Enrique Vallespi Gil <evallesp@redhat.com>
evallesp added a commit to evallesp/ci-framework that referenced this pull request Mar 19, 2026
This file in conjuction with:
* openstack-k8s-operators#3774
* openstack-k8s-operators#3772

Allows ci-framework to clone those repos (architecture was already enabled)
when repositories are not already there due to zuul has not marked them as
required-projects or because we're running them outside the zuul ecosystem.

This is the lowest precedence, so if we still have these vars defined at zuul
level or defaults-vars (passed as extra-vars) or scenarios files, this file is not
taken into consideration.

Signed-off-by: Enrique Vallespi Gil <evallesp@redhat.com>
@evallesp evallesp force-pushed the install_yamls_add_pull branch from 94f2d1f to 4980556 Compare March 19, 2026 15:59
evallesp added a commit to evallesp/ci-framework that referenced this pull request Mar 19, 2026
This file in conjuction with:
* openstack-k8s-operators#3774
* openstack-k8s-operators#3772

Allows ci-framework to clone those repos (architecture was already enabled)
when repositories are not already there due to zuul has not marked them as
required-projects or because we're running them outside the zuul ecosystem.

This is the lowest precedence, so if we still have these vars defined at zuul
level or defaults-vars (passed as extra-vars) or scenarios files, this file is not
taken into consideration.

Signed-off-by: Enrique Vallespi Gil <evallesp@redhat.com>
evallesp added a commit to evallesp/ci-framework that referenced this pull request Mar 19, 2026
This file in conjuction with:
* openstack-k8s-operators#3774
* openstack-k8s-operators#3772

Allows ci-framework to clone those repos (architecture was already enabled)
when repositories are not already there due to zuul has not marked them as
required-projects or because we're running them outside the zuul ecosystem.

This is the lowest precedence, so if we still have these vars defined at zuul
level or defaults-vars (passed as extra-vars) or scenarios files, this file is not
taken into consideration.

Signed-off-by: Enrique Vallespi Gil <evallesp@redhat.com>
evallesp added a commit to evallesp/ci-framework that referenced this pull request Mar 19, 2026
This file in conjuction with:
* openstack-k8s-operators#3774
* openstack-k8s-operators#3772

Allows ci-framework to clone those repos (architecture was already enabled)
when repositories are not already there due to zuul has not marked them as
required-projects or because we're running them outside the zuul ecosystem.

This is the lowest precedence, so if we still have these vars defined at zuul
level or defaults-vars (passed as extra-vars) or scenarios files, this file is not
taken into consideration.

Signed-off-by: Enrique Vallespi Gil <evallesp@redhat.com>
evallesp added a commit to evallesp/ci-framework that referenced this pull request Mar 19, 2026
This file in conjuction with:
* openstack-k8s-operators#3774
* openstack-k8s-operators#3772

Allows ci-framework to clone those repos (architecture was already enabled)
when repositories are not already there due to zuul has not marked them as
required-projects or because we're running them outside the zuul ecosystem.

This is the almost the lowest in precedence, so if we still have these vars defined at zuul
level or defaults-vars (passed as extra-vars) or scenarios files, this file is not
taken into consideration.

 Precedence chain:
    * Zuul repos
    * cifmw_reproducer_repositories
    * cifmw_reproducer_default_repositories
    * Git pull logic in each of the roles

Signed-off-by: Enrique Vallespi Gil <evallesp@redhat.com>
evallesp added a commit to evallesp/ci-framework that referenced this pull request Mar 19, 2026
This file in conjuction with:
* openstack-k8s-operators#3774
* openstack-k8s-operators#3772

Allows ci-framework to clone those repos (architecture was already enabled)
when repositories are not already there due to zuul has not marked them as
required-projects or because we're running them outside the zuul ecosystem.

This is the almost the lowest in precedence, so if we still have these vars defined at zuul
level or defaults-vars (passed as extra-vars) or scenarios files, this file is not
taken into consideration.

 Precedence chain:
    * Zuul repos
    * cifmw_reproducer_repositories
    * cifmw_reproducer_default_repositories
    * Git pull logic in each of the roles

Signed-off-by: Enrique Vallespi Gil <evallesp@redhat.com>
evallesp added a commit to evallesp/ci-framework that referenced this pull request Mar 19, 2026
This file in conjuction with:
* openstack-k8s-operators#3774
* openstack-k8s-operators#3772

Allows ci-framework to clone those repos (architecture was already enabled)
when repositories are not already there due to zuul has not marked them as
required-projects or because we're running them outside the zuul ecosystem.

This is the almost the lowest in precedence, so if we still have these vars defined at zuul
level or defaults-vars (passed as extra-vars) or scenarios files, this file is not
taken into consideration.

 Precedence chain:
    * Zuul repos
    * cifmw_reproducer_repositories
    * cifmw_reproducer_default_repositories
    * Git pull logic in each of the roles

Signed-off-by: Enrique Vallespi Gil <evallesp@redhat.com>
evallesp added a commit to evallesp/ci-framework that referenced this pull request Mar 19, 2026
This file in conjuction with:
* openstack-k8s-operators#3774
* openstack-k8s-operators#3772

Allows ci-framework to clone those repos (architecture was already enabled)
when repositories are not already there due to zuul has not marked them as
required-projects or because we're running them outside the zuul ecosystem.

This is the almost the lowest in precedence, so if we still have these vars defined at zuul
level or defaults-vars (passed as extra-vars) or scenarios files, this file is not
taken into consideration.

 Precedence chain:
    * Zuul repos
    * cifmw_reproducer_repositories
    * cifmw_reproducer_default_repositories
    * Git pull logic in each of the roles

Signed-off-by: Enrique Vallespi Gil <evallesp@redhat.com>
Comment on lines +31 to +32
cifmw_installyamls_repo_url: "https://github.com/openstack-k8s-operators/install_yamls"
cifmw_install_yamls_version: "HEAD"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we move away from duplicating definitions in both in the defaults and in group_vars like my my comment in #3783 discusses, we can move away from the inconsistent cifmw_installyamls_ vs cifmw_install_yamls prefix situation going on here. We could give the repo_url var here some other name and give it the definition : "{{ cifmw_installyamls_repo_url }}".

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Answer you in #3783

@evallesp evallesp force-pushed the install_yamls_add_pull branch from 4980556 to 6b5fe69 Compare March 24, 2026 08:45
@evallesp evallesp force-pushed the install_yamls_add_pull branch from 6b5fe69 to 6b7075a Compare March 24, 2026 09:52
evallesp added a commit to evallesp/ci-framework that referenced this pull request Mar 24, 2026
This file in conjuction with:
* openstack-k8s-operators#3774
* openstack-k8s-operators#3772

Allows ci-framework to clone those repos (architecture was already enabled)
when repositories are not already there due to zuul has not marked them as
required-projects or because we're running them outside the zuul ecosystem.

This is the almost the lowest in precedence, so if we still have these vars defined at zuul
level or defaults-vars (passed as extra-vars) or scenarios files, this file is not
taken into consideration.

 Precedence chain:
    * Zuul repos
    * cifmw_reproducer_repositories
    * cifmw_reproducer_default_repositories
    * Git pull logic in each of the roles

Signed-off-by: Enrique Vallespi Gil <evallesp@redhat.com>
evallesp added a commit to evallesp/ci-framework that referenced this pull request Mar 24, 2026
This file in conjuction with:
* openstack-k8s-operators#3774
* openstack-k8s-operators#3772

Allows ci-framework to clone those repos (architecture was already enabled)
when repositories are not already there due to zuul has not marked them as
required-projects or because we're running them outside the zuul ecosystem.

This is the almost the lowest in precedence, so if we still have these vars defined at zuul
level or defaults-vars (passed as extra-vars) or scenarios files, this file is not
taken into consideration.

 Precedence chain:
    * Zuul repos
    * cifmw_reproducer_repositories
    * cifmw_reproducer_default_repositories
    * Git pull logic in each of the roles

Signed-off-by: Enrique Vallespi Gil <evallesp@redhat.com>
# NAMESPACE: openstack
# METALLB_POOL would be removed once https://github.com/openstack-k8s-operators/install_yamls/pull/356 merges.
cifmw_install_yamls_repo: "{{ cifmw_installyamls_repos | default(ansible_user_dir ~ '/src/github.com/openstack-k8s-operators/install_yamls') }}"
cifmw_install_yamls_repo_url: "{{ cifmw_installyamls_repo_url | default('https://github.com/openstack-k8s-operators/install_yamls') }}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not related to this PR, but would be a good idea to consolidate both these var styles (install_yamls and installyamls) into one later, as they're holding the same value. It'll be a bit difficult to decide which to choose as former var is specific for install_yamls role while the latter one is for global usage.

evallesp added a commit to evallesp/ci-framework that referenced this pull request Mar 24, 2026
This file in conjuction with:
* openstack-k8s-operators#3774
* openstack-k8s-operators#3772
* openstack-k8s-operators#3792

Allows ci-framework to clone those repos (architecture was already enabled)
when repositories are not already there due to zuul has not marked them as
required-projects or because we're running them outside the zuul ecosystem.

This is the almost the lowest in precedence, so if we still have these vars defined at zuul
level or defaults-vars (passed as extra-vars) or scenarios files, this file is not
taken into consideration.

 Precedence chain:
    * Zuul repos
    * cifmw_reproducer_repositories
    * cifmw_reproducer_default_repositories
    * Git pull logic in each of the roles

Signed-off-by: Enrique Vallespi Gil <evallesp@redhat.com>
@softwarefactory-project-zuul
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/cc43132def3e44e0886701f422bf45fa

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 49m 52s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 29m 27s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 29m 18s
✔️ cifmw-crc-podified-edpm-baremetal-minor-update SUCCESS in 2h 12m 38s
✔️ cifmw-pod-zuul-files SUCCESS in 5m 32s
adoption-standalone-to-crc-ceph-provider RETRY_LIMIT Host unreachable in 2h 35m 58s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 44s
✔️ cifmw-pod-pre-commit SUCCESS in 9m 17s
✔️ cifmw-molecule-install_yamls SUCCESS in 4m 48s

@evallesp
Copy link
Contributor Author

recheck

evallesp added a commit to evallesp/ci-framework that referenced this pull request Mar 24, 2026
This file in conjuction with:
* openstack-k8s-operators#3774
* openstack-k8s-operators#3772
* openstack-k8s-operators#3792

Allows ci-framework to clone those repos (architecture was already enabled)
when repositories are not already there due to zuul has not marked them as
required-projects or because we're running them outside the zuul ecosystem.

This is the almost the lowest in precedence, so if we still have these vars defined at zuul
level or defaults-vars (passed as extra-vars) or scenarios files, this file is not
taken into consideration.

 Precedence chain:
    * Zuul repos
    * cifmw_reproducer_repositories
    * cifmw_reproducer_default_repositories
    * Git pull logic in each of the roles

Signed-off-by: Enrique Vallespi Gil <evallesp@redhat.com>
@evallesp evallesp force-pushed the install_yamls_add_pull branch from 6b7075a to 19dc776 Compare March 24, 2026 13:49
evallesp added a commit to evallesp/ci-framework that referenced this pull request Mar 24, 2026
This file in conjuction with:
* openstack-k8s-operators#3774
* openstack-k8s-operators#3772
* openstack-k8s-operators#3792

Allows ci-framework to clone those repos (architecture was already enabled)
when repositories are not already there due to zuul has not marked them as
required-projects or because we're running them outside the zuul ecosystem.

This is the almost the lowest in precedence, so if we still have these vars defined at zuul
level or defaults-vars (passed as extra-vars) or scenarios files, this file is not
taken into consideration.

 Precedence chain:
    * Zuul repos
    * cifmw_reproducer_repositories
    * cifmw_reproducer_default_repositories
    * Git pull logic in each of the roles

Signed-off-by: Enrique Vallespi Gil <evallesp@redhat.com>
evallesp added a commit to evallesp/ci-framework that referenced this pull request Mar 24, 2026
This file in conjuction with:
* openstack-k8s-operators#3774
* openstack-k8s-operators#3772
* openstack-k8s-operators#3792

Allows ci-framework to clone those repos (architecture was already enabled)
when repositories are not already there due to zuul has not marked them as
required-projects or because we're running them outside the zuul ecosystem.

This is the almost the lowest in precedence, so if we still have these vars defined at zuul
level or defaults-vars (passed as extra-vars) or scenarios files, this file is not
taken into consideration.

 Precedence chain:
    * Zuul repos
    * cifmw_reproducer_repositories
    * cifmw_reproducer_default_repositories
    * Git pull logic in each of the roles

Signed-off-by: Enrique Vallespi Gil <evallesp@redhat.com>
@softwarefactory-project-zuul
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/ba70e3503a0149bd9755bbd6df647704

openstack-k8s-operators-content-provider FAILURE in 5m 28s
⚠️ podified-multinode-edpm-deployment-crc SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal-minor-update SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
✔️ cifmw-pod-zuul-files SUCCESS in 5m 56s
⚠️ adoption-standalone-to-crc-ceph-provider SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 9m 50s
✔️ cifmw-pod-pre-commit SUCCESS in 8m 34s
cifmw-molecule-install_yamls FAILURE in 4m 16s

evallesp added a commit to evallesp/ci-framework that referenced this pull request Mar 24, 2026
This file in conjuction with:
* openstack-k8s-operators#3774
* openstack-k8s-operators#3772
* openstack-k8s-operators#3792

Allows ci-framework to clone those repos (architecture was already enabled)
when repositories are not already there due to zuul has not marked them as
required-projects or because we're running them outside the zuul ecosystem.

This is the almost the lowest in precedence, so if we still have these vars defined at zuul
level or defaults-vars (passed as extra-vars) or scenarios files, this file is not
taken into consideration.

 Precedence chain:
    * Zuul repos
    * cifmw_reproducer_repositories
    * cifmw_reproducer_default_repositories
    * Git pull logic in each of the roles

Signed-off-by: Enrique Vallespi Gil <evallesp@redhat.com>
We're adding new variables: cifmw_install_yamls_src and cifmw_install_yamls_version
This repo is cloned from zuul builting tools, now we can clone this when deploying
outside zuul.

Signed-off-by: Enrique Vallespi Gil <evallesp@redhat.com>
@evallesp evallesp force-pushed the install_yamls_add_pull branch from 19dc776 to 6a126b7 Compare March 24, 2026 15:24
evallesp added a commit to evallesp/ci-framework that referenced this pull request Mar 24, 2026
This file in conjuction with:
* openstack-k8s-operators#3774
* openstack-k8s-operators#3772
* openstack-k8s-operators#3792

Allows ci-framework to clone those repos (architecture was already enabled)
when repositories are not already there due to zuul has not marked them as
required-projects or because we're running them outside the zuul ecosystem.

This is the almost the lowest in precedence, so if we still have these vars defined at zuul
level or defaults-vars (passed as extra-vars) or scenarios files, this file is not
taken into consideration.

 Precedence chain:
    * Zuul repos
    * cifmw_reproducer_repositories
    * cifmw_reproducer_default_repositories
    * Git pull logic in each of the roles

Signed-off-by: Enrique Vallespi Gil <evallesp@redhat.com>
evallesp added a commit to evallesp/ci-framework that referenced this pull request Mar 24, 2026
This file in conjuction with:
* openstack-k8s-operators#3774
* openstack-k8s-operators#3772
* openstack-k8s-operators#3792

Allows ci-framework to clone those repos (architecture was already enabled)
when repositories are not already there due to zuul has not marked them as
required-projects or because we're running them outside the zuul ecosystem.

This is the almost the lowest in precedence, so if we still have these vars defined at zuul
level or defaults-vars (passed as extra-vars) or scenarios files, this file is not
taken into consideration.

 Precedence chain:
    * Zuul repos
    * cifmw_reproducer_repositories
    * cifmw_reproducer_default_repositories
    * Git pull logic in each of the roles

Signed-off-by: Enrique Vallespi Gil <evallesp@redhat.com>
@softwarefactory-project-zuul
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/5e872b081f634c288e4f048de61be9af

✔️ openstack-k8s-operators-content-provider SUCCESS in 3h 22m 09s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 25m 21s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 27m 31s
✔️ cifmw-crc-podified-edpm-baremetal-minor-update SUCCESS in 1h 57m 06s
✔️ cifmw-pod-zuul-files SUCCESS in 6m 11s
adoption-standalone-to-crc-ceph-provider RETRY_LIMIT Host unreachable in 2h 38m 36s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 10m 37s
✔️ cifmw-pod-pre-commit SUCCESS in 10m 54s
✔️ cifmw-molecule-install_yamls SUCCESS in 4m 32s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants