-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rebase on an early commit of #250 and implement e2e tests
Signed-off-by: Bryce Palmer <bpalmer@redhat.com>
- Loading branch information
1 parent
18046bc
commit a49efb5
Showing
6 changed files
with
299 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,2 @@ | ||
# The base image is expected to contain | ||
# /bin/opm (with a serve subcommand) and /bin/grpc_health_probe | ||
FROM quay.io/operator-framework/opm:latest | ||
|
||
# Configure the entrypoint and command | ||
ENTRYPOINT ["/bin/opm"] | ||
CMD ["serve", "/configs", "--cache-dir=/tmp/cache"] | ||
|
||
# Copy declarative config root into image at /configs and pre-populate serve cache | ||
FROM scratch | ||
ADD test-catalog /configs | ||
RUN ["/bin/opm", "serve", "/configs", "--cache-dir=/tmp/cache", "--cache-only"] | ||
|
||
# Set DC-specific label for the location of the DC root directory | ||
# in the image | ||
LABEL operators.operatorframework.io.index.configs.v1=/configs |
Oops, something went wrong.