-
Notifications
You must be signed in to change notification settings - Fork 246
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/integration' into 2365-consisten…
…t-translateId-name
- Loading branch information
Showing
218 changed files
with
196,780 additions
and
1,785 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
|
||
# In order to ensure the query microservices are consistent with the wildfly webservice, we need | ||
# to ensure that changes made to QueryExecutorBean match QueryManagementService, and changes made | ||
# to LookupUUIDUtil match LookupService in the Query Service. | ||
QueryExecutorBean.java @jwomeara | ||
LookupUUIDUtil.java @jwomeara | ||
RunningQuery.java @jwomeara | ||
QueryExecutorBean.java @jwomeara @ivakegg | ||
LookupUUIDUtil.java @jwomeara @ivakegg | ||
RunningQuery.java @jwomeara @ivakegg | ||
/core/ @jwomeara @ivakegg | ||
/warehouse/query-core/ @jwomeara @ivakegg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,6 +31,10 @@ jobs: | |
java-version: ${{env.JAVA_VERSION}} | ||
maven-version: 3.9.5 | ||
cache: 'maven' | ||
- name: Extract branch name | ||
shell: bash | ||
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT | ||
id: extract_branch | ||
- name: Format code | ||
env: | ||
USER_NAME: ${{ secrets.USER_NAME }} | ||
|
@@ -42,6 +46,7 @@ jobs: | |
- name: Commit Changes | ||
run: | | ||
if [ "$diffs_found" = true ]; then | ||
git checkout -b ${{ steps.extract_branch.outputs.branch }} | ||
git config --global user.name "GitHub Actions" | ||
git config --global user.email "[email protected]" | ||
git commit -am "Formatting job fix" | ||
|
@@ -150,6 +155,75 @@ jobs: | |
TAG=$(mvn -s $GITHUB_WORKSPACE/.github/workflows/settings.xml -q -N -Dmaven.build.cache.enabled=false -Dexec.executable='echo' -Dexec.args='${project.version}' exec:exec) | ||
contrib/datawave-quickstart/docker/docker-build.sh ${TAG} --docker-opts "${DOCKER_BUILD_OPTS}" | ||
compose-build-and-test-latest-snapshots: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Free up some space | ||
run: | | ||
sudo rm -rf /usr/share/dotnet | ||
sudo rm -rf /opt/ghc | ||
sudo rm -rf /usr/local/share/boost | ||
sudo rm -rf $AGENT_TOOLSDIRECTORY | ||
- name: Checkout Code | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: 'recursive' | ||
- name: Set up JDK ${{env.JAVA_VERSION}} | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: ${{env.JAVA_DISTRIBUTION}} | ||
java-version: ${{env.JAVA_VERSION}} | ||
maven-version: 3.9.5 | ||
cache: 'maven' | ||
# Builds the quickstart and microservice docker images and runs a query test | ||
- name: Docker Compose Query Tests | ||
env: | ||
USER_NAME: ${{ secrets.USER_NAME }} | ||
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} | ||
run: | | ||
# update datawave dependencies to use the latest snapshots | ||
mvn -s $GITHUB_WORKSPACE/.github/workflows/settings.xml -B -V -e versions:update-properties versions:update-parent -DallowSnapshots=true -Dincludes=gov.nsa.* | ||
mvn -s $GITHUB_WORKSPACE/.github/workflows/settings.xml -B -V -e -Pcompose -Dmicroservice-docker -Dquickstart-docker -Ddeploy -Dtar -DskipTests clean install | ||
# free up some space so that we don't run out | ||
docker system prune -f | ||
mvn -s $GITHUB_WORKSPACE/.github/workflows/settings.xml -B -V -e -Pcompose -Dmicroservice-docker -Dquickstart-docker -Ddeploy -Dtar -DskipTests clean | ||
cd docker | ||
./bootstrap.sh | ||
attempt=0 | ||
max_attempts=20 | ||
while [ $attempt -lt $max_attempts ]; do | ||
attempt=$((attempt+1)) | ||
echo "Starting docker compose (Attempt ${attempt}/${max_attempts})" | ||
nohup docker compose up -d --no-recreate < /dev/null > compose.out 2>&1 & | ||
sleep 60s | ||
cat compose.out | ||
# check to see if the query service is running | ||
QUERY="$(docker compose ps --status running --services | grep query || true)" | ||
if [ "$QUERY" == "query" ] ; then | ||
echo "Docker compose started successfully" | ||
break | ||
elif [ $attempt -eq $max_attempts ] ; then | ||
echo "Failed to start docker compose" | ||
exit 1 | ||
fi | ||
done | ||
cd scripts | ||
./testAll.sh | ||
- name: Dump Logs | ||
if: failure() | ||
run: | | ||
cd docker | ||
docker compose logs | ||
# Here's an example of how you'd deploy the image to the github package registry. | ||
# We don't want to do this by default since packages on github cannot be deleted | ||
# or overwritten. So this could only be done for tags, however it seems the quickstart | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule metadata-utils
updated
2 files
+3 −0 | .github/CODEOWNERS | |
+6 −1 | src/main/java/datawave/query/util/MetadataHelper.java |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule type-utils
updated
5 files
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.