Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
4f6ae2c
feat: adding maven support
mirzakaracic Nov 12, 2025
e9d98e7
ci: added java and maven support to execute build
mirzakaracic Nov 13, 2025
66e70d1
fix: removed changes for pom version handling
mirzakaracic Nov 13, 2025
4360e1d
fix: fix comment on input variable
mirzakaracic Nov 13, 2025
6618995
fix: added support for jar files
mirzakaracic Nov 14, 2025
ecd6c6b
fix: fix to finvoke jar package handling in entrypoint.sh
mirzakaracic Nov 14, 2025
9a7dd34
fix: added missing logic for jar files
mirzakaracic Nov 15, 2025
bf1a8d5
fix: fixed pathing for maven
mirzakaracic Nov 15, 2025
760ac27
fix: updated structure_build_artifact
mirzakaracic Nov 15, 2025
4311f4a
fix: trying to use specific version of deploy entrypoint.sh script
mirzakaracic Nov 15, 2025
20b5c89
fix: added deubug to entrypoint
mirzakaracic Nov 15, 2025
52354f7
fix: typo in package_utils
mirzakaracic Nov 15, 2025
04dee2f
fix: removed deubug
mirzakaracic Nov 15, 2025
5a4c970
fix: added ability to follow maven deploy artifact layout
mirzakaracic Nov 15, 2025
f71bdad
fix: added missing files for maven artifacts
mirzakaracic Nov 15, 2025
a0fbf51
fix: removed redundant logc
mirzakaracic Nov 15, 2025
66d88b9
fix: removed call on missing function
mirzakaracic Nov 15, 2025
d5059c9
Update .github/workflows/deploy-artifacts/package_utils.sh
mirzakaracic Nov 18, 2025
efee883
Update .github/workflows/deploy-artifacts/entrypoint.sh
mirzakaracic Nov 18, 2025
84f92b7
Update .github/workflows/deploy-artifacts/entrypoint.sh
mirzakaracic Nov 18, 2025
9e3f228
fix: pr comment fixes
mirzakaracic Nov 18, 2025
6c8016d
Update .github/workflows/deploy-artifacts/package_utils.sh
mirzakaracic Nov 18, 2025
6f190d7
fix: addressing how we extract package name and version from jar file…
mirzakaracic Nov 18, 2025
00b1156
Merge branch 'main' into feature/CLIENT-3877-add-maven
arrowplum Nov 20, 2025
1421c04
fix(workflows): use valid files and update tests to expect JAR uploa…
arrowplum Nov 20, 2025
709a7ef
feat: adding maven support
mirzakaracic Nov 12, 2025
9bd158b
ci: added java and maven support to execute build
mirzakaracic Nov 13, 2025
b875b6e
fix: removed changes for pom version handling
mirzakaracic Nov 13, 2025
0c29d16
fix: fix comment on input variable
mirzakaracic Nov 13, 2025
abdd11d
fix: added support for jar files
mirzakaracic Nov 14, 2025
4d2ad10
fix: fix to finvoke jar package handling in entrypoint.sh
mirzakaracic Nov 14, 2025
3d1b50c
fix: added missing logic for jar files
mirzakaracic Nov 15, 2025
624d7f1
fix: fixed pathing for maven
mirzakaracic Nov 15, 2025
f1b077d
fix: updated structure_build_artifact
mirzakaracic Nov 15, 2025
3179674
fix: trying to use specific version of deploy entrypoint.sh script
mirzakaracic Nov 15, 2025
563b9bd
fix: added deubug to entrypoint
mirzakaracic Nov 15, 2025
5036858
fix: typo in package_utils
mirzakaracic Nov 15, 2025
92da7a9
fix: removed deubug
mirzakaracic Nov 15, 2025
34fc2f8
fix: added ability to follow maven deploy artifact layout
mirzakaracic Nov 15, 2025
cac6281
fix: added missing files for maven artifacts
mirzakaracic Nov 15, 2025
59c4e69
fix: removed redundant logc
mirzakaracic Nov 15, 2025
45e0472
fix: removed call on missing function
mirzakaracic Nov 15, 2025
bd3e412
Update .github/workflows/deploy-artifacts/package_utils.sh
mirzakaracic Nov 18, 2025
1ab3a66
Update .github/workflows/deploy-artifacts/entrypoint.sh
mirzakaracic Nov 18, 2025
47ccd65
Update .github/workflows/deploy-artifacts/entrypoint.sh
mirzakaracic Nov 18, 2025
87567de
fix: pr comment fixes
mirzakaracic Nov 18, 2025
474e88a
Update .github/workflows/deploy-artifacts/package_utils.sh
mirzakaracic Nov 18, 2025
47736d9
fix: addressing how we extract package name and version from jar file…
mirzakaracic Nov 18, 2025
d02839b
Merge branch 'CLIENT-3877' into feature/CLIENT-3877-add-maven
arrowplum Nov 21, 2025
a640455
fix: update fixtures and adjust to allow processing nuget
arrowplum Nov 21, 2025
0b31646
docs: gtammar
arrowplum Nov 21, 2025
9903ca3
docs: comment should match refactor
arrowplum Nov 21, 2025
11715e8
docs: comment should match refactor
arrowplum Nov 21, 2025
f864dac
fix: update NuGet repository references in entrypoint.sh and test_nup…
arrowplum Nov 21, 2025
0aa2243
Merge pull request #96 from aerospike/feature/CLIENT-3877-add-maven
mirzakaracic Nov 21, 2025
ca55760
fix(workflows): nupkg are now not generic
arrowplum Nov 21, 2025
865a8e4
fix: removed comments that could lead to confusion. Added support for…
mirzakaracic Nov 22, 2025
57db2ff
fix: made --jar-group-id for entrypoint.sh
mirzakaracic Nov 22, 2025
2b2be43
fix: fixed tests to accomodated new logic
mirzakaracic Nov 22, 2025
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
34 changes: 24 additions & 10 deletions .github/workflows/deploy-artifacts/create-test-fixtures.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,36 @@ if [[ -f "tests/nano-tiny_8.4-1_arm64.deb" ]]; then
cp "tests/nano-tiny_8.4-1_arm64.deb" "$BUILD_ARTIFACTS_DIR/test-ubuntu22.04.deb"
echo " Copied nano-tiny_8.4-1_arm64.deb as test-ubuntu22.04.deb"
else
echo " nano-tiny_8.4-1_arm64.deb not found, creating mock"
echo "test-deb-content" > "$BUILD_ARTIFACTS_DIR/test-ubuntu22.04.deb"
echo "Error: tests/nano-tiny_8.4-1_arm64.deb not found. Cannot create mock DEB file." >&2
exit 1
fi

