Compare commits

...

5 Commits

Author SHA1 Message Date
Deda
b2de962a3f Add step to run.sh which deletes /memgraph from builder before copy 2023-10-31 19:22:52 +01:00
Deda
68e79bdaf4 Fix run.sh 2023-10-31 19:18:05 +01:00
Deda
7ee44ae484 Add git clean step to run.sh 2023-10-31 19:13:55 +01:00
Deda
0e0f8fe231 Revert timeout for arm builds back to 120 minutes 2023-10-31 18:13:10 +01:00
Deda
390fc98379 Fix timeout for arm package all builds and nodejs dependency issue for amazon linux 2 2023-10-31 13:04:37 +01:00
2 changed files with 6 additions and 9 deletions

View File

@@ -158,9 +158,9 @@ install() {
continue
fi
if [ "$pkg" == nodejs ]; then
curl -sL https://rpm.nodesource.com/setup_16.x | bash -
if ! yum list installed nodejs >/dev/null 2>/dev/null; then
yum install -y nodejs
yum install https://rpm.nodesource.com/pub_16.x/nodistro/repo/nodesource-release-nodistro-1.noarch.rpm -y
yum install nodejs -y --setopt=nodesource-nodejs.module_hotfixes=1
fi
continue
fi
@@ -172,13 +172,6 @@ install() {
fi
continue
fi
if [ "$pkg" == nodejs ]; then
curl -sL https://rpm.nodesource.com/setup_16.x | bash -
if ! yum list installed nodejs >/dev/null 2>/dev/null; then
yum install -y nodejs
fi
continue
fi
if [ "$pkg" == java-11-openjdk ]; then
amazon-linux-extras install -y java-openjdk11
continue

View File

@@ -72,6 +72,10 @@ make_package () {
if [[ "$(git rev-parse --abbrev-ref HEAD)" != "master" ]]; then
git fetch origin master:master
fi
# Ensure we have a clean build directory
docker exec "$build_container" rm -rf /memgraph
docker exec "$build_container" mkdir -p /memgraph
# TODO(gitbuda): Revisit copying the whole repo -> makese sense under CI.
docker cp "$PROJECT_ROOT/." "$build_container:/memgraph/"