Commit Graph

432 Commits

Author SHA1 Message Date
Andrea Luzzardi
dd2fef8a2d engine.#ReadFile
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-15 14:35:08 +01:00
Solomon Hykes
c1c585bcd5 Europa: integrate core packages, separate universe
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-12-15 09:27:58 +00:00
Jean-Yves Gastaud
7ad5f264e6 docs: make dev-cue-package example naming consitant
Signed-off-by: Jean-Yves Gastaud <jygastaud@gmail.com>
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-12-14 16:08:20 -08:00
Sam Alba
d03e345c52 ci: disabled several tests to debug CI issues in Docs tests
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-12-14 15:09:44 -08:00
Sam Alba
146971c8f1 fixed linting errors
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-12-14 09:08:58 -08:00
Sam Alba
c1f612e2a3 docs: updated generated content
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-12-13 21:07:37 -08:00
Sam Alba
034cb51781
Merge pull request #1190 from slumbering/fix/docs-iframe
[Docs] fix iframe width + bump docusaurus to the latest version
2021-12-09 13:33:51 -08:00
jffarge
05c31df35d docs: 🐛 push the actual iframe fix + force netlify node version
Signed-off-by: jffarge <jeanfrancois.farge@gmail.com>
2021-12-09 17:57:48 +01:00
jffarge
6825309f31 Create graphql package
Signed-off-by: jffarge <slumbering.pierrot@gmail.com>
2021-12-08 15:13:30 +01:00
Solomon Hykes
79f86227f3 Docs: rewrite intro and "vs" to match landing page
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-12-07 21:07:22 -08:00
Andrea Luzzardi
4b7a143cc6 stdlib: move core definitions to engine package
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-07 16:00:56 -05:00
Andrea Luzzardi
2a946385fa
Merge pull request #1168 from aluzzardi/dagger-secret-service
Migrate dagger.#Secret and dagger.#Stream to new format
2021-12-07 12:29:00 -08:00
Sam Alba
a34cb55114 docs: fixed iframe markup
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-12-04 13:28:12 -08:00
Sam Alba
bed54fed81
Merge pull request #1177 from talentedmrjones/docs-embed-getting-started-video
DOCS: embedded video inline style, larger video
2021-12-03 16:51:27 -08:00
Richard Jones
590a56c2ca
inline style, larger video
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-03 10:43:09 -07:00
Sam Alba
82e9374da5
Merge pull request #1172 from TomChv/doc/add-completion-helper
Add completion documentation in 1001-install.md
2021-12-02 15:19:11 -08:00
Sam Alba
b2ecc392e5
Merge pull request #1174 from adrienbrault/patch-1
Fix typo in ci doc
2021-12-02 15:07:20 -08:00
Adrien Brault
3ea2e71e70 Fix typo in ci doc
Signed-off-by: Adrien Brault <adrien.brault@gmail.com>
2021-12-02 22:14:27 +01:00
Richard Jones
27b2275d3a
embedded video on getting started tutorial
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-02 12:37:24 -07:00
Tom Chauveau
72e399e240
Add completion doc in 1001-install.md
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-12-02 17:10:44 +01:00
Andrea Luzzardi
5b7b1cab79 Migrate dagger.#Secret and dagger.#Stream to new format
- Refactored to keep every transformation of built-in types (e.g. FS,
  Secret, etc) to/from CUE in the same place (plancontext)
- dagger.#Service and dagger.#Secret are now following the new FS-like format
  (e.g. `_service: id: string`)
- Backward compatibility
- dagger.#Stream is now an alias for dagger.#Service

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-01 17:33:35 -08:00
Sam Alba
bbbecf8830 test: fixed ci
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-11-30 18:26:57 -08:00
Andrea Luzzardi
0aea10d23e dagger.#FS support
- Implement dagger.#FS support
- Migrate `context.imports` to dagger.#FS
- Backward compat: dagger.#FS can be passed in lieu of a
  dagger.#Artifact
