Commit Graph

3132 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
Sam Alba
4d45e269e0
Merge pull request #967 from VazeeKevin/tasks/docker-build-args
stdlib/docker: Add args option to Docker #Build
2021-09-13 15:26:09 -07:00
Sam Alba
8593a11cb7
Merge pull request #962 from sujaypillai/az
Adding support for azure static webapp
2021-09-13 15:25:30 -07:00
Sam Alba
53cbdcf3c0 docs: updated docs generation
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-09-13 10:40:18 -07:00
Sujay Pillai
48560b4546 Adding support for azure static webapp
Signed-off-by: Sujay Pillai <sujayopillai@gmail.com>
2021-09-13 10:39:20 -07:00
Sujay Pillai
439fb4ee82 Adding support for azure static webapp
Signed-off-by: Sujay Pillai <sujayopillai@gmail.com>
2021-09-13 10:39:18 -07:00
Kevin Poirot
924fd163eb Add args option to Docker #Build
Signed-off-by: Kevin Poirot <kevin@vazee.fr>
2021-09-13 14:38:20 +02:00
dependabot[bot]
e279a2270f
build(deps): bump golang from 1.16.7-alpine to 1.16.8-alpine
Bumps golang from 1.16.7-alpine to 1.16.8-alpine.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-10 19:06:13 +00:00
Sam Alba
af1d06f503
Merge pull request #945 from benja-M-1/feat/gcp-secrets
Add secrets deployment for GCP
2021-09-10 11:09:25 -07:00
Sam Alba
73fe95824c
Merge pull request #883 from VazeeKevin/stdlib/argocd
stdlib: ArgoCD app support
2021-09-10 09:31:00 -07:00
Tom Chauveau
fede72db58 Update environment SOPS Key to use CI key
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-10 09:21:34 -07: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
Tom Chauveau
733cac09d3 argocd.#Sync now retrieve status
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-10 09:10:21 -07:00
Tom Chauveau
ef112e21ec Fix caching issue on argoCD package
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-10 09:10:21 -07:00
Tom Chauveau
05b165bcc8 Supports both basicAuth & Token
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-10 09:10:21 -07:00
Tom Chauveau
d34200c9f6 Fix CI check
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-10 09:10:21 -07:00
Kevin Poirot
083fee85a5 Fix ArgoCD outputs parse
Signed-off-by: Kevin Poirot <kevin@vazee.fr>
2021-09-10 09:10:21 -07:00
Tom Chauveau
0fe8b14e78 Improve ArgoCD and fix CI
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-10 09:10:21 -07:00
Tom Chauveau
2a91ae1d80 Update argoCD test
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-10 09:10:21 -07:00
Tom Chauveau
a73b34d096 Add argocd-infra deployment to deploy it to a cluster
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-10 09:10:21 -07:00
Tom Chauveau
9337eed2bb Update argocd documentation
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-10 09:10:19 -07:00
Tom Chauveau
b136cdcaaf Split definition into files and add #App to create argocd project
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-10 09:10:05 -07:00
Tom Chauveau
f038e11fc5 Update argoCD test file to use os.#Container
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-10 09:10:05 -07:00
Tom Chauveau
7299cb4d1d Update argoCD environment with CI key
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-10 09:10:05 -07:00
Kevin Poirot
f8f39ca75b stdlib: argocd app support
Signed-off-by: Kevin Poirot <kevin@vazee.fr>
2021-09-10 09:10:03 -07:00
Sam Alba
f29de14a2f
Merge pull request #954 from dagger/dependabot/npm_and_yarn/website/axios-0.21.4
build(deps): bump axios from 0.21.1 to 0.21.4 in /website
2021-09-10 08:59:00 -07:00
Sam Alba
c7b9549afa
Merge pull request #953 from slumbering/docs-menu-refacto
docs: ♻️ merge API Reference and Universe menu entries
2021-09-10 08:58:22 -07:00
Sam Alba
49b4d28cb5
Merge pull request #960 from dagger/dependabot/npm_and_yarn/website/amplitude-js-8.6.0
build(deps): bump amplitude-js from 8.5.0 to 8.6.0 in /website
2021-09-10 08:58:07 -07:00
dependabot[bot]
307e76d701
build(deps): bump amplitude-js from 8.5.0 to 8.6.0 in /website
Bumps [amplitude-js](https://github.com/amplitude/amplitude-javascript) from 8.5.0 to 8.6.0.
- [Release notes](https://github.com/amplitude/amplitude-javascript/releases)
- [Changelog](https://github.com/amplitude/Amplitude-JavaScript/blob/main/CHANGELOG.md)
- [Commits](https://github.com/amplitude/amplitude-javascript/compare/v8.5.0...v8.6.0)

---
updated-dependencies:
- dependency-name: amplitude-js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-09 19:14:22 +00:00
Sam Alba
821f358e2e
Merge pull request #958 from slumbering/spinner-fix
docs: remove spinner causing css issue + add NProgress
2021-09-09 09:20:45 -07:00
jffarge
7c3d04e3e1 docs: 🔥 remove spinner files
Signed-off-by: jffarge <jf@dagger.io>
2021-09-09 11:03:54 +02:00
jffarge
472750540c docs: 🐛 remove spinner causing css issue + add NProgress
Signed-off-by: jffarge <jf@dagger.io>
2021-09-09 11:01:20 +02:00
Sam Alba
5ae7ce293c
Merge pull request #957 from grouville/refacto/remove-cue-init
refacto/doc: remove 'cue init' step from doc
2021-09-08 14:33:52 -07:00
Sam Alba
bb98da45d1
Merge pull request #956 from dagger/dependabot/go_modules/filippo.io/age-1.0.0
build(deps): bump filippo.io/age from 1.0.0-rc.3 to 1.0.0
2021-09-08 14:33:13 -07:00
Guillaume de Rouville
6f23e9fe2a refacto/doc: remove 'cue init' step from doc
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-09-08 22:31:47 +02:00
dependabot[bot]
33f87ca946
build(deps): bump filippo.io/age from 1.0.0-rc.3 to 1.0.0
Bumps [filippo.io/age](https://github.com/FiloSottile/age) from 1.0.0-rc.3 to 1.0.0.
- [Release notes](https://github.com/FiloSottile/age/releases)
- [Commits](https://github.com/FiloSottile/age/compare/v1.0.0-rc.3...v1.0.0)

---
updated-dependencies:
- dependency-name: filippo.io/age
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-08 19:32:29 +00:00
dependabot[bot]
906d702227
build(deps): bump axios from 0.21.1 to 0.21.4 in /website
Bumps [axios](https://github.com/axios/axios) from 0.21.1 to 0.21.4.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.21.1...v0.21.4)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-08 17:13:40 +00:00
Sam Alba
3820151013
Merge pull request #952 from slumbering/docusaurus-update-2.0.0-beta.6
upgrade docusaurus to 2.0.0-beta.6
2021-09-08 10:12:21 -07:00
jffarge
a2088a09ac docs: ♻️ merge API Reference and Universe menu entries
Signed-off-by: jffarge <jf@dagger.io>
2021-09-08 15:19:19 +02:00
jffarge
ad53d5522b docs: 💄 one more quick fix
Signed-off-by: jffarge <jf@dagger.io>
2021-09-08 09:48:48 +02:00
jffarge
b73ee74de8 docs: 💄 quick css fixes
Signed-off-by: jffarge <jf@dagger.io>
2021-09-08 09:34:59 +02:00
jffarge
ea2c74bb4b docs: ⬆️ upgrade docusaurus to 2.0.0-beta.6
Signed-off-by: jffarge <jf@dagger.io>
2021-09-08 08:38:42 +02:00
Sam Alba
a0d133c998
Merge pull request #951 from slumbering/docusaurus-update-2.0.0-beta.5
update docusaurus to v2.0.0-beta.5
2021-09-07 14:32:53 -07:00
Sam Alba
5fa6a2adb2
Merge pull request #949 from TomChv/feat/improve-kube-pkg
Improve kubernetes package to deploy config from yaml
2021-09-07 14:32:14 -07:00
jffarge
15648e42ac update docusaurus to v2.0.0-beta.5
Signed-off-by: jffarge <jf@dagger.io>
2021-09-07 14:39:57 +02:00
Tom Chauveau
c05f7d50d4
Update kubernetes testing policy to test deployment from url
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-06 16:25:51 +02:00
Tom Chauveau
97cd00332a
Improve kubernetes package to handle deployment from url
When I was working on ArgoCD test integration, I found
that to expose ArgoCD server, we need to add `ingress`
to expose an endpoint.

To do it with Kind, it's necessary to apply a custom yaml
available on Github. It simply then need `kubectl apply -f <url>`

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-06 15:17:38 +02:00
Sam Alba
3ef1196cb6
Merge pull request #947 from benja-M-1/feat/gcp-cloudrun-env-vars
Add env var support on GCP cloudrun
2021-09-05 14:50:42 -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
Sam Alba
db8a92c371
Merge pull request #935 from TomChv/feat/improve-git-pkg
Improve git package to commit & push
2021-09-03 09:55:03 -07:00