Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
167 commits
Select commit Hold shift + click to select a range
86361f2
existance
Oct 23, 2025
9a34e2d
get mappings from opensearch
Oct 29, 2025
ae05410
sonar cleanup
Oct 29, 2025
bcc4d5f
sonar cleanup
Oct 29, 2025
718b3b6
missed test dependencies
Oct 29, 2025
bc4b2f9
sonar cleanup
Oct 29, 2025
c9396a6
sonar cleanup
Oct 30, 2025
908e6c1
Update service/src/main/java/gov/nasa/pds/api/registry/model/Antlr4Se…
al-niessner Nov 3, 2025
8514632
Update CHANGELOG.md
al-niessner Nov 3, 2025
6a4d600
Update service/src/test/java/gov/nasa/pds/api/registry/opensearch/Ant…
al-niessner Nov 3, 2025
40ac166
Update developer docs to point to registry docs for integration testing
jordanpadams Nov 3, 2025
4e2c487
clean up the docs
Nov 13, 2025
385316f
add unit testing to show exists is parsing as expected
Nov 13, 2025
f2e76d2
postman testing
Nov 19, 2025
e8d6771
Bump actions/checkout from 5 to 6
dependabot[bot] Nov 24, 2025
24650a3
Merge branch 'develop' into issue_406
al-niessner Dec 10, 2025
f8bb99a
Update TestParsing.java
al-niessner Dec 10, 2025
9072d4d
fix lexer unit tests
Dec 11, 2025
cd136b0
remove TODOs, add critical command for Thomas L
Dec 12, 2025
427fb5f
Merge pull request #700 from NASA-PDS/issue_406
jordanpadams Dec 12, 2025
11b7f80
Update changelog
pdsen-ci Dec 12, 2025
5991248
Merge pull request #710 from NASA-PDS/dependabot/github_actions/devel…
jordanpadams Dec 12, 2025
e5e40e5
Update changelog
pdsen-ci Dec 12, 2025
27da157
Bump actions/cache from 4 to 5
dependabot[bot] Dec 15, 2025
32df333
Bump actions/upload-artifact from 5 to 6
dependabot[bot] Dec 15, 2025
fd04533
Merge pull request #714 from NASA-PDS/dependabot/github_actions/devel…
jordanpadams Jan 6, 2026
426bc81
Merge pull request #713 from NASA-PDS/dependabot/github_actions/devel…
jordanpadams Jan 6, 2026
e58ff6b
Update changelog
pdsen-ci Jan 6, 2026
f05ffb4
document behaviour
alexdunnjpl Jan 6, 2026
f9fe1ea
updated antlr language
Jan 12, 2026
79a1fe5
update processor to match new wildcarding
Jan 13, 2026
dc1a2ad
make sure at least on should matches
Jan 13, 2026
9c66d46
upgrade jdk dependency in cicd
Jan 22, 2026
a156e25
upgrade jdk in docker image
Jan 22, 2026
06f493f
try a different jdk package name
Jan 22, 2026
0ba5f43
downgrade to jdk21 since 25 is not available alpine 3.22
Jan 22, 2026
5048ea1
Update changelog
pdsen-ci Jan 22, 2026
12d25ed
add detail on string cast in the responses
Jan 26, 2026
10b74aa
move description in code as that is what is displayed. Did not have t…
Jan 26, 2026
5d07f74
trigger tests
Jan 26, 2026
4c93668
Merge pull request #718 from NASA-PDS/behaviour-doco
tloubrieu-jpl Jan 26, 2026
4839e75
Update changelog
pdsen-ci Jan 26, 2026
95778f7
forget to change single names
Jan 27, 2026
c0f4166
Merge pull request #723 from NASA-PDS/issue_611
tloubrieu-jpl Jan 28, 2026
2ff80fb
Update changelog
pdsen-ci Jan 28, 2026
efe000c
last step
Feb 2, 2026
ba9b4e7
makes it backward compatible
Feb 2, 2026
7537998
merge matchMembersOfCollection() and matchMembersOfBundle() into a un…
alexdunnjpl Jan 12, 2026
a487552
Correct ancestry metadata attribute name
alexdunnjpl Jan 12, 2026
84215fa
implement recursive step to resolve LID references to the set of all …
alexdunnjpl Jan 27, 2026
4b77de1
implement deduplication which was missing
alexdunnjpl Jan 27, 2026
14eca0c
fix interpretation of non-array-like fields such as lidvid et al.
alexdunnjpl Feb 3, 2026
59114dd
Merge pull request #722 from NASA-PDS/ancestry-overhaul-update
tloubrieu-jpl Feb 5, 2026
8c61218
Update changelog
pdsen-ci Feb 5, 2026
b69ce34
Bump actions/upload-artifact from 6 to 7
dependabot[bot] Mar 2, 2026
f4fcfe2
Bump docker/login-action from 3 to 4
dependabot[bot] Mar 9, 2026
0cbe156
Bump docker/setup-buildx-action from 3 to 4
dependabot[bot] Mar 9, 2026
ed66b3f
Bump docker/build-push-action from 6 to 7
dependabot[bot] Mar 9, 2026
0da3039
Merge pull request #738 from NASA-PDS/dependabot/github_actions/devel…
jordanpadams Mar 9, 2026
9aa7b0a
Merge pull request #737 from NASA-PDS/dependabot/github_actions/devel…
jordanpadams Mar 9, 2026
126e3ae
Merge pull request #733 from NASA-PDS/dependabot/github_actions/devel…
jordanpadams Mar 9, 2026
e7d3a5b
Merge pull request #736 from NASA-PDS/dependabot/github_actions/devel…
jordanpadams Mar 9, 2026
f4e0c20
Bump docker/setup-qemu-action from 3 to 4
dependabot[bot] Mar 9, 2026
e4a480f
Merge pull request #735 from NASA-PDS/dependabot/github_actions/devel…
jordanpadams Mar 9, 2026
ab8e65a
Update changelog
pdsen-ci Mar 9, 2026
1f88b60
add the missing comments sonarcube was complaining about
Mar 19, 2026
61cc4c3
Update changelog
pdsen-ci Mar 19, 2026
09f8703
Update Search.g4
al-niessner Mar 23, 2026
48196ae
Update TestParsing.java
al-niessner Mar 24, 2026
75a8b3d
Merge pull request #741 from NASA-PDS/issue_727
jordanpadams Apr 2, 2026
7c19d51
Update changelog
pdsen-ci Apr 2, 2026
e38bf46
fix member-of/member-of with updated opensearch schema
Apr 6, 2026
3eb2d50
deprecate the members/members endpoint with documentation and error m…
Apr 7, 2026
4f79981
Update changelog
pdsen-ci Apr 7, 2026
9965593
retrigger branch test
Apr 7, 2026
fbcb4a9
retrigger branch test
Apr 7, 2026
bf0607b
retrigger branch test
Apr 7, 2026
a84db8e
Add docker compose logs
tloubrieu-jpl Apr 7, 2026
f4765a7
retrigger branch test
Apr 7, 2026
1cba782
Merge branch 'reduced_member_support' of https://github.com/NASA-PDS/…
Apr 7, 2026
fd66832
Tryng to debug the github action
tloubrieu-jpl Apr 7, 2026
a8a7274
Add log on top to investigate docker compose issue
tloubrieu-jpl Apr 7, 2026
96d5484
Update branch-cicd.yaml
tloubrieu-jpl Apr 7, 2026
f89f543
Update branch-cicd.yaml
tloubrieu-jpl Apr 7, 2026
339cf11
retrigger branch test
Apr 7, 2026
143ce05
Update branch-cicd.yaml
tloubrieu-jpl Apr 8, 2026
4d82915
retrigger branch test
Apr 8, 2026
4daff4a
Merge branch 'reduced_member_support' of https://github.com/NASA-PDS/…
Apr 8, 2026
23dcf95
trigger github action tests
Apr 8, 2026
5c972d3
add content to health check to avoid verbose warning in API log on he…
Apr 8, 2026
2cee087
upgrade deendency for security prupose
Apr 8, 2026
0ab7cd6
Run without stop on exit because it interrupts the service for no goo…
tloubrieu-jpl Apr 9, 2026
fb614f5
adjust dependency to avoid vulnerability
Apr 9, 2026
366c425
Merge branch 'reduced_member_support' of https://github.com/NASA-PDS/…
Apr 9, 2026
f98ffe2
Update branch-cicd.yaml
tloubrieu-jpl Apr 9, 2026
e332a87
use constant for string used in 3 places.
Apr 9, 2026
48d6c12
Merge branch 'reduced_member_support' of https://github.com/NASA-PDS/…
Apr 9, 2026
db3f8aa
fix snonacloud medium gravity review
Apr 9, 2026
9690842
fix minor sonnaQube issue
Apr 9, 2026
428029d
add push docker images to GHCR for development versions.
Apr 10, 2026
a3898a0
Update changelog
pdsen-ci Apr 10, 2026
43e1abd
adjust the naming of the ghcr docker image to comply with the reposit…
Apr 10, 2026
61bc2d2
Merge branch 'develop' of https://github.com/NASA-PDS/registry-api in…
Apr 10, 2026
2a783e2
fix lower function which was not supported in github actions
Apr 10, 2026
a217c45
Update changelog
pdsen-ci Apr 10, 2026
183e301
load=true so that the build image can be re-tagged in later step.
Apr 10, 2026
a4b0804
Merge branch 'develop' of https://github.com/NASA-PDS/registry-api in…
Apr 10, 2026
71f3120
Update changelog
pdsen-ci Apr 10, 2026
dbedc30
push docker image to ghcr first and then sync it with dockerhub
Apr 10, 2026
2de2c37
Merge branch 'develop' of https://github.com/NASA-PDS/registry-api in…
Apr 10, 2026
3dd9537
Update changelog
pdsen-ci Apr 10, 2026
01ce256
change GHCR authentication, for the better
Apr 10, 2026
13dc0a4
Update changelog
pdsen-ci Apr 10, 2026
ba62357
add missing registry
Apr 10, 2026
5d3a1ce
Update changelog
pdsen-ci Apr 10, 2026
cbd3ddf
condense the docker push code
Apr 10, 2026
558d943
Merge branch 'develop' of https://github.com/NASA-PDS/registry-api in…
Apr 10, 2026
6e7c650
fix env variable call syntax
Apr 10, 2026
1de091f
Update changelog
pdsen-ci Apr 10, 2026
502f88a
fix initialization of github action environment variable
Apr 10, 2026
2d505a7
Update changelog
pdsen-ci Apr 10, 2026
71c66bd
Merge pull request #753 from NASA-PDS/reduced_member_support
tloubrieu-jpl Apr 14, 2026
5396c8f
Update changelog
pdsen-ci Apr 14, 2026
4ba436e
#744 Group integration tests in an external script (#747)
al-niessner Apr 15, 2026
eaaa37b
Update changelog
pdsen-ci Apr 15, 2026
a81918e
Consistent error messaging for field names in query language (#734)
al-niessner Apr 22, 2026
c910a5c
Update changelog
pdsen-ci Apr 22, 2026
b39d1f1
Upgrade dependencies per NASA-PDS/outlaw-tracker issues (#758)
al-niessner Apr 28, 2026
c2325eb
Update changelog
pdsen-ci Apr 28, 2026
a766359
Modernized terraform script for deployment as a module of nasa-pds/re…
tloubrieu-jpl May 26, 2026
1db04c9
Update changelog
pdsen-ci May 26, 2026
95fda44
fix security eror
Jun 19, 2026
9095ea5
it works again!
Jun 26, 2026
5ffbe9a
once again for github
Jun 26, 2026
4f26ea9
make integration test work on my laptop, force python3.12 for deep-ar…
Jun 29, 2026
ddfb17c
fix merge issue in integration test results
Jun 29, 2026
88c42a1
update integration tests
Jun 29, 2026
82edf3c
Merge pull request #779 from NASA-PDS/outlaw-46
tloubrieu-jpl Jun 29, 2026
4c5f51f
Update changelog
pdsen-ci Jun 29, 2026
a9e0779
Merge branch 'develop' into issue_632
Jun 30, 2026
ef6e111
updated integration tests
Jun 30, 2026
28a62ab
fix quality review from dependabot, automate actual tests on github a…
Jun 30, 2026
93e388b
update integration test results
Jun 30, 2026
5e39a86
reorder modifiers to comply with java specification
Jun 30, 2026
129659c
update test results
Jun 30, 2026
fdcca9f
Merge pull request #728 from NASA-PDS/issue_632
tloubrieu-jpl Jun 30, 2026
64e0d0e
Update changelog
pdsen-ci Jun 30, 2026
97e2a8c
Dependabot 20260630 (#786)
tloubrieu-jpl Jul 2, 2026
704b482
Update changelog
pdsen-ci Jul 2, 2026
13dfc35
match ssm parameter with cloudfront expectation, simplify not useful …
Jul 2, 2026
101d95b
update integration test results
Jul 2, 2026
07b911c
Run tests
jordanpadams Jul 6, 2026
ca3d9ec
Successful integration test run
jordanpadams Jul 6, 2026
1174796
Minor updates while validating the deployment on AWS (#787)
jordanpadams Jul 6, 2026
e780801
Update changelog
pdsen-ci Jul 6, 2026
4e64f8e
Update dependabot.yml
jordanpadams Jul 7, 2026
498591d
Update changelog
pdsen-ci Jul 7, 2026
9e7846d
make ECS service and load balancer security groups distincts
Jul 9, 2026
74e023e
fix integration test results
Jul 13, 2026
a36dc50
update integration tests
Jul 14, 2026
87d6eb4
update local integration test results
Jul 14, 2026
b0711d4
format terraform
Jul 15, 2026
f3b0c7a
Run integration tests with sweepers:main
jordanpadams Jul 15, 2026
726bf4b
Merge pull request #798 from NASA-PDS/2_security_groups
tloubrieu-jpl Jul 15, 2026
54c8a2c
Update changelog
pdsen-ci Jul 15, 2026
6d9964d
Merge branch 'main' into develop
tloubrieu-jpl Jul 15, 2026
2c4b78a
Update changelog
pdsen-ci Jul 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ updates:
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
groups:
github-actions:
patterns:
- "*"
target-branch: "develop"

- package-ecosystem: "docker" # See documentation for possible values
Expand Down
48 changes: 15 additions & 33 deletions .github/workflows/branch-cicd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,19 @@ jobs:

strategy:
matrix:
java-version: [17]
java-version: [21]

steps:
-
name: 💳 Checkout
uses: actions/checkout@v5
uses: actions/checkout@v7
with:
lfs: true
fetch-depth: 0
token: ${{secrets.ADMIN_GITHUB_TOKEN || github.token}}
-
name: 💵 Maven Cache
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: ~/.m2/repository
# The "key" used to indicate a set of cached files is the operating system runner
Expand Down Expand Up @@ -75,51 +75,33 @@ jobs:
run: echo "jar_file=$(find ./service/target/ -maxdepth 1 -regextype posix-extended -regex '.*/registry-api-service-[0-9]+\.[0-9]+\.[0-9]+(-SNAPSHOT)?\.jar')" >> $GITHUB_OUTPUT
-
name: 🎰 QEMU Multiple Machine Emulation
uses: docker/setup-qemu-action@v3
uses: docker/setup-qemu-action@v4
-
name: 🚢 Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v4
-
name: 🧱 Image Construction and Publication
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
context: ./
file: ./docker/Dockerfile
build-args: api_jar=${{steps.jarrer.outputs.jar_file}}
push: false
load: true
tags: nasapds/registry-api-service:latest
-
name: ∫ Integration tests … hold onto your hats, pardners
run: |
git clone --quiet https://github.com/NASA-PDS/registry.git
cd registry/docker/certs
./generate-certs.sh
cd ..
docker image inspect nasapds/registry-api-service:latest >/dev/null
docker compose \
--ansi never --profile int-registry-batch-loader --project-name registry \
up --quiet-pull --detach
# --abort-on-container-exit
#echo "===== Docker logs ====="
#docker compose logs --no-color
docker compose \
--ansi never --profile int-registry-batch-loader --project-name registry \
run --rm --no-TTY reg-api-integration-test-with-wait
tags: nasapds/registry-api-service:develop

-
name: Set up Python 3
uses: actions/setup-python@v6
with:
python-version: '3.13'
name: Install jq
uses: dcarbone/install-jq-action@v4

-
name: ∫ Test PDS Deep Archive compatibility
name: ∫ Integration and deep archive tests … hold onto your hats, pardners
run: |
git clone --quiet https://github.com/NASA-PDS/deep-archive.git
cd deep-archive
pip install .
pds-deep-registry-archive -u http://localhost:8080 -s PDS_ENG urn:nasa:pds:insight_rad::2.1 --debug
if [[ "${{ github.actor }}" == "dependabot[bot]" ]]; then
.github/workflows/integration_tests.sh
else
.github/workflows/integration_tests.sh --verify
fi

...

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v7
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:


- name: Upload CodeQL Artifacts
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v7
with:
name: codeql-artifacts
path: ${{ env.RESULTS_DIR }}
Expand All @@ -93,7 +93,7 @@ jobs:
steps:
-
name: 💳 Checkout
uses: actions/checkout@v5
uses: actions/checkout@v7
with:
lfs: true
fetch-depth: 0
Expand All @@ -108,7 +108,7 @@ jobs:

-
name: Upload SLOC
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v7
with:
name: sloc-count
path: ${{ github.workspace }}/cloc.md
234 changes: 234 additions & 0 deletions .github/workflows/integration_tests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,234 @@
#! /usr/bin/env bash
#
# requires: docker, git, mvn, and shellcheck
#
# docker - builds the registry api image, uses compose to run a host of services
# git clones registry repo
# jq - bash JSON tool
# mvn - to build the jar file for the current source registry api source code
# "shellcheck" - linter to keep this script clean
#

build() {
mvn --quiet clean package
jar_file="$(find ./service/target/ -maxdepth 1 -name 'registry-api-service-*.jar')"
echo "jar file: $jar_file"
[ -s "$jar_file" ] || { echo "jar file not found or empty"; return 1; }
docker build --build-arg api_jar="$jar_file" -t nasapds/registry-api-service:latest -f docker/Dockerfile .
}

clean() {
# shellcheck disable=SC2086 # for correct docker interpretation
docker compose \
--ansi never \
--profile int-registry-batch-loader \
--project-name registry \
down ${IT_CLEANSE:---rmi all}
}

deep_archive() {
cd "$tdir" || return 1
python3.12 -m venv "$tdir"/da
# shellcheck disable=SC1091 # cannot find dynamically created script
source "$tdir"/da/bin/activate
git clone --quiet https://github.com/NASA-PDS/deep-archive.git
cd deep-archive || return 1
pip install .
if [ "$(python3 -c "import sys; print(sys.version_info.minor)")" -gt 12 ]
then
echo "Python 3.$MINOR_VERSION detected. Upgrading zope.interface..."
pip install --upgrade "zope.interface>=8.0.0"
fi
pds-deep-registry-archive -u http://localhost:8080 -s PDS_ENG urn:nasa:pds:insight_rad::2.1 --debug
}

double_check_logfile() {
echo "everything looked ok, so double check postman logs"
[ -s "$1" ] || { echo "$1 is an empty file"; return 1; }
grep -Eq "[[:space:]]*#[[:space:]]+failure[[:space:]]+detail" "$1" \
&& { echo "postman log file reported failures" ; return 2; }
return 0
}

record() {
cat > last_integration_test.json <<EOF
{
"api_gitrev": "$1",
"reg_gitrev": "$2",
"status": "$3"
}
EOF
}

run() {
cd docker || exit 1
ddir=$(pwd)
( cd certs || exit 1 ; ./generate-certs.sh )
export REG_API_IMAGE=nasapds/registry-api-service:latest
docker image inspect nasapds/registry-api-service:latest >/dev/null
echo "launch services"
docker compose \
--ansi never \
--profile int-registry-batch-loader \
--project-name registry \
up --detach --quiet-pull || {
echo "--- docker compose ps ---"
docker compose --ansi never --project-name registry ps -a
if $verbose; then
echo "--- docker compose logs ---"
docker compose --ansi never --project-name registry logs
fi
return 5
}
echo "launch tests"
if docker compose \
--ansi never \
--profile int-registry-batch-loader \
--project-name registry \
run --rm --no-TTY reg-api-integration-test \
2>&1 | tee "$rdir/integration_test_results.txt"
then
deep_archive
status=$?
else
status=1
fi
echo "run status: ${status}"
cd "$ddir" || return 1
echo "--- docker compose ps ---"
docker compose --ansi never --project-name registry ps -a
if $verbose; then
echo "--- docker compose logs ---"
docker compose \
--ansi never \
--profile int-registry-batch-loader \
--project-name registry \
logs
fi
clean
# shellcheck disable=SC2086 # because we need to return an int
return $status
}

verbose=false
verify=false
for arg in "$@"; do
case "$arg" in
--verbose) verbose=true ;;
--verify) verify=true ;;
*)
echo "Error: Invalid argument '$arg'"
echo "Usage: $0 [--verify] [--verbose]"
exit 1 ;;
esac
done

bdir=$(dirname "$(realpath "$0")")
rdir=$(realpath "$bdir/../..")
cd "$rdir" || exit 1
api_gitrev=$(git describe --always --abbrev=40 --dirty='+' --exclude '*')
branchname=$(git branch --show-current)
branchname=${branchname/issue/api}
branchname=${branchname/_/-}
tdir=$(mktemp -d)
echo "temporary directory: $tdir"
# The EXIT pseudo-signal covers normal exits, errors, and interruptions (Ctrl+C)
trap 'rm -rf "$tdir"' EXIT
export tdir
cd "$tdir" || exit 1
git clone --quiet https://github.com/NASA-PDS/registry.git
cd registry || exit 1
if git show-ref --verify --quiet refs/remotes/origin/"$branchname"
then
git switch "$branchname"
fi
echo "registry being used"
git status
reg_gitrev=$(git describe --always --abbrev=40 --dirty='+' --exclude '*')
if $verify; then
echo "Running in VERIFY mode..."
status=failure
cd "$tdir" || exit 1
record "$api_gitrev" "$reg_gitrev" "$status"
cd "$rdir" || exit 1
test_key=$(jq -r '.api_gitrev' "$bdir"/last_integration_test.json | sed 's/+$//')
files=$(git diff --name-only -r "$test_key")
# shellcheck disable=SC2046 # because comparing integers
if [ $(echo "$files" | wc -l) -eq 1 ]
then
if [ "$files" == ".github/workflows/last_integration_test.json" ]
then
if [ -s "$files" ]
then
# do a one line diff from last test run
# look at additions or subtractions
# ignore --- and +++ because those are the filenames
# ignore the api_gitrev because that must be different
# count all other changes
# if there are none, then status is meaningful
# shellcheck disable=SC2126 # because simpler to understand
if [ $(git diff -U0 -r "$test_key" | \
grep "^[+-]" | \
grep -v "^---" | \
grep -v "^+++" | \
grep -v "api_gitrev" | \
wc -l) == 0 ]
then
status=$(jq -r '.status' "$bdir"/last_integration_test.json)
echo "Found the I&T test to be: ${status}"
else
git diff -r "$test_key"
fi
else
echo "Reporting file is empty"
fi
else
echo "the file changed was not for I&T: $files"
fi
else
echo "commit contains edits beyond those of last_integration_test.json"
echo "files changed: $files"
fi
if [ "$status" == "failure" ]
then
echo
echo "If you are reading this in the github actions log, then it seems"
echo "this test cannot verify that this registry-api repository branch"
echo "has been successfully tested. The first step at resolving this"
echo "message is to run the script .github/workflows/integration_tests.sh"
echo "locally. If it is successful, then commit all changes and push."
echo "Otherwise, fix any problems demonstrated from running the tests,"
echo "then commit and push all changes when the script is successful."
echo "Once commited, run this script again to generate the single file"
echo "last_integration_test.json, commit it, and push it."
echo
echo "Note: there are timing tests that can cause temporary failures."
echo " If those failures occur, just run the script again until"
echo " a success is achived."
echo
echo "Note: to determine if the latest commit will pass, run the script"
echo " with 'integration_tests.sh --verify'"
else
echo "Verified tests completed and successful"
fi
else
cd "$rdir" || exit 1
clean || exit 2
build || exit 3
cd "$tdir"/registry || exit 1
( set -o pipefail ; run 2>&1 | tee "$rdir"/integration_tests.rpt.txt ) \
&& status=success || status=failure
if [ "$status" == "success" ]
then
double_check_logfile "$rdir"/integration_tests.rpt.txt \
|| status=failure
else
echo "docker run or deep archive did not return success"
fi
cd "$bdir" || exit 1
record "$api_gitrev" "$reg_gitrev" "$status"
[ "$status" == "success" ] && rm "$rdir"/integration_tests.rpt.txt
fi

echo "Status: $status"
[ "$status" == "success" ] && exit 0 || exit 1
5 changes: 5 additions & 0 deletions .github/workflows/last_integration_test.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"api_gitrev": "b0711d49e711ff012dca26ff455682b29a5ca99c+",
"reg_gitrev": "dda5e706096b4e50575006f85f82f3c111d05b1f",
"status": "success"
}
2 changes: 1 addition & 1 deletion .github/workflows/secrets-detection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:
-
name: Checkout code
uses: actions/checkout@v5
uses: actions/checkout@v7
-
name: Install necessary packages
run: |
Expand Down
Loading
Loading