- For instance, an import (`dagger.#FS`) can be passed to the current
  `yarn.#Package` implementation

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-11-30 12:58:50 -08:00
Andrea Luzzardi
6bedfb7c63
Merge pull request #1162 from aluzzardi/europa-context
europa: new execution engine and #Plan support
2021-11-29 16:14:14 -08:00
Andrea Luzzardi
2a4db167e4 runtime: new execution engine
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-11-24 16:51:52 -08:00
guillaume
475e47de09 Modify getting started doc to integrate http.#Wait, fix doc dependency issue
Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2021-11-23 21:30:03 +01:00
Joel Clermont
30d9981ee3 typo fixes
Signed-off-by: Joel Clermont <jclermont@gmail.com>
2021-11-19 16:51:20 -06:00
guillaume
b38cb606f4 Fix infinite loop inside doc test + fix issue
Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2021-11-16 15:50:46 +01:00
Richard Jones
ff78b51c83
clarified builtin vs third-party packages
Signed-off-by: Richard Jones <richard@dagger.io>
2021-11-12 14:42:15 -07:00
João Fernandes
111c5b9cc8
fix(docs): fix typo
Signed-off-by: João Fernandes <joaofnds@joaofnds.com>
2021-11-11 18:29:37 -03:00
Benjamin Reigner
50496f9bf0
docs: fix cue file path for gcp doc part
In the documentation the specified path for the source.cue indicates
it under the cue.mod folder, meanwhile everything is set up outside of
it. Puting the source.cue file in its specified folder resulted in the
example not working, meanwhile puting it in the gcpcloudrun folder
directly resulted in the example perfectly working

Signed-off-by: Benjamin Reigner <benjamin.reigner@epitech.eu>
2021-11-07 19:50:32 +01:00
Sam Alba
7e43838f98 docs: updated generated content
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-11-02 13:32:10 -07:00
Sam Alba
564ad09d2b
Merge pull request #1066 from slumbering/universe-http
create http universe package
2021-10-29 09:55:59 -07:00
guillaume
3fb03cd2d7 Fix packages + Implement working tests
Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2021-10-29 01:29:55 +02:00
guillaume
8f6b3e95a8 Fix lint issues
Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2021-10-28 17:58:18 +02:00
jffarge
b94b8c0c70 create http universe package
Signed-off-by: jffarge <slumbering.pierrot@gmail.com>
2021-10-28 17:20:41 +02:00
jffarge
541d1a7032 init trivy universe
Signed-off-by: jffarge <slumbering.pierrot@gmail.com>
2021-10-28 15:52:20 +02:00
Jonathan Hult
d0e7d9b564
Link to new CUE GitHub repository
https://github.com/cue-lang/cue/issues/1078

Signed-off-by: Jonathan Hult <Jonathan@JonathanHult.com>
2021-10-20 14:49:26 -04:00
Sam Alba
aa491ae67c
Merge pull request #1049 from PaulBarrie/feature/aws/add-cli-v2
Feature:  allow to use AWS CLI v2
2021-10-18 20:48:21 -07:00
Sam Alba
e9ca8f38e6 Vendoring improved
* update dagger init with package manager downloading stdlib

Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>

* split mod get and update functions

Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>

* write to package checksum to dagger.sum when installing/updating

Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>

* encure checksums are valid when compiling input

Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>

* remove references to github.com/tjovicic in docs 1010 and 1011

Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>

* refactor mod get command

Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>

* update logic of moving dir when installing packages

Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>

* fix linting errors

Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>

* revert changes to 1010 docs

Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>

* updating error log line in mod/get

Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>

* fix ci tests when using vendoring

Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>

* update alpha.dagger.io version to v0.1

Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>

* fix mod repo test

Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>

* return error if package already installed

Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>

* remove already installed packages when installing

Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>

* fix issue when vendoring stdlib

Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>

* update mod command with filelock while installing

Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>

* fix linting errors

Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>

* fix path of mod lock file

Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>

