0
0
forked from toolshed/abra

Compare commits

...

7 Commits

Author SHA1 Message Date
a275202e0b reset 2023-11-20 22:47:02 +01:00
0142814d34 os independent 2023-11-20 22:41:53 +01:00
5aad497ed0 fix build error 2023-11-14 15:29:53 +01:00
ab3518ad98 app_deploy.bats 2023-11-14 12:03:15 +01:00
f57b45888b test/integration local server 2023-11-13 15:37:52 +01:00
8065f29f68 fix app_cmd.bats 2023-11-13 10:35:19 +01:00
f255fa1555 chore(deps): update module github.com/hashicorp/go-retryablehttp to v0.7.5 2023-11-09 08:00:33 +00:00
3 changed files with 9 additions and 5 deletions

2
go.mod
View File

@ -104,7 +104,7 @@ require (
github.com/fvbommel/sortorder v1.0.2 // indirect
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
github.com/gorilla/mux v1.8.0 // indirect
github.com/hashicorp/go-retryablehttp v0.7.4
github.com/hashicorp/go-retryablehttp v0.7.5
github.com/klauspost/pgzip v1.2.6
github.com/moby/patternmatcher v0.5.0 // indirect
github.com/moby/sys/sequential v0.5.0 // indirect

View File

@ -1,9 +1,9 @@
#!/usr/bin/env bash
_common_setup() {
load '/usr/lib/bats/bats-support/load'
load '/usr/lib/bats/bats-assert/load'
load '/usr/lib/bats/bats-file/load'
bats_load_library bats-support
bats_load_library bats-assert
bats_load_library bats-file
load "$PWD/tests/integration/helpers/app"
load "$PWD/tests/integration/helpers/git"

View File

@ -1,7 +1,11 @@
#!/usr/bin/env bash
_add_server() {
run $ABRA server add "$TEST_SERVER"
if [[ "$TEST_SERVER" == "default" ]]; then
run $ABRA server add -l
else
run $ABRA server add "$TEST_SERVER"
fi
assert_success
assert_exists "$ABRA_DIR/servers/$TEST_SERVER"
}