Add secrets deployment for GCP
Signed-off-by: Benjamin Grandfond <benjamin.grandfond@gmail.com>
This commit is contained in:
committed by
Sam Alba
parent
f29de14a2f
commit
45ea30da55
@@ -172,6 +172,16 @@ setup() {
|
||||
dagger -e google-gke up
|
||||
}
|
||||
|
||||
@test "google cloud: secretmanager" {
|
||||
run dagger -e google-secretmanager up
|
||||
assert_success
|
||||
|
||||
# ensure the secret has been created
|
||||
run dagger query -e google-secretmanager TestSecrets.secret.references.databasePassword -f text
|
||||
assert_success
|
||||
assert_output --regexp '^projects\/[0-9]+\/secrets\/databasePassword'
|
||||
}
|
||||
|
||||
@test "google cloud: cloudrun" {
|
||||
dagger -e google-cloudrun up
|
||||
}
|
||||
|
Reference in New Issue
Block a user