-
Story
-
Resolution: Done
-
Normal
-
None
-
None
-
None
-
None
-
False
-
-
False
-
None
-
5
-
None
-
None
-
OTA 271
This card follows up the work for OTA-1351.
Currently, the src-rust image is built in CI by copying the source code files from
the src image which is built from a golang root.
The goal of this card is to build a rust build root (ref how the build root for go-ang is built and the CI doc for this topic) and use it to build src, bin, test-bin with ci-operator.
- src-rust -> src.
- deploy -> cincinnati: copy the cincinnati binary from bin (built by binary_build_commands) and then use it in the test. We need to think about this carefully because the deploy image is used at the moment for e2e tests for cincinnati and other repos and the creation of the image in production. bin (via build_command) -> cincinnati might not fit the best here. One principle we need to keep is that we should test the artifact that stays the closest to the one in production.
- e2e-test: copy the binaries for e2e test from test-bin (built by test_binary_build_commands).
Note that this card does not change anything in https://github.com/openshift/cincinnati/blob/master/dist/Dockerfile.deploy/Dockerfile which is used to create the cincinnati image for production.
The downstream image is pushed by cpass with its own Dockerfile.
Thus, what we do for this card has impact only on CI, not the production.