Skip to content

Commit

Permalink
Use ${TEST_SRCDIR}/_main/ to reference test-data.
Browse files Browse the repository at this point in the history
This has been recommened in:
https://bazel.build/concepts/dependencies#data-dependencies

and hopefully fixes the tests on buildkite, see
#417 (comment)
  • Loading branch information
ensonic committed Sep 19, 2024
1 parent 98f137b commit e556f95
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app_charts/base/app_management_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.

HELM="external/_main~non_module_deps~kubernetes_helm/helm template"
CLOUD_BASE="src/app_charts/base/base-cloud-0.0.1.tgz"
ROBOT_BASE="src/app_charts/base/base-robot-0.0.1.tgz"
HELM="${TEST_SRCDIR}/_main/external/_main~non_module_deps~kubernetes_helm/helm template"
CLOUD_BASE="${TEST_SRCDIR}/_main/src/app_charts/base/base-cloud-0.0.1.tgz"
ROBOT_BASE="${TEST_SRCDIR}/_main/src/app_charts/base/base-robot-0.0.1.tgz"

function test_failed() {
echo "TEST FAILED: $1"
Expand Down

0 comments on commit e556f95

Please sign in to comment.