Skip to content
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

OPSEXP-2735 Add search enterprise all-in-one image Dockerfile #5

Merged
merged 14 commits into from
Jul 23, 2024
2 changes: 1 addition & 1 deletion docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ target "repository" {

target "search_liveindexing" {
matrix = {
liveindexing = ["metadata", "path"]
liveindexing = ["metadata", "path", "aio"]
}
name = "search_liveindexing-${liveindexing}"
args = {
Expand Down
3 changes: 2 additions & 1 deletion repository/artifacts.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"version": "23.2.2",
"path": "repository",
"classifier": ".zip",
"group": "org.alfresco"
"group": "org.alfresco",
"name_addon": ""
}
]
}
Expand Down
3 changes: 2 additions & 1 deletion scripts/fetch-artifact.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ for i in $(find . -name artifacts.json -mindepth 2); do
ARTIFACT_EXT=$(jq -r ".artifacts.acs${INDEX_KEY}[$j].classifier" $i)
ARTIFACT_GROUP=$(jq -r ".artifacts.acs${INDEX_KEY}[$j].group" $i)
ARTIFACT_PATH=$(jq -r ".artifacts.acs${INDEX_KEY}[$j].path" $i)
ARRIFACT_NAME_ADDON=$(jq -r ".artifacts.acs${INDEX_KEY}[$j].name_addon" $i)
echo "Downloading $ARTIFACT_GROUP:$ARTIFACT_NAME $ARTIFACT_VERSION from $ARTIFACT_BASEURL"
wget "${ARTIFACT_BASEURL}/${ARTIFACT_GROUP/\./\/}/${ARTIFACT_NAME}/${ARTIFACT_VERSION}/${ARTIFACT_NAME}-${ARTIFACT_VERSION}${ARTIFACT_EXT}" \
-O ${ARTIFACT_PATH}/${ARTIFACT_NAME}-${ARTIFACT_VERSION}${ARTIFACT_EXT}
-O ${ARTIFACT_PATH}/${ARTIFACT_NAME}${ARRIFACT_NAME_ADDON}-${ARTIFACT_VERSION}${ARTIFACT_EXT}
done
done
14 changes: 12 additions & 2 deletions search/enterprise/common/artifacts.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,24 @@
"version": "4.0.1",
"path": "search/enterprise/common",
"classifier": "-app.jar",
"group": "org.alfresco"
"group": "org.alfresco",
"name_addon": ""
},
{
"name": "alfresco-elasticsearch-live-indexing-path",
"version": "4.0.1",
"path": "search/enterprise/common",
"classifier": "-app.jar",
"group": "org.alfresco"
"group": "org.alfresco",
"name_addon": ""
},
{
"name": "alfresco-elasticsearch-live-indexing",
"version": "4.0.1",
"path": "search/enterprise/common",
"classifier": "-app.jar",
"group": "org.alfresco",
"name_addon": "-aio"
pmacius marked this conversation as resolved.
Show resolved Hide resolved
}
]
}
Expand Down