Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 9 additions & 0 deletions openshift/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,12 @@ generate-requirements: build-requirements
.PHONY: check-requirements
check-requirements: generate-requirements
git diff --exit-code # fast-fail if generate-requirements produced changes

.PHONY: update-collections
update-collections:
cp testdata/memcached-molecule-operator/requirements.yml openshift/release/ansible/requirements.yml
./openshift/release/ansible/update-collections.sh

.PHONY: check-collections
check-collections: update-collections
git diff --exit-code # fast-fail if check-collections produced changes
8 changes: 4 additions & 4 deletions openshift/ci/dockerfiles/ansible-e2e.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# openshift-ansible-operator-plugins is built from the openshift/Dockerfile
FROM openshift-ansible-operator-plugins

COPY openshift/ci/testdata/ansible/memcached-operator/requirements.yml ${HOME}/requirements.yml
COPY testdata/memcached-molecule-operator/requirements.yml ${HOME}/requirements.yml
Copy link
Contributor

@TrilokGeer TrilokGeer Feb 3, 2025

Choose a reason for hiding this comment

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

Is there any path change in CI ?

Copy link
Member Author

Choose a reason for hiding this comment

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

We don't need to change the CI job setup in https://github.com/openshift/release, because the make targets and Dockerfile paths remain unchanged.

RUN ansible-galaxy collection install -r ${HOME}/requirements.yml \
&& chmod -R ug+rwx ${HOME}/.ansible

COPY openshift/ci/testdata/ansible/memcached-operator/watches.yaml ${HOME}/watches.yaml
COPY openshift/ci/testdata/ansible/memcached-operator/roles/ ${HOME}/roles/
COPY openshift/ci/testdata/ansible/memcached-operator/playbooks/ ${HOME}/playbooks/
COPY testdata/memcached-molecule-operator/watches.yaml ${HOME}/watches.yaml
COPY testdata/memcached-molecule-operator/roles/ ${HOME}/roles/
COPY testdata/memcached-molecule-operator/playbooks/ ${HOME}/playbooks/
14 changes: 0 additions & 14 deletions openshift/ci/testdata/ansible/memcached-operator/.gitignore

This file was deleted.

9 changes: 0 additions & 9 deletions openshift/ci/testdata/ansible/memcached-operator/Dockerfile

This file was deleted.

106 changes: 0 additions & 106 deletions openshift/ci/testdata/ansible/memcached-operator/Makefile

This file was deleted.

17 changes: 0 additions & 17 deletions openshift/ci/testdata/ansible/memcached-operator/PROJECT

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading