Skip to content

Commit

Permalink
Remove opm 1.28.0 from dev env
Browse files Browse the repository at this point in the history
  • Loading branch information
yashvardhannanavati authored and xDaile committed Jun 12, 2024
1 parent 4441797 commit f555c99
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions docker/Dockerfile-workers
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +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
2 changes: 1 addition & 1 deletion iib/workers/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ 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.15": "opm-v1.26.4",
"v4.16": "opm-v1.40.0",
}

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

0 comments on commit f555c99

Please sign in to comment.