Skip to content

Conversation

coderzc
Copy link
Member

@coderzc coderzc commented Dec 5, 2022

No description provided.

@coderzc coderzc changed the title Change base image to openjdk:11-slim Change basic image to openjdk:11-slim Dec 5, 2022
@coderzc coderzc requested review from imbajin and javeme December 5, 2022 05:15
@codecov
Copy link

codecov bot commented Dec 5, 2022

Codecov Report

Merging #216 (cab6bd2) into master (7c7731c) will not change coverage.
The diff coverage is n/a.

@@ Coverage Diff @@ ## master #216 +/- ## ========================================= Coverage 85.84% 85.84% Complexity 3233 3233 ========================================= Files 344 344 Lines 12079 12079 Branches 1087 1087 ========================================= Hits 10369 10369 Misses 1185 1185 Partials 525 525 

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

# limitations under the License.
#
FROM openjdk:11-jre
FROM openjdk:11-slim
Copy link
Member

@imbajin imbajin Dec 5, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could ensure the diff between slim and default (and comment in this PR for others to refer)

imbajin
imbajin previously approved these changes Dec 5, 2022
@javeme
Copy link
Contributor

javeme commented Dec 5, 2022

Error: Failures: Error: MiniKubeTest.testJobCancelled:258 Argument(s) are different! Wanted: jobObserver.onJobStateChanged( org.apache.hugegraph.computer.driver.DefaultJobState@525c5af0 ); -> at org.apache.hugegraph.computer.k8s.MiniKubeTest.testJobCancelled(MiniKubeTest.java:258) Actual invocations have different arguments: jobObserver.onJobStateChanged( org.apache.hugegraph.computer.driver.DefaultJobState@27687ac0 ); -> at org.apache.hugegraph.computer.k8s.driver.KubernetesDriver.waitJobAsync(KubernetesDriver.java:299) jobObserver.onJobStateChanged( org.apache.hugegraph.computer.driver.DefaultJobState@27687ac0 ); -> at org.apache.hugegraph.computer.k8s.driver.KubernetesDriver$1.eventReceived(KubernetesDriver.java:345) jobObserver.onJobStateChanged( org.apache.hugegraph.computer.driver.DefaultJobState@27687ac0 ); -> at org.apache.hugegraph.computer.k8s.driver.KubernetesDriver$1.eventReceived(KubernetesDriver.java:345)
@javeme
Copy link
Contributor

javeme commented Dec 6, 2022

ci error:

2022-12-06 07:11:45 (3.54 MB/s) - ‘ml-latest-small.zipsaved [978202/978202] unzip -d ${DATASET_DIR} ml-latest-small.zip Archive: ml-latest-small.zip creating: computer-dist/src/assembly/travis/../dataset/ml-latest-small/ inflating: computer-dist/src/assembly/travis/../dataset/ml-latest-small/links.csv inflating: computer-dist/src/assembly/travis/../dataset/ml-latest-small/tags.csv inflating: computer-dist/src/assembly/travis/../dataset/ml-latest-small/ratings.csv inflating: computer-dist/src/assembly/travis/../dataset/ml-latest-small/README.txt inflating: computer-dist/src/assembly/travis/../dataset/ml-latest-small/movies.csv hugegraph-toolchain/hugegraph-loader/apache-hugegraph-loader-*/bin/hugegraph-loader.sh \ -g hugegraph -f ${DATASET_DIR}/struct.json -s ${DATASET_DIR}/schema.groovy || exit 1 computer-dist/src/assembly/travis/load-data-into-hugegraph.sh: line 39: hugegraph-toolchain/hugegraph-loader/apache-hugegraph-loader-incubating-1.0.0/bin/hugegraph-loader.sh: Permission denied Error: Process completed with exit code 1.
FROM openjdk:11-slim
LABEL maintainer="HugeGraph Docker Maintainers <dev@hugegraph.apache.org>"
WORKDIR /opt/app
WORKDIR /hugegraph/operator
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

current user is? is the access permission enough?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

root?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rename to /opt/hugegraph-operator?

@z7658329
Copy link
Member

z7658329 commented Dec 8, 2022

shell script permission denied, @coderzc see
apache/incubator-hugegraph-toolchain#394

@coderzc coderzc merged commit 73b804d into master Dec 11, 2022
@coderzc coderzc deleted the change_base_image branch December 11, 2022 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants