Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
eed4b78
modifies multipart upload to call single part when file is <5GB
matthewpeterkort Dec 18, 2025
c6be76f
split client out further into more digestable parts (#13)
matthewpeterkort Dec 29, 2025
1130f52
update client
matthewpeterkort Dec 29, 2025
7289156
add back bug fixes
matthewpeterkort Dec 29, 2025
a95f442
bugfix make single part / file uploader work
matthewpeterkort Dec 30, 2025
0aaac8b
Preserve error chain in upload error wrapping (#16)
Copilot Jan 13, 2026
91b365c
rework retry to be fully integrated with refresh
matthewpeterkort Jan 15, 2026
d42f12d
fix logic
matthewpeterkort Jan 15, 2026
2b7b0e8
fix fatalf bug
matthewpeterkort Jan 16, 2026
958f166
add retry wait bounds
matthewpeterkort Jan 16, 2026
b5432fe
adds OptimalChunkSize, ProgressCallback
bwalsh Jan 27, 2026
6fd53ed
Refactor/calypr clients (#26)
matthewpeterkort Feb 3, 2026
16fb1ee
Refactor/progress callback (#29)
bwalsh Feb 5, 2026
e400e13
fix:TLS handshake timeout #30 (#31)
bwalsh Feb 11, 2026
efcf831
modify conifg
matthewpeterkort Mar 3, 2026
b391239
Feature/drs server (#32)
matthewpeterkort Apr 21, 2026
564b6d0
update to modern syfon client
matthewpeterkort Apr 21, 2026
2669cb4
add tests
matthewpeterkort Apr 21, 2026
881fd8c
bump versions
matthewpeterkort Apr 24, 2026
8e9b714
update data client
matthewpeterkort May 4, 2026
0c93e32
updates
matthewpeterkort May 6, 2026
6a4689d
fix tests
matthewpeterkort May 6, 2026
6805237
update data-client to add support for updated gecko, arborist codebas…
matthewpeterkort Jun 11, 2026
c4e97c2
add autoreleaser for successful CI pushes to main branch
matthewpeterkort Jun 11, 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
14 changes: 6 additions & 8 deletions .github/scripts/build.sh
Original file line number Diff line number Diff line change
@@ -1,32 +1,30 @@
if [ "$GOOS" == "linux" ]
then
set -e
go build -o cdis-data-client
go build -o calypr-cli ./cmd/calypr-cli
ls -al
if [ "$GITHUB_PULL_REQUEST" == "false" ]; then
mv gen3-client files && mv cdis-data-client gen3-client
zip dataclient_linux.zip gen3-client && mv dataclient_linux.zip ~/shared/.
zip calypr-cli_linux.zip calypr-cli && mv calypr-cli_linux.zip ~/shared/.
aws s3 sync ~/shared s3://cdis-dc-builds/$GITHUB_BRANCH
fi
set +e
elif [ "$GOOS" == "darwin" ]
then
set -e
go build -o cdis-data-client
go build -o calypr-cli ./cmd/calypr-cli
ls -al
if [ "$GITHUB_PULL_REQUEST" == "false" ]; then
mv gen3-client files && mv cdis-data-client gen3-client
zip dataclient_osx.zip gen3-client && mv dataclient_osx.zip ~/shared/.
zip calypr-cli_osx.zip calypr-cli && mv calypr-cli_osx.zip ~/shared/.
aws s3 sync ~/shared s3://cdis-dc-builds/$GITHUB_BRANCH
fi
set +e
elif [ "$GOOS" == "windows" ]
then
set -e
go build -o gen3-client.exe
go build -o calypr-cli.exe ./cmd/calypr-cli
ls -al
if [ "$GITHUB_PULL_REQUEST" == "false" ]; then
zip dataclient_win64.zip gen3-client.exe && mv dataclient_win64.zip ~/shared/.
zip calypr-cli_win64.zip calypr-cli.exe && mv calypr-cli_win64.zip ~/shared/.
aws s3 sync ~/shared s3://cdis-dc-builds/$GITHUB_BRANCH
fi
set +e
Expand Down
72 changes: 0 additions & 72 deletions .github/workflows/build_and_test_pull.yaml

This file was deleted.

244 changes: 0 additions & 244 deletions .github/workflows/build_and_test_push.yaml

This file was deleted.

36 changes: 36 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Calypr CLI CI

on:
pull_request:
push:
workflow_dispatch:

concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true

jobs:
lint-and-test:
name: Lint and Unit Tests
runs-on: ubuntu-latest

steps:
- name: Check out code
uses: actions/checkout@v4
with:
submodules: recursive

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true

- name: Download dependencies
run: GOTOOLCHAIN=auto go mod download

- name: Run go vet
run: GOTOOLCHAIN=auto go vet ./...

- name: Run unit tests
run: GOTOOLCHAIN=auto go test -v ./...
Loading
Loading