Skip to content

Commit

Permalink
changes after rebase
Browse files Browse the repository at this point in the history
Signed-off-by: Bryce Palmer <bpalmer@redhat.com>
  • Loading branch information
everettraven committed Aug 22, 2023
1 parent 4ecde2b commit 20bcdc6
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions hack/generate/samples/ansible/advanced_molecule.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,8 @@ func updateDockerfile(dir string) {
log.Info("replacing project Dockerfile to use ansible base image with the dev tag")
err := kbutil.ReplaceRegexInFile(
filepath.Join(dir, "Dockerfile"),
"quay.io/operator-framework/ansible-operator:.*",
"quay.io/operator-framework/ansible-operator:dev")
"quay.io/operator-framework/ansible-operator-plugins:.*",
"quay.io/operator-framework/ansible-operator-plugins:dev")
pkg.CheckError("replacing Dockerfile", err)

log.Info("inserting code to Dockerfile")
Expand Down
2 changes: 1 addition & 1 deletion hack/generate/samples/ansible/memcached_molecule.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func ImplementMemcachedMolecule(sample sample.Sample, image string) {
}

log.Info("replacing project Dockerfile to use ansible base image with the dev tag")
err := kbutil.ReplaceRegexInFile(filepath.Join(sample.Dir(), "Dockerfile"), "quay.io/operator-framework/ansible-operator:.*", "quay.io/operator-framework/ansible-operator:dev")
err := kbutil.ReplaceRegexInFile(filepath.Join(sample.Dir(), "Dockerfile"), "quay.io/operator-framework/ansible-operator-plugins:.*", "quay.io/operator-framework/ansible-operator-plugins:dev")
pkg.CheckError("replacing Dockerfile", err)

log.Info("adding RBAC permissions")
Expand Down
1 change: 1 addition & 0 deletions images/ansible-operator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ RUN set -e && yum clean all && rm -rf /var/cache/yum/* \

COPY --from=basebuilder /usr/local/lib64/python3.9/site-packages /usr/local/lib64/python3.9/site-packages
COPY --from=basebuilder /usr/local/lib/python3.9/site-packages /usr/local/lib/python3.9/site-packages
COPY --from=basebuilder /usr/local/bin /usr/local/bin

ENV TINI_VERSION=v0.19.0
RUN curl -L -o /tini https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${TARGETARCH} \
Expand Down
2 changes: 1 addition & 1 deletion internal/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ var (
// and release process, this variable will be removed.

// TODO: find a way to make this automated. For now manually update this before releases.
ImageVersion = "v1.31.0"
ImageVersion = "v0.0.0"
)
2 changes: 1 addition & 1 deletion testdata/memcached-molecule-operator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/operator-framework/ansible-operator:dev
FROM quay.io/operator-framework/ansible-operator-plugins:dev

COPY requirements.yml ${HOME}/requirements.yml
RUN ansible-galaxy collection install -r ${HOME}/requirements.yml \
Expand Down
2 changes: 1 addition & 1 deletion testdata/memcached-molecule-operator/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ ifeq (,$(shell which ansible-operator 2>/dev/null))
@{ \
set -e ;\
mkdir -p $(dir $(ANSIBLE_OPERATOR)) ;\
curl -sSLo $(ANSIBLE_OPERATOR) https://github.com/operator-framework/ansible-operator-plugins/releases/download/v1.31.0/ansible-operator_$(OS)_$(ARCH) ;\
curl -sSLo $(ANSIBLE_OPERATOR) https://github.com/operator-framework/ansible-operator-plugins/releases/download/v0.0.0/ansible-operator_$(OS)_$(ARCH) ;\
chmod +x $(ANSIBLE_OPERATOR) ;\
}
else
Expand Down

0 comments on commit 20bcdc6

Please sign in to comment.