Skip to content
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

Add OPM v1.40.0 to dev env #673

Merged
merged 2 commits into from
Jun 12, 2024
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docker/Dockerfile-workers
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ RUN dnf -y install \

ADD https://github.com/operator-framework/operator-registry/releases/download/v1.26.4/linux-amd64-opm /usr/bin/opm-v1.26.4
RUN chmod +x /usr/bin/opm-v1.26.4
ADD https://github.com/operator-framework/operator-registry/releases/download/v1.28.0/linux-amd64-opm /usr/bin/opm-v1.28.0
RUN chmod +x /usr/bin/opm-v1.28.0
ADD https://github.com/operator-framework/operator-registry/releases/download/v1.40.0/linux-amd64-opm /usr/bin/opm-v1.40.0
RUN chmod +x /usr/bin/opm-v1.40.0
# Create a link for default opm
RUN ln -s /usr/bin/opm-v1.28.0 /usr/bin/opm
RUN ln -s /usr/bin/opm-v1.26.4 /usr/bin/opm
RUN chmod +x /usr/bin/opm
ADD https://github.com/fullstorydev/grpcurl/releases/download/v1.8.5/grpcurl_1.8.5_linux_x86_64.tar.gz /src/grpcurl_1.8.5_linux_x86_64.tar.gz
RUN cd /usr/bin && tar -xf /src/grpcurl_1.8.5_linux_x86_64.tar.gz grpcurl && rm -f /src/grpcurl_1.8.5_linux_x86_64.tar.gz
Expand Down
4 changes: 2 additions & 2 deletions iib/workers/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,8 @@ class DevelopmentConfig(Config):
"v4.12": "opm-v1.26.4",
"v4.13": "opm-v1.26.4",
"v4.14": "opm-v1.26.4",
"v4.15": "opm-v1.28.0",
"v4.16": "opm-v1.28.0",
"v4.15": "opm-v1.26.4",
"v4.16": "opm-v1.40.0",
chandwanitulsi marked this conversation as resolved.
Show resolved Hide resolved
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def test_handle_create_empty_index_request_fbc(
'from_index, index_version, opm_version',
[
('index-image:410', 'v4.10', 'opm-v1.26.4'),
('index-image:415', 'v4.15', 'opm-v1.28.0'),
('index-image:415', 'v4.15', 'opm-v1.26.4'),
],
)
@mock.patch('iib.workers.tasks.build_create_empty_index._cleanup')
Expand Down