Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
96 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
75eb125
Add basic hello world dotnet console app, begin development on execut…
shannonklaus 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
8d84918
Merge remote-tracking branch 'origin/nuget-hello-world' into feature/…
arrowplum Nov 22, 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
09ee959
feat(workflows): add Dotnet setup options and new test workflow
arrowplum Nov 25, 2025
fd75e29
chore(workflows): update permissions for reusable Dotnet build workflow
arrowplum Nov 25, 2025
9a88dfe
fix(workflows): update working directory for Dotnet build workflow
arrowplum Nov 25, 2025
6eee249
fix(workflows): missing pipe for yaml
arrowplum Nov 25, 2025
4a1e639
fix(workflows): add debugs
arrowplum Nov 25, 2025
f294bad
fix(workflows): update working directory for Dotnet build workflow to…
arrowplum Nov 25, 2025
138f17a
fix(workflows): allow feature branch for Dotnet build workflow and up…
arrowplum Nov 25, 2025
10f7dd4
fix(workflows): change trigger from pull_request to push for Dotnet b…
arrowplum Nov 25, 2025
3f3090b
fix(workflows): integrate reusable build workflow for Dotnet
arrowplum Nov 25, 2025
b6b0e24
fix(workflows): renaming job and adjusting dependencies
arrowplum Nov 25, 2025
679fef9
fix(workflows): update artifact handling in reusable integration work…
arrowplum Nov 25, 2025
701aeb2
fix(workflows): update reusable integration to pass in nuget signing …
arrowplum Nov 25, 2025
0a8dd3b
Merge branch 'CLIENT-3877' into feature/INFRA-253-integrate-nuget-in-…
arrowplum Nov 25, 2025
4c2eb30
fix(workflows): update reusable integration and artifact handling for…
arrowplum Nov 25, 2025
3c2b59c
fix: update jar metadata extraction for javadoc jars
gagan405 Nov 25, 2025
cc83e22
fix jar path
gagan405 Nov 25, 2025
1d24386
fix(workflows): NuGet package handling and validation in artifact de…
arrowplum Nov 25, 2025
9798667
fix(workflows): add logging for NuGet package upload process in entry…
arrowplum Nov 25, 2025
8a7b144
fix(workflows): update reusable integration workflows to reference fe…
arrowplum Nov 25, 2025
f199a86
fix(workflows): enhance NuGet package processing and configuration in…
arrowplum Nov 26, 2025
f0c400b
fix(workflows): streamline NuGet source configuration in deployment w…
arrowplum Nov 26, 2025
b16d3c3
fix(workflows): simplify NuGet configuration commands in deployment w…
arrowplum Nov 26, 2025
0b7b557
fix(workflows): update NuGet command flags for consistency in deploym…
arrowplum Nov 26, 2025
396b16d
fix(workflows): fix belt and suspenders with Source param
arrowplum Nov 26, 2025
110a263
fix(workflows): improve NuGet server ID extraction and update push co…
arrowplum Nov 26, 2025
1f4a605
fix(workflows): add logging for NuGet server ID resolution in deploym…
arrowplum Nov 26, 2025
1127329
fix(workflows): even more in the jf and nuget weeds. i think this sho…
arrowplum Nov 26, 2025
c029d29
fix(workflows): lets switch to v2
arrowplum Nov 27, 2025
f082456
fix(workflows): update NuGet push commands to use 'add' instead of 'p…
arrowplum Nov 27, 2025
bb3bd57
fix(workflows): update NuGet upload commands to use '-NonInteractive'
arrowplum Nov 27, 2025
3131902
fix(workflows): refactor NuGet handling in deployment workflow
arrowplum Nov 27, 2025
e895d19
fix: formatting
mirzakaracic Dec 1, 2025
03a4b63
Merge pull request #102 from aerospike/CLIENT-3877-fix-parsing-javado…
mirzakaracic Dec 1, 2025
1faa105
fix(workflows): fix/refactor NuGet metadata extraction
arrowplum Dec 1, 2025
7306885
Merge branch 'CLIENT-3877' into feature/INFRA-253-integrate-nuget-in-…
arrowplum Dec 1, 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
69 changes: 49 additions & 20 deletions .github/workflows/deploy-artifacts/create-test-fixtures.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,43 +15,72 @@ mkdir -p "$BUILD_ARTIFACTS_DIR"
# Copy real test fixtures
echo "Copying test fixtures..."
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"
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/some/structure/Aerospike.Client.8.0.2.nupkg" ]]; then
cp "tests/some/structure/Aerospike.Client.8.0.2.nupkg" "$BUILD_ARTIFACTS_DIR/Aerospike.Client.8.0.2.nupkg"
echo " Copied Aerospike.Client.8.0.2.nupkg"
else
echo "Error: tests/some/structure/Aerospike.Client.8.0.2.nupkg not found. Cannot create mock NuGet package." >&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"
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 NuGet package in subdirectory to match real-world scenario
mkdir -p "$BUILD_ARTIFACTS_DIR/nuget"
if [[ -f "tests/some/structure/Aerospike.Client.8.0.2.nupkg" ]]; then
cp "tests/some/structure/Aerospike.Client.8.0.2.nupkg" "$BUILD_ARTIFACTS_DIR/nuget/Aerospike.HelloWorld.1.0.0.nupkg"
echo " Copied Aerospike.Client.8.0.2.nupkg as nuget/Aerospike.HelloWorld.1.0.0.nupkg"
else
echo "Error: tests/some/structure/Aerospike.Client.8.0.2.nupkg not found. Cannot create nested NuGet package." >&2
exit 1
fi

# 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 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 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"
echo "test-nested-dir-content" >"$BUILD_ARTIFACTS_DIR/nested/dir/test-nested-dir.txt"

# Create nested directory structure
mkdir -p "$BUILD_ARTIFACTS_DIR/nested/dir"
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"
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"
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