Skip to content

Commit 10a1480

Browse files
authored
Add ability to tag runs (#166)
1 parent c404a7d commit 10a1480

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+1964
-931
lines changed

.notice-metadata.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
6ea3fb220984b78511b611854f5c00f11b059817f326ad1d557bca6d45c0871b cli/go.sum
2-
33d7431ce175376b59e4634781746a75f1599aef8251b1153dc4d7484e67b745 server/ControlPlane/packages.lock.json
3-
a25dbcbbf4137b6c2a0e2140b940cbb68a8f9624af487a38934918088795b7bd server/DataPlane/packages.lock.json
4-
e518c00c2e96699b9cf588fe7504950aa2ca33a0ed1d7e53e0bb2b5b0dbce2c4 scripts/generate-notice.sh
5-
1901829eb682b172f0a284d52e18adffd6cd434ac1a5bb88a24604eb057b586e NOTICE.txt
2+
a1d2bc97eb86bdb1b73013292c59e3581f256c6f80733a03999270c5c424dea0 server/ControlPlane/packages.lock.json
3+
41594013b5bd13071f8d4f853dfa61158262d389279eca6e68689b398f1a667b server/DataPlane/packages.lock.json
4+
c7b999156b1faaa6694021ab44bded1a3fe2c669eaa04e7c80e93360996755d2 scripts/generate-notice.sh
5+
3fe3aa03fb7e789d77376089c4f792592bf3304962d786d8b96176d9b6eac4fb NOTICE.txt

Makefile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ DATA_PLANE_SERVER_PATH=server/DataPlane
1212

1313
DEVELOPER_CONFIG_JSON = $(shell scripts/get-config.sh --dev -o json | jq -c)
1414

15+
INTEGRATION_TEST_FLAGS = ""
16+
1517
ifeq ($(TYGER_ENVIRONMENT_TYPE),)
1618
include Makefile.cloud
1719
else ifeq ($(TYGER_ENVIRONMENT_TYPE),cloud)
@@ -114,11 +116,17 @@ integration-test-no-up: integration-test-no-up-prereqs cli-ready
114116
fi
115117

116118
pushd cli/integrationtest
117-
go test -tags=integrationtest
119+
go test -tags=integrationtest ${INTEGRATION_TEST_FLAGS}
120+
121+
integration-test-no-up-fast-only:
122+
$(MAKE) integration-test-no-up INTEGRATION_TEST_FLAGS="-fast"
118123

119124
integration-test: up integration-test-no-up-prereqs
120125
$(MAKE) integration-test-no-up-prereqs integration-test-no-up
121126

127+
integration-test-fast-only:
128+
$(MAKE) integration-test INTEGRATION_TEST_FLAGS="-fast"
129+
122130
test: up unit-test integration-test
123131
$(MAKE) variant-test
124132

Makefile.cloud

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,4 +209,4 @@ variant-test:
209209
# No variant tests for cloud configuration
210210

211211
get-last-server-exception: set-context
212-
kubectl logs -l component=tyger-server | grep Exception || true | tac | head -n 1 | jq -r '.exception'
212+
(kubectl logs -l component=tyger-server | grep Exception || true) | tac | head -n 1 | jq -r '.exception'

Makefile.docker

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,4 @@ variant-test:
108108
$(MAKE) integration-test-no-up
109109

110110
get-last-server-exception:
111-
docker logs tyger-local-control-plane 2>&1 | grep Exception || true | tac | head -n 1 | jq -r '.exception'
111+
(docker logs tyger-local-control-plane 2>&1 | grep Exception || true) | tac | head -n 1 | jq -r '.exception'

NOTICE.txt

Lines changed: 29 additions & 274 deletions
Large diffs are not rendered by default.

cli/cmd/buffer-copier/import.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,8 @@ func insertBatch(ctx context.Context, pool *pgxpool.Pool, containerBatch []*serv
206206
newBufferCount := 0
207207
commandBatch.Queue(`
208208
WITH inserted_buffers AS (
209-
INSERT INTO buffers (id, created_at, etag, storage_account_id)
210-
SELECT id, created_at, '0', $1
209+
INSERT INTO buffers (id, created_at, storage_account_id)
210+
SELECT id, created_at, $1
211211
FROM temp_buffers
212212
ON CONFLICT (id) DO NOTHING
213213
RETURNING id, created_at

0 commit comments

Comments
 (0)