-
Notifications
You must be signed in to change notification settings - Fork 1.8k
ci: add ansible-operator-base image and manual build workflow #4555
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
ci: add ansible-operator-base image and manual build workflow #4555
Conversation
|
/cc @jmrodri @theishshah |
|
The default tag would look like Which would then be pinned in # Builder
FROM --platform=$BUILDPLATFORM golang:1.15 as builder
ARG TARGETARCH
...
RUN GOOS=linux GOARCH=$TARGETARCH make build/ansible-operator
# New base image
FROM quay.io/operator-framework/ansible-operator-base:v1.4.0-24-g0c75f7af1801373a3c85e3fb728dd2dccfd6a851
COPY --from=builder /workspace/build/ansible-operator /usr/local/bin/ansible-operator
CMD ["/usr/local/bin/ansible-operator", "run", "--watches-file=./watches.yaml"] |
ansible-operator-base image .github/workflows/deploy-manual.yml: start workflows manually, namely the ansible-operator-base image deployment job Signed-off-by: Eric Stroczynski <[email protected]>
Signed-off-by: Eric Stroczynski <[email protected]>
735e749 to
b3fc889
Compare
|
/retest |
camilamacedo86
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understand that we are only adding this one because it is required for we speeding the process to build the ansible image.
It is not required for helm because the only ansible one has many deps.
I am ok with 👍
Description of the change:
Motivation for the change: the ansible-operator image takes awhile to build, so it would be nice to build a base image containing the long-running dependency installation steps every so often, ex. when dependencies are updated.
/area dependency
Checklist
If the pull request includes user-facing changes, extra documentation is required:
changelog/fragments(seechangelog/fragments/00-template.yaml)website/content/en/docs