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