Commit Graph

25 Commits

Author SHA1 Message Date
Scott
8e2dea148b stdlib: Update gcp.#GCloud to set compute/region instead of compute/zone
If a users correctly sets `region` to a valid GCP region, a warning would be
presented (but is hidden by `-q`):

```
) gcloud config set compute/zone asia-northeast1
Updated property [compute/zone].
WARNING: asia-northeast1 is not a valid zone. Run `gcloud compute zones list` to get all zones.
```

This makes it consistent with AWS where a region is set. However, an optional
`zone` field could also be added to `gcp.#Config`, which would be used to
(conditionally?) set the zone.

AFAICT, there is no option to set a zone in AWS CLI.

Signed-off-by: Scott <slewiskelly@slewiskel.ly>
2021-09-14 12:13:27 +02:00
Benjamin Grandfond
45ea30da55 Add secrets deployment for GCP
Signed-off-by: Benjamin Grandfond <benjamin.grandfond@gmail.com>
2021-09-10 09:21:34 -07:00
Benjamin Grandfond
830ad87ced Add env var support on GCP cloudrun
Signed-off-by: Benjamin Grandfond <benjamin.grandfond@gmail.com>
2021-09-05 20:54:53 +02:00
Tihomir Jovicic
31714de4e3 Update Cloud Run docs
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-07-05 12:40:45 +02:00
Tihomir Jovicic
c2442120ca update cloudrun imports to use alpha.dagger.io
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-07-01 09:23:47 +02:00
Tihomir Jovicic
dd73df5ef9 Move CloudRun tests to stdlib/gcp/cloudrun
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-07-01 09:15:04 +02:00
Tihomir Jovicic
650caa8d4a Merge branch 'main' into cloudrun-support 2021-07-01 08:54:44 +02:00
Andrea Luzzardi
59281b38fc tests: gcs: force dependency between deploy and verify
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-30 16:41:50 +02:00
Andrea Luzzardi
c20c272940 tests: google-gcr: update CI keys
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-30 16:23:32 +02:00
Scott Lewis-Kelly
635b9306b8 stdlib: Add GCS support
The interface and behavior is identical to S3.

Signed-off-by: Scott Lewis-Kelly <slewiskelly@slewiskel.ly>
2021-06-30 16:23:32 +02:00
Tom Chauveau
c99e39ec9c Move tests plan from dagger dir to universe
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-25 17:00:38 +02:00
Solomon Hykes
d7a805f42b stdlib: move all imports to alpha.dagger.io
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-25 10:31:22 +00:00
Tihomir Jovicic
293ee0680f rename Cloud Run Deploy to Service
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-06-21 11:36:01 +02:00
Tihomir Jovicic
83eebf82fa Move Cloud Run image property to GCP config struct
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-06-21 10:57:26 +02:00
Tihomir Jovicic
5d8219a8f3 Add Cloud Run support
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-06-21 10:57:18 +02:00
Sam Alba
d1454a9871 stdlib: renamed verbs to nouns
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-15 18:47:36 +02:00
Sam Alba
9281967e16 stdlib: added package doc strings
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-15 10:46:56 +02:00
Andrea Luzzardi
5718c41d7d stdlib: gcp: fix typo
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-01 19:50:40 -07:00
Andrea Luzzardi
28fd9c341f stdlib: update gcp to use secrets
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-27 19:18:17 -07:00
Sam Alba
f6aea7e529 curl: do not hardcode version requirement
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-27 14:31:57 +02:00
Sam Alba
dd17c48922 increased curl dependency, 7.76 was removed from alpine pkg repo
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-27 13:59:47 +02:00
Sam Alba
a4167dc3f4 cue fmt
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-26 12:28:24 +02:00
Sam Alba
7009d01835 stdlib: added @dagger(input) and @dagger(output) attributes
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-26 12:23:44 +02:00
Andrea Luzzardi
0f69f3a8af stdlib: gcr support
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-19 17:54:30 -07:00
Andrea Luzzardi
5bd3349a27 stdlib: add GKE support
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-19 16:44:52 -07:00