Co-authored-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>

Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-10-13 15:25:30 -07:00
Andrea Luzzardi
322997b74a stdlib: docker: clean up docker.#Command inputs
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-10-12 17:10:46 -07:00
Andrea Luzzardi
50d55a8885 op.#SaveImage: export the image ID
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-10-12 15:39:04 -07:00
Andrea Luzzardi
5a1d4bff62 Support loading artifacts into a Docker Engine
This adds support to loading artifacts (e.g. docker.#Build,
os.#Container, ...) into any arbitrary docker engine (through a
dagger.#Stream for UNIX sockets or SSH for a remote engine)

Implementation:
- Add op.#SaveImage which serializes an artifact into an arbitrary path
  (docker tarball format)
- Add docker.#Load which uses op.#SaveImage to serialize to disk and
  executes `docker load` to load it back

Caveats: Because we're doing this in userspace rather than letting
dagger itself load the image, the performance is pretty bad.

The buildkit API is meant for streaming (get a stream of a docker image
pipe it into docker load). Because of userspace, we have to load the
entire docker image into memory, then serialize it in a single WriteFile
LLB operation.

Example:

```cue
package main

import (
	"alpha.dagger.io/dagger"
	"alpha.dagger.io/docker"
)

source: dagger.#Input & dagger.#Artifact

dockersocket: dagger.#Input & dagger.#Stream

build: docker.#Build & {
	"source": source
}

load: docker.#Load & {
	source: build
	tag:    "testimage"
	socket: dockersocket
}
```

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-10-12 14:16:01 -07:00
Andrea Luzzardi
7364951e95 docs: define sidebar manually
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-10-08 16:18:02 -07:00
paulb
7d9db41f4b feat: allow use of v2 AWS CLI
Signed-off-by: paulb <barrie.paul@protonmail.com>
2021-10-08 17:43:54 +02:00
Sam Alba
2da9d07302 docs: use different port for getting started registry
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-10-05 19:12:16 -07:00
Sam Alba
91ad12bff1 docs: added missing dagger init
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-10-05 18:59:34 -07:00
Sam Alba
d39cc200ca docs: added abililty to run a local registry for todoapp example
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-10-05 18:47:33 -07:00
Andrea Luzzardi
dd1bf18ec2 logger: TTY logs support (live update)
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-10-05 15:38:34 -07:00
Richard Jones
33242a1a7d
cleanup unnecessary file
Signed-off-by: Richard Jones <richard@dagger.io>
2021-10-05 15:27:06 -06:00
Richard Jones
a1c2d14162
moved what is cue page to Learn section
Signed-off-by: Richard Jones <richard@dagger.io>
2021-10-05 15:26:49 -06:00
Richard Jones
7c55d38625 removed registry
Signed-off-by: Richard Jones <richard@dagger.io>
2021-10-05 13:33:05 -06:00
Richard Jones
f48d145f03 added registry to test, and fixed cp commands
Signed-off-by: Richard Jones <richard@dagger.io>
2021-10-05 13:33:05 -06:00
Richard Jones
79489ffe36 cue fmt the right way
Signed-off-by: Richard Jones <richard@dagger.io>
2021-10-05 13:33:05 -06:00
Richard Jones
4c7d90f9bc cue fmt
Signed-off-by: Richard Jones <richard@dagger.io>
2021-10-05 13:33:05 -06:00
Richard Jones
35a86441bf added test
Signed-off-by: Richard Jones <richard@dagger.io>
2021-10-05 13:33:05 -06:00
Richard Jones
46c02c7563 proofreading corrections
Signed-off-by: Richard Jones <richard@dagger.io>
2021-10-05 13:33:05 -06:00
Richard Jones
b78169ed3f typos, comments, and clarifications
Signed-off-by: Richard Jones <richard@dagger.io>
2021-10-05 13:33:05 -06:00
Richard Jones
ef66f0bc69 new getting started tutorial
Signed-off-by: Richard Jones <richard@dagger.io>
2021-10-05 13:33:05 -06:00
Richard Jones
00e10219ca additional progress
Signed-off-by: Richard Jones <richard@dagger.io>
2021-10-05 13:33:05 -06:00
Richard Jones
be2aeeccdf initial work on new getting started tutorial
Signed-off-by: Richard Jones <richard@dagger.io>
2021-10-05 13:33:05 -06:00
Solomon Hykes
93284292e9 Docs: new explanation of Dagger, inspired by user feedback
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-10-02 18:17:13 -07:00
Richard Jones
eadaf73d3c
regenerated docs
Signed-off-by: Richard Jones <richard@dagger.io>
2021-09-28 09:02:38 -06:00
Richard Jones
11749cde01 replaced workspace with project
Signed-off-by: Richard Jones <richard@dagger.io>
2021-09-23 16:03:02 -07:00
Sam Alba
9c32c8a564
Merge pull request #1010 from talentedmrjones/rename-workspace-flag
Rename workspace to project including flag, references, and tests
2021-09-23 16:01:26 -07:00
Sam Alba
9120c52545
Merge pull request #1003 from samalba/docker-run-local
Docker run local
2021-09-23 15:28:26 -07:00
Richard Jones
68f18887da
changed workspace to project for tests
Signed-off-by: Richard Jones <richard@dagger.io>
2021-09-23 12:07:09 -06:00
Tom Chauveau
7991991a3c
Update documentation
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-22 20:29:20 +02:00
Sam Alba
0f6a934fd0 docs: updated generated content
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-09-21 17:34:51 -07:00
Richard Jones
4db3aa9931 reworded a few paragraphs, ensured all examples match the playground links
Signed-off-by: Richard Jones <richard@dagger.io>
2021-09-21 11:41:13 -07:00
Richard Jones
0037fa1f2f additional information, new Packages section, and fix linting
Signed-off-by: Richard Jones <richard@dagger.io>
2021-09-21 11:41:13 -07:00
Richard Jones
5f45cb0eac refinements and additional information
Signed-off-by: Richard Jones <richard@dagger.io>
2021-09-21 11:41:13 -07:00
Richard Jones
8c46a1d2f1 initial work on what is cue
Signed-off-by: Richard Jones <richard@dagger.io>
2021-09-21 11:41:13 -07:00
Sam Alba
d6dda76d81
Merge pull request #987 from samalba/docs-update-ci
docs: rephrase the value prop to run CI workflows using dagger
2021-09-20 16:31:22 -07:00
Andrea Luzzardi
fb7cb95b06
Merge pull request #986 from aluzzardi/socket-support
dagger.#Stream support
2021-09-20 11:08:06 -07:00
Sam Alba
06db9bdf78 docs: rephrase the value prop to run CI workflows using dagger
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-09-17 17:26:24 -07:00
Andrea Luzzardi
0f4a55a482 socket -> stream
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-09-17 15:19:15 -07:00
Andrea Luzzardi
5480fb991d dagger.#Socket support
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-09-17 11:53:09 -07:00
Sam Alba
12e457e9e9
Merge pull request #971 from VazeeKevin/tasks/improve-stdlib-docker
stdlib/docker: update #Build to incorporate image from Dockerfile
2021-09-16 17:50:28 -07:00
Sam Alba
e31caa0a0e
Merge pull request #948 from slewiskelly/slewiskelly/stdlib-gcp
stdlib: Update gcp.#GCloud to set compute/region instead of compute/zone
2021-09-16 17:49:13 -07:00
Andrea Luzzardi
7073bc89c0
Merge pull request #979 from ming535/chore
Fix Typo
2021-09-15 15:27:22 -07:00
huming
2b22c4cf36 Fix Typo
Signed-off-by: huming <humings@gmail.com>
2021-09-15 15:52:58 +08:00
Kevin Poirot
3e14920062 Update Docker #Build to incorporate image from Dockerfile
Signed-off-by: Kevin Poirot <kevin@vazee.fr>
2021-09-15 08:55:59 +02:00
Solomon Hykes
1eec9ec8fe Docs: remove unfinished "custom script" tutorial
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-09-14 22:30:52 -07:00
Guillaume de Rouville
46362ed247 Add zone in GCP.#Config
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-09-14 13:43:31 +02: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
439fb4ee82 Adding support for azure static webapp
Signed-off-by: Sujay Pillai <sujayopillai@gmail.com>
2021-09-13 10:39:18 -07: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
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
Tom Chauveau
9337eed2bb Update argocd documentation
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-10 09:10:19 -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
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
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
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
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
95040d8320 Improve git package according to Sam comments
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-03 02:29:31 +02:00
Tom Chauveau
4ad2c8e7e5 Add test on git.#Commit
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-03 02:29:31 +02:00
Guillaume de Rouville
6348686231 ci: disabled kubernetes tests temporarily
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-09-02 19:39:10 +02:00
Guillaume de Rouville
3453675a3f rebase merge conflicts fix
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-09-01 12:14:57 +02:00
Tom Chauveau
e7a738211f Improve test policy for examples
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-01 11:19:16 +02:00
Tom Chauveau
02e7cd3f59 Add missing tests to 1007-gcp test
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-01 11:19:16 +02:00
Guillaume de Rouville
cf7e222a04 Fix bats dagger to bats dagger() expansion not working inside shellscript
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-09-01 11:19:16 +02:00
Guillaume de Rouville
6ef0cfe321 1008: Implement on LocalStack
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-09-01 11:19:16 +02:00
Tom Chauveau
4d03638911 Add test for kube-gcp cue-manifest step
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-01 11:19:13 +02:00
Tom Chauveau
1830b34e13 Add test for kube-gcp deployment step
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-01 11:18:41 +02:00
Tom Chauveau
2a15682386 Add test for kube-gcp basic step
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-01 11:17:39 +02:00
Tom Chauveau
f24af776db Add test for kube-aws cue-manifest part
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-01 11:17:05 +02:00
Tom Chauveau
5fcaaa6cfe Add test for kube-aws basic & deployment
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-01 11:16:36 +02:00
Tom Chauveau
a91181bb5f Add kubernetes test for kind cue-manifest
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-01 11:16:00 +02:00
Tom Chauveau
bdcb917943 Add kubernetes test for kind deployment
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-01 11:15:02 +02:00
Tom Chauveau
a8e218d808 Add basic test for kubernetes kind documentation
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-01 11:14:09 +02:00
Tom Chauveau
6a442fae6c Update kubernetes documentation to directly use cue files
Previously, we were embedding cue files directly in the doc, now we
display it from real cue file that we also use to test our doc.

I've add the first step of the kubernetes documentation adapted for
kind

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-01 11:14:07 +02:00
Guillaume de Rouville
00f7e63c4a 1010 test implementation
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-09-01 11:12:41 +02:00
Guillaume de Rouville
2bcd7a7dbf bats - fix 1004 wrong cmd + move helper.bats cmd to make it more generic
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-09-01 11:12:41 +02:00
Guillaume de Rouville
dc865bf2be 1008 test implementation
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-09-01 11:12:41 +02:00
Guillaume de Rouville
6744045ce7 1006 test implementation
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-09-01 11:12:41 +02:00
Guillaume de Rouville
82d45985a5 1004 test implementation
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-09-01 11:12:41 +02:00
Guillaume de Rouville
ad2f9b3f17 1003 test implementation
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-09-01 11:12:41 +02:00
Sam Alba
2d30e3e9ef
Merge pull request #931 from grouville/localstack/fix-input-bool-type
localstack tests: convert back str input to bool type
2021-08-31 09:23:46 -07:00
Guillaume de Rouville
6360ccc92b localstack/fix-input-bool-type: change localstack test input from str to bool
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-08-31 17:51:56 +02:00
Tihomir Jovicic
73dc0200c3 Explain how to develop packages locally
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-08-31 09:13:11 +02:00
Tihomir Jovicic
a903f917c4 update package manager docs with new dagger/packages repo
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-08-31 06:22:49 +02:00
Sam Alba
9e1f59ed69
Merge pull request #924 from slumbering/kubernetes-docs
use a more generic command
2021-08-30 13:58:37 -07:00
jffarge
4ce7a6675f docs: 📝 fix english grammar
Signed-off-by: jffarge <jf@dagger.io>
2021-08-30 16:47:32 +02:00
jffarge
c19dc934a5 docs: 📝 use a more generic command
Signed-off-by: jffarge <jf@dagger.io>
2021-08-30 16:14:41 +02:00
Sam Alba
47ef0a4c2a
Merge pull request #862 from tjovicic/package-manager
First version of package manager
2021-08-27 15:25:20 -07:00
Guillaume de Rouville
08f395b70d Add auth to Git.#Repository
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-08-27 15:58:55 +02:00
Tihomir Jovicic
a6a6037d01 rename dagger.mod.cue to dagger.mod and remove the need for module name
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-08-24 10:16:29 +02:00
Guillaume de Rouville
58209b87d1 Doc update + linting + fix CI typo + fix port issue ECR
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-08-23 17:44:34 +02:00
Andrea Luzzardi
1ee2869917
Merge pull request #886 from slumbering/website-ui
Website UI
2021-08-23 14:43:13 +02:00
Tihomir Jovicic
8aaaacc9da Add package manager usage docs
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-08-23 12:30:19 +02:00
jffarge
3ec7275ea6 docs: 💄 update docs ui
Signed-off-by: jffarge <jf@dagger.io>
2021-08-23 11:22:17 +02:00
Sujay Pillai
7481294a8c Adding support for azure storage
Signed-off-by: Sujay Pillai <sujayopillai@gmail.com>
2021-08-17 17:23:01 +08:00
Sujay Pillai
f979135961 Amending changes from @TomChv
Signed-off-by: Sujay Pillai <sujayopillai@gmail.com>
2021-08-12 01:51:41 +08:00
Guillaume de Rouville
bdd6b5a56e Port azure.#CLI from up to os.#Container + manual testing + integrate bats test
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-08-11 16:39:35 +02:00
Sujay Pillai
5908aa628e Adding support for azure and create a resource group
Signed-off-by: Sujay Pillai <sujayopillai@gmail.com>
2021-08-11 01:20:16 +08:00
jffarge
22095554a9 docs: 📝 change menu order
Signed-off-by: jffarge <jf@dagger.io>
2021-08-10 15:16:08 +02:00
Andrea Luzzardi
3ace7f6bd2 docs: add the CI use case
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-08-04 16:44:01 +02:00
Solomon Hykes
4a84f32280 Fix typos in docs
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-07-29 10:13:37 +00:00
Solomon Hykes
a29d217bfd Docs: rewrite "what is Dagger" to emphasize integration
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-07-22 18:02:39 +02:00
Andrea Luzzardi
1df914acdc docs: Fix relative URLs, add a CONTRIBUTING.md note
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-07-22 13:34:53 +02:00
Solomon Hykes
cff35ba2b5 Docs: more robust link
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-07-22 13:23:38 +02:00
Solomon Hykes
90388b027f Docs: fix broken link
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-07-22 13:15:07 +02:00
Solomon Hykes
4a9a355156 Docs: fix dup navbar, pt 2
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-07-22 12:50:47 +02:00
Solomon Hykes
c3139cbd35 Docs: fix dup navbar, pt 1
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-07-22 12:50:47 +02:00
Solomon Hykes
57754bebb8 "kb style" docs: decouple URLs from structure
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-07-16 19:08:18 +02:00
Andrea Luzzardi
5a8f9d3e7c
Merge pull request #829 from tjovicic/package-distribution-docs
Add doc on how to create packages
2021-07-16 11:34:46 +02:00
Tihomir Jovicic
203f893f7c Fix docs linting issues
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-07-16 10:16:38 +02:00
Tihomir Jovicic
3137e72057 Replacing package example with CloudRun definition
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-07-16 10:14:53 +02:00
Tihomir Jovicic
216686c7ec Add doc on how to create packages
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-07-15 11:29:30 +02:00
Tihomir Jovicic
0c80674afd Improve github actions docs
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-07-15 09:58:00 +02:00
Tihomir Jovicic
12668df292 Fix linting issues in gh integration docs
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-07-14 13:05:48 +02:00
Tihomir Jovicic
af3ccb954b Add github actions tutorial
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-07-14 13:02:21 +02:00
Solomon Hykes
afc640c139 Fix typo in docs
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-07-12 10:51:47 +02:00
Guillaume de Rouville
482df27352 docs: 100% manual verification of doc + update with last plan change
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-07-10 17:03:47 +02:00
Solomon Hykes
8942b775d7 Improve “what is Dagger”
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-07-09 17:07:15 +02:00
Andrea Luzzardi
21bed8aee6
Merge pull request #789 from hinshun/fetch-http
Adds support for op.#FetchHTTP
2021-07-07 17:23:16 +02:00
Guillaume de Rouville
78c8779cb1 remove leftovers
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-07-07 12:23:53 +02:00
Tom Chauveau
9109052638 Remove random generation tag because it's not needed anymore.
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-07-07 12:23:53 +02:00
Andrea Luzzardi
70b2a9e58a
Merge pull request #775 from grouville/docs-move-plan
docs: move plan out of cue.mod
2021-07-07 12:00:39 +02:00
Edgar Lee
0501ae91a5 Adds support for op.#FetchHTTP
Signed-off-by: Edgar Lee <edgarhinshunlee@gmail.com>
2021-07-06 14:37:52 -07:00
Guillaume de Rouville
7615740020 Fix english typos Kubes doc
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-07-05 15:24:48 +02:00
Tom Chauveau
72fcd7244b Improve 107-kubernetes.md
Add last part "CUE Kubernetes manifest", fix
some typo and update some parts.

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-07-05 14:32:15 +02:00
Guillaume de Rouville
66c1e70a5e docs: more familiar Kube
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-07-05 14:32:15 +02:00
Guillaume de Rouville
c809aed637 docs: move plan out of cue.mod
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-07-05 13:50:26 +02:00
Tihomir Jovicic
25ff825f74 Update Cloud Run docs
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-07-05 12:43:26 +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
104928f062 Merge branch 'main' into cloudrun-support 2021-07-05 11:51:39 +02:00
Marcos Nils
6c5b404673 Fix 101 use typo in outputs
Fixes #780

Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2021-07-04 06:27:04 -03:00
Guillaume de Rouville
ecd409951c docker.#Push: Set auth as optional
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-07-02 01:21:56 +02:00
Andrea Luzzardi
e020b23649
Merge pull request #628 from TomChv/improve-docker-push
Improve docker.#Push definition
2021-07-01 18:25:40 +02:00
Sam Alba
66afb327d6
Merge pull request #762 from alefesta/powershell-installer
[Installation] - Improve Installation for Windows Users
2021-07-01 11:25:04 +02:00
Tihomir Jovicic
92278cfd5b move cloudrun guide to docs/learn
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-07-01 10:14:27 +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
650caa8d4a Merge branch 'main' into cloudrun-support 2021-07-01 08:54:44 +02:00
alefesta
189fb715eb Updated the Installer and Docs
Updated Installer script and Docs accordingly to comments.
Now it does not request anymore the personal token to be produced.

Signed-off-by: alefesta <afesta@alfweb.com>
2021-06-30 17:54:48 +02:00
Tom Chauveau
d10f2a49a5 Rename field according to @shykes review
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-30 16:58:04 +02:00
Tom Chauveau
7d1bbcc416 Fix docker hub login error when using image ref as target
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-30 16:58:04 +02:00
Tom Chauveau
f842f1ed1d Remove old docker push and pull test
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-30 16:58:04 +02:00
Tom Chauveau
b1ed40ffed Improve #docker.Push definition :
- Push to private registry
- Output ref and digest
- Update doc
- Add tests to universe.bats

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-30 16:58:04 +02:00
alefesta
40042204c5 [Installation] - Improve Installation for Windows Users
- **What this feature does**:
Windows user should be able to use the dagger binary getting a similar experience to the one proposed for Linux in the docs.
- **What has been changed**: the feature implement a powershell script similar to `install.sh` logic. More specifically I've updated `install.md` and added `install.ps1`

I'm not sure if the  URL `releases.dagger.io` is currently pointing at the content of GH repo or something else so the documented steps may need a review.

Signed-off-by: alefesta <afesta@alfweb.com>
2021-06-30 16:36:18 +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
Guillaume de Rouville
9171912918 docs: specify env when using dagger + fix docs_101 ambiguous naming and english mistakes + change method, now cue.mod
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-06-30 11:51:25 +02:00
Andrea Luzzardi
0ba7c1fb44
Merge pull request #751 from Alvise88/add-initial-maven-support 2021-06-29 18:39:58 +02:00
Alvise
f807314668 Add maven package in stdlib
Signed-off-by: Alvise <vitalvise@gmail.com>
2021-06-29 15:09:32 +02:00
Guillaume de Rouville
fb9a114061 docs: improve 102/103
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-06-29 14:28:12 +02:00
Andrea Luzzardi
539fa08ca1 docs: fix dagger.io->alpha.dagger.io references
Fixes #733

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-27 15:07:52 +02:00
Tom Chauveau
020c458921 Add project management in compose.#App definition
I found an issue when during tests execution : there was orphan.
It's because #App doesn't give way to specify the compose project,
by default it's the directory where you launch your app but in our
definition, it will always be source.

The problem is that if we launch two differents docker-compose in the same
server, his project name will be source for both and it will create
orphans problems on cleanup (by docker-compose down).

This case is exactly what we do in tests so I've add the field name
to specify the projet name and avoid that issue.

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-26 16:07:14 +02:00
Tom Chauveau
aaa6f8f351 Simplify tests
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-25 17:16:11 +02:00
Tom Chauveau
e4ac04c98c Update import to new alpha version
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-25 16:56:28 +02:00
Tom Chauveau
ae209ee090 Add compose.#Up test in universe
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-25 16:56:28 +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
Solomon Hykes
9d85bab9e7 os.#File: simplify API
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-23 12:56:27 +02:00
Andrea Luzzardi
9984edad09
Merge pull request #707 from samalba/fix-links
Adds support for stdlib Index
2021-06-23 11:24:17 +02:00
Sam Alba
af82c2c910 docs: adds package description to the stdlib Index
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-23 11:05:58 +02:00
Sam Alba
29ace62b72 docs: 102: use source link instead
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-23 10:53:37 +02:00