if [[ -f "tests/test-1.0-2.noarch.rpm" ]]; then
cp "tests/test-1.0-2.noarch.rpm" "$BUILD_ARTIFACTS_DIR/"
echo " Copied test-1.0-2.noarch.rpm"
else
echo " test-1.0-2.noarch.rpm not found, creating mock"
echo "test-rpm-content" > "$BUILD_ARTIFACTS_DIR/test-1.0-2.noarch.rpm"
echo "Error: tests/test-1.0-2.noarch.rpm not found. Cannot create mock RPM file." >&2
exit 1
fi
cp -v tests/some/structure/Aerospike.Client.8.0.2.nupkg "$BUILD_ARTIFACTS_DIR/Aerospike.Client.8.0.2.nupkg"


# Create some additional test files
echo "test jar content" > "$BUILD_ARTIFACTS_DIR/test.jar"
echo "test zip content" > "$BUILD_ARTIFACTS_DIR/test.zip"
echo "test tar content" > "$BUILD_ARTIFACTS_DIR/test.tar.gz"
# Create some additional test files with valid formats
# Create a valid JAR file (JAR is a ZIP with META-INF/MANIFEST.MF)
mkdir -p "$BUILD_ARTIFACTS_DIR/temp-jar/META-INF"
echo "Manifest-Version: 1.0" > "$BUILD_ARTIFACTS_DIR/temp-jar/META-INF/MANIFEST.MF"
cd "$BUILD_ARTIFACTS_DIR/temp-jar" && zip -q -r "../test.jar" . && cd - > /dev/null
rm -rf "$BUILD_ARTIFACTS_DIR/temp-jar"

# Create a valid ZIP file
echo "test zip content" > "$BUILD_ARTIFACTS_DIR/temp-zip-content.txt"
cd "$BUILD_ARTIFACTS_DIR" && zip -q "test.zip" "temp-zip-content.txt" && cd - > /dev/null
rm -f "$BUILD_ARTIFACTS_DIR/temp-zip-content.txt"

# Create a valid TAR.GZ file
echo "test tar content" > "$BUILD_ARTIFACTS_DIR/temp-tar-content.txt"
cd "$BUILD_ARTIFACTS_DIR" && tar -czf "test.tar.gz" "temp-tar-content.txt" && cd - > /dev/null
rm -f "$BUILD_ARTIFACTS_DIR/temp-tar-content.txt"
mkdir -p "$BUILD_ARTIFACTS_DIR/nested/dir"
echo "test-nested-dir-content" > "$BUILD_ARTIFACTS_DIR/nested/dir/test-nested-dir.txt"

Expand All @@ -45,13 +57,15 @@ if [[ -f "tests/nano-tiny_8.4-1_arm64.deb" ]]; then
cp "tests/nano-tiny_8.4-1_arm64.deb" "$BUILD_ARTIFACTS_DIR/nested/dir/test-debian12.deb"
echo " Copied nano-tiny_8.4-1_arm64.deb as nested test-debian12.deb"
else
echo "test-nested-deb-content" > "$BUILD_ARTIFACTS_DIR/nested/dir/test-debian12.deb"
echo "Error: tests/nano-tiny_8.4-1_arm64.deb not found. This file is required for nested test fixtures." >&2
exit 1
fi
if [[ -f "tests/test-1.0-2.noarch.rpm" ]]; then
cp "tests/test-1.0-2.noarch.rpm" "$BUILD_ARTIFACTS_DIR/nested/dir/nested.rpm"
echo " Copied test-1.0-2.noarch.rpm as nested.rpm"
else
echo "test-nested-rpm-content" > "$BUILD_ARTIFACTS_DIR/nested/dir/nested.rpm"
echo "Error: tests/test-1.0-2.noarch.rpm not found. This file is required for nested test fixtures." >&2
exit 1
fi

echo "Test files created:"
Expand Down
Loading