| Leopold Schabel | a4516f9 | 2019-12-04 20:27:05 +0000 | [diff] [blame] | 1 | sh_library( | 
 | 2 |     name = "vm_deps", | 
| Leopold Schabel | 5c80aca | 2019-10-22 15:48:58 +0200 | [diff] [blame] | 3 |     data = [ | 
| Serge Bazanski | dcb3a56 | 2020-02-03 13:44:44 +0100 | [diff] [blame] | 4 |         "//core:image", | 
 | 5 |         "//core:swtpm_data", | 
| Leopold Schabel | 5c80aca | 2019-10-22 15:48:58 +0200 | [diff] [blame] | 6 |         "@edk2//:firmware", | 
| Leopold Schabel | 83dc285 | 2020-01-07 21:57:08 +0100 | [diff] [blame] | 7 |     ], | 
| Leopold Schabel | a4516f9 | 2019-12-04 20:27:05 +0000 | [diff] [blame] | 8 | ) | 
 | 9 |  | 
 | 10 | sh_binary( | 
 | 11 |     name = "launch", | 
 | 12 |     srcs = ["launch.sh"], | 
 | 13 |     deps = [":vm_deps"], | 
 | 14 | ) | 
 | 15 |  | 
 | 16 | sh_library( | 
 | 17 |     name = "test_deps", | 
 | 18 |     data = [ | 
 | 19 |         ":launch", | 
 | 20 |         "//:kubectl", | 
| Leopold Schabel | 5c80aca | 2019-10-22 15:48:58 +0200 | [diff] [blame] | 21 |     ], | 
| Leopold Schabel | 5c80aca | 2019-10-22 15:48:58 +0200 | [diff] [blame] | 22 | ) | 
| Leopold Schabel | 383d4bb | 2019-11-14 22:53:58 +0100 | [diff] [blame] | 23 |  | 
 | 24 | sh_test( | 
 | 25 |     name = "test_boot", | 
 | 26 |     size = "small", | 
 | 27 |     srcs = ["test_boot.sh"], | 
| Leopold Schabel | 7670e67 | 2019-11-15 13:49:53 +0100 | [diff] [blame] | 28 |     # expects wants a pty, which do not exist in the sandbox | 
| Leopold Schabel | 383d4bb | 2019-11-14 22:53:58 +0100 | [diff] [blame] | 29 |     tags = ["local"], | 
| Leopold Schabel | 83dc285 | 2020-01-07 21:57:08 +0100 | [diff] [blame] | 30 |     deps = [ | 
 | 31 |         ":test_deps", | 
 | 32 |         ":vm_deps", | 
 | 33 |     ], | 
| Leopold Schabel | 383d4bb | 2019-11-14 22:53:58 +0100 | [diff] [blame] | 34 | ) |