Skip to content

Commit

Permalink
internal: add docker build tag to transitives
Browse files Browse the repository at this point in the history
This fixes running benchmarks in environments without docker.
  • Loading branch information
jzelinskie committed Sep 29, 2022
1 parent 20c789e commit add462d
Show file tree
Hide file tree
Showing 16 changed files with 40 additions and 16 deletions.
4 changes: 2 additions & 2 deletions internal/datastore/crdb/crdb_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build ci
// +build ci
//go:build ci && docker
// +build ci,docker

package crdb

Expand Down
4 changes: 2 additions & 2 deletions internal/datastore/crdb/tx_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build ci
// +build ci
//go:build ci && docker
// +build ci,docker

package crdb

Expand Down
4 changes: 2 additions & 2 deletions internal/datastore/mysql/datastore_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build ci
// +build ci
//go:build ci && docker
// +build ci,docker

package mysql

Expand Down
4 changes: 2 additions & 2 deletions internal/datastore/postgres/postgres_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build ci
// +build ci
//go:build ci && docker
// +build ci,docker

package postgres

Expand Down
4 changes: 2 additions & 2 deletions internal/datastore/spanner/spanner_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build ci
// +build ci
//go:build ci && docker
// +build ci,docker

package spanner

Expand Down
3 changes: 3 additions & 0 deletions internal/services/benchmark_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//go:build docker
// +build docker

package services_test

import (
Expand Down
4 changes: 2 additions & 2 deletions internal/services/dispatch_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build ci
// +build ci
//go:build ci && docker
// +build ci,docker

package services_test

Expand Down
4 changes: 2 additions & 2 deletions internal/services/healthcheck_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build ci
// +build ci
//go:build ci && docker
// +build ci,docker

package services_test

Expand Down
4 changes: 2 additions & 2 deletions internal/services/perf_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build ci
// +build ci
//go:build ci && docker
// +build ci,docker

package services_test

Expand Down
3 changes: 3 additions & 0 deletions internal/testserver/datastore/config/config.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//go:build docker
// +build docker

package config

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/testserver/datastore/crdb.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//go:build docker
// +build docker

package datastore

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/testserver/datastore/datastore.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//go:build docker
// +build docker

package datastore

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/testserver/datastore/memory.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//go:build docker
// +build docker

package datastore

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/testserver/datastore/mysql.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//go:build docker
// +build docker

package datastore

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/testserver/datastore/postgres.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//go:build docker
// +build docker

package datastore

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/testserver/datastore/spanner.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//go:build docker
// +build docker

package datastore

import (
Expand Down

0 comments on commit add462d

Please sign in to comment.