mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2026-01-04 23:59:49 -06:00
* Add gzip compression init * revert * Feat: Initial cross-domain identify setup (#2533) * feat: initial setup * fix: factor out * chore: lint * fix: xss vuln * feat: set up properly * fix: lint * fix: key * fix: keys, cleanup * Fix: use sessionStorage instead of localStorage (#2541) * chore(deps): bump golang.org/x/crypto from 0.44.0 to 0.45.0 (#2545) Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.44.0 to 0.45.0. - [Commits](https://github.com/golang/crypto/compare/v0.44.0...v0.45.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-version: 0.45.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml (#2547) Bumps [google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml](https://github.com/google/osv-scanner-action) from 2.2.4 to 2.3.0. - [Release notes](https://github.com/google/osv-scanner-action/releases) - [Commits](https://github.com/google/osv-scanner-action/compare/v2.2.4...v2.3.0) --- updated-dependencies: - dependency-name: google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml dependency-version: 2.3.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * [Go SDK] Resubscribe and get a new listener stream when gRPC connections fail (#2544) * fix listener cache issue to resubscribe when erroring out * worker retry message clarification (#2543) * add another retry layer and add comments * fix loop logic * make listener channel retry * Compression test utils, and add log to indicate its enabled * clean + fix * more fallbacks * common pgxpool afterconnect method (#2553) * remove * lint * lint * add cpu monitor during test * fix background monitor and lint * Make envvar to disable compression * cleanup monitoring * PR Feedback * Update paths in compression tests + bump package versions * path issue on test script --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: matt <mrkaye97@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mohammed Nafees <hello@mnafees.me>
55 lines
1.6 KiB
Bash
Executable File
55 lines
1.6 KiB
Bash
Executable File
#!/bin/bash
|
|
# build_all.sh - Build all Docker images for current branch
|
|
|
|
set -e
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
TEST_DIR="$(cd "$SCRIPT_DIR/.." && pwd)"
|
|
REPO_ROOT="$(cd "$TEST_DIR/../../.." && pwd)"
|
|
|
|
# If compression is enabled or disabled (e.g. based on the branch main vs sid/add-gzip-compression)
|
|
STATE=${1:-enabled}
|
|
|
|
echo "=========================================="
|
|
echo "Building Docker Images"
|
|
echo "State: $STATE"
|
|
echo "=========================================="
|
|
echo ""
|
|
|
|
# Navigate to repo root
|
|
cd "$REPO_ROOT"
|
|
|
|
# Build each SDK
|
|
echo "Building go SDK image..."
|
|
docker build -t "go-${STATE}-compression" -f "hack/dev/compression-test/Dockerfile.client-go" . || {
|
|
echo "Error: Failed to build go SDK image"
|
|
exit 1
|
|
}
|
|
echo "✓ go SDK image built successfully"
|
|
echo ""
|
|
|
|
echo "Building typescript SDK image..."
|
|
docker build -t "typescript-${STATE}-compression" -f "hack/dev/compression-test/Dockerfile.client-ts" . || {
|
|
echo "Error: Failed to build typescript SDK image"
|
|
exit 1
|
|
}
|
|
echo "✓ typescript SDK image built successfully"
|
|
echo ""
|
|
|
|
echo "Building python SDK image..."
|
|
docker build -t "python-${STATE}-compression" -f "hack/dev/compression-test/Dockerfile.client-python" . || {
|
|
echo "Error: Failed to build python SDK image"
|
|
exit 1
|
|
}
|
|
echo "✓ python SDK image built successfully"
|
|
echo ""
|
|
|
|
echo "=========================================="
|
|
echo "All images built successfully!"
|
|
echo "=========================================="
|
|
echo ""
|
|
echo "Images created:"
|
|
echo " - go-${STATE}-compression"
|
|
echo " - typescript-${STATE}-compression"
|
|
echo " - python-${STATE}-compression"
|