Coder Social home page Coder Social logo

Comments (6)

smiklosovic avatar smiklosovic commented on August 19, 2024 1

hi @aszecowka , please try to do

make all

from the root of the repository

from cassandra-operator.

smiklosovic avatar smiklosovic commented on August 19, 2024 1

@aszecowka try this branch

https://github.com/instaclustr/cassandra-operator/tree/issue-413

make all passes there

from cassandra-operator.

aszecowka avatar aszecowka commented on August 19, 2024 1

@smiklosovic On the branch issue-413 everything works like a charm, thanks for your support!
I have one additional question, to publish images to my registry, can I just execute the following commands?

make all
export REGISTRY=<TBD>
export TAG=<TBD>
./buildenv/build-all prod
./buildenv/release-all prod

In release-all I am going to comment out release_helm because I am not interested in helm chart right now.
I assume, that after that operation, we should be able to replace images from version v7.1.0 with images build on branch issue-413 and new images should work with the same configuration as we have previously out-of-the-box? In other words, issue-413 is backward compatible with v7.1.0?

from cassandra-operator.

aszecowka avatar aszecowka commented on August 19, 2024

hi @smiklosovic
thanks for quick response 👍
I got the following error for make all

DEBIAN_RELEASE=buster OPENJRE_BASE_IMAGE=debian:buster OPENJRE_VERSION=11.0.8+10-1~deb10u1 OPENJRE_IMAGE_TAG=buster-11.0.8-10-1-deb10u1 OPENJDK_PACKAGE=openjdk-11-jre-headless CASSANDRA_IMAGE_VERSION="1.0.0" /Library/Developer/CommandLineTools/usr/bin/make -C base-openjre
docker build \
		--build-arg OPENJRE_BASE_IMAGE=debian:buster \
		--build-arg openjre_version=11.0.8+10-1~deb10u1 \
		--build-arg openjre_package=openjdk-11-jre-headless \
		-t base-openjre \
		-t base-openjre:buster-11.0.8-10-1-deb10u1 \
		.
[+] Building 3.7s (7/7) FINISHED
 => [internal] load build definition from Dockerfile                                                                                                                                                                   0.0s
 => => transferring dockerfile: 37B                                                                                                                                                                                    0.0s
 => [internal] load .dockerignore                                                                                                                                                                                      0.0s
 => => transferring context: 2B                                                                                                                                                                                        0.0s
 => [internal] load metadata for docker.io/library/debian:buster                                                                                                                                                       0.3s
 => [internal] load build context                                                                                                                                                                                      0.0s
 => => transferring context: 26B                                                                                                                                                                                       0.0s
 => [1/3] FROM docker.io/library/debian:buster@sha256:bb8c62f9f540a5f5f49f7ed5caae0e2889f999cd14553f2aaccaf1fa4fcb998d                                                                                                 0.0s
 => CACHED [2/3] COPY dagi /usr/local/bin/                                                                                                                                                                             0.0s
 => ERROR [3/3] RUN dagi locales gnupg2 dirmngr curl uuid-runtime     openjdk-11-jre-headless=11.0.8+10-1~deb10u1 libjna-java libjna-jni procps                                                                        3.3s
------
 > [3/3] RUN dagi locales gnupg2 dirmngr curl uuid-runtime     openjdk-11-jre-headless=11.0.8+10-1~deb10u1 libjna-java libjna-jni procps:
#7 0.221 + '[' locales == file ']'
#7 0.221 + apt-get update
#7 0.382 Get:1 http://deb.debian.org/debian buster InRelease [122 kB]
#7 0.446 Get:2 http://deb.debian.org/debian-security buster/updates InRelease [34.8 kB]
#7 0.472 Get:3 http://deb.debian.org/debian buster-updates InRelease [56.6 kB]
#7 0.557 Get:4 http://deb.debian.org/debian buster/main amd64 Packages [7909 kB]
#7 0.865 Get:5 http://deb.debian.org/debian-security buster/updates/main amd64 Packages [423 kB]
#7 0.883 Get:6 http://deb.debian.org/debian buster-updates/main amd64 Packages [8788 B]
#7 1.824 Fetched 8554 kB in 2s (5421 kB/s)
#7 1.824 Reading package lists...
#7 2.418 + DEBIAN_FRONTEND=noninteractive
#7 2.418 + apt-get -qy --no-install-recommends install locales gnupg2 dirmngr curl uuid-runtime openjdk-11-jre-headless=11.0.8+10-1~deb10u1 libjna-java libjna-jni procps
#7 2.429 Reading package lists...
#7 3.029 Building dependency tree...
#7 3.147 Reading state information...
#7 3.227 E: Version '11.0.8+10-1~deb10u1' for 'openjdk-11-jre-headless' was not found
------
executor failed running [/bin/sh -c dagi locales gnupg2 dirmngr curl uuid-runtime     ${openjre_package}=${openjre_version} libjna-java libjna-jni procps]: exit code: 100
make[2]: *** [base-openjre] Error 1
make[1]: *** [base-openjre-11] Error 2
make: *** [docker] Error 2

Should I set up some environment variables before running the build?

from cassandra-operator.

smiklosovic avatar smiklosovic commented on August 19, 2024

I am not sure about the commands, you need to try it, it was quite a while I was dealing with this but your suggestion seems reasonable.

It should be compatible, yes. All I did was I bumped versions of openjdk because there are different versions already and I bumped Cassandra 4.0-beta4 to 4.0.0. These 4 releases should be compatible as well.

from cassandra-operator.

aszecowka avatar aszecowka commented on August 19, 2024

Thanks. No more questions from my side. Feel free to close this issue.

from cassandra-operator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.