Andrea Luzzardi
31255f75ad
Merge pull request #1055 from dagger/dependabot/npm_and_yarn/website/cypress-8.6.0
...
build(deps-dev): bump cypress from 8.5.0 to 8.6.0 in /website
2021-10-13 10:54:34 -07:00
Andrea Luzzardi
ed3bb775cd
Merge pull request #1050 from dagger/dependabot/docker/golang-1.16.9-alpine
...
build(deps): bump golang from 1.16.8-alpine to 1.16.9-alpine
2021-10-13 10:54:13 -07:00
Andrea Luzzardi
16b14524d5
Merge pull request #1056 from aluzzardi/docker-load
...
Support loading artifacts into a Docker Engine
2021-10-12 17:51:51 -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
e5c571b8a9
op.#SaveImage: fix data race
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-10-12 16:05:43 -07:00
Andrea Luzzardi
b2c4fea73d
tests: add docker load test
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-10-12 15:39:04 -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
dependabot[bot]
b51ad0021e
build(deps-dev): bump cypress from 8.5.0 to 8.6.0 in /website
...
Bumps [cypress](https://github.com/cypress-io/cypress ) from 8.5.0 to 8.6.0.
- [Release notes](https://github.com/cypress-io/cypress/releases )
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js )
- [Commits](https://github.com/cypress-io/cypress/compare/v8.5.0...v8.6.0 )
---
updated-dependencies:
- dependency-name: cypress
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-10-12 19:22:39 +00:00
Andrea Luzzardi
863ef31dc7
Merge pull request #1054 from dagger/dependabot/npm_and_yarn/website/react-social-login-buttons-3.6.0
...
build(deps): bump react-social-login-buttons from 3.5.1 to 3.6.0 in /website
2021-10-11 15:42:23 -07:00
dependabot[bot]
693bb58af4
build(deps): bump react-social-login-buttons in /website
...
Bumps [react-social-login-buttons](https://github.com/MichalSzorad/react-social-login-buttons ) from 3.5.1 to 3.6.0.
- [Release notes](https://github.com/MichalSzorad/react-social-login-buttons/releases )
- [Commits](https://github.com/MichalSzorad/react-social-login-buttons/commits )
---
updated-dependencies:
- dependency-name: react-social-login-buttons
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-10-11 19:17:04 +00:00
Andrea Luzzardi
36d49b4c18
Merge pull request #1052 from aluzzardi/docs-manual-sidebar
...
docs: define sidebar manually
2021-10-08 18:02:41 -07:00
Andrea Luzzardi
acc602db69
docs: remove "Create your first Dagger Environment" from sidebar
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-10-08 16:45:50 -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
dependabot[bot]
aed0f43408
build(deps): bump golang from 1.16.8-alpine to 1.16.9-alpine
...
Bumps golang from 1.16.8-alpine to 1.16.9-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-10-08 19:05:02 +00:00
Andrea Luzzardi
97908e8fc2
Merge pull request #1048 from aluzzardi/tty-logs-multiline
2021-10-06 13:58:02 -07:00
Andrea Luzzardi
82fc36c76b
tty logger: show multi-line messages
...
Support multi-line log messages rather than truncating and correctly
account terminal height.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-10-06 11:51:10 -07:00
Andrea Luzzardi
92a04fe001
Merge pull request #1047 from samalba/docs-run-local-registry
...
docs: added abililty to run a local registry for todoapp example
2021-10-05 19:22:58 -07: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
6b74006ddd
Merge pull request #1041 from aluzzardi/tty-logs
...
logger: TTY logs support (live update)
2021-10-05 16:54:19 -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
Sam Alba
91f0271a80
Merge pull request #1046 from talentedmrjones/move-what-is-cue
...
DOCS: Move what is cue
2021-10-05 15:16:42 -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
Sam Alba
7e19159f98
Merge pull request #1018 from talentedmrjones/new-get-started-tutorial
...
DOCS: new getting started tutorial
2021-10-05 13:48:56 -07:00
Andrea Luzzardi
7b5c533974
Merge pull request #1045 from aluzzardi/disable-gha-caching
...
disable gha caching
2021-10-05 13:28:47 -07:00
Andrea Luzzardi
285fe3fe39
ci: disable GHA caching
...
Getting a 400 Bad Request from GH API
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-10-05 12:39:50 -07: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
Andrea Luzzardi
4a87724b52
Merge pull request #1044 from aluzzardi/gha-cache-scope
...
ci: change gha scope
2021-10-05 12:32:21 -07:00
Andrea Luzzardi
f792199c98
ci: change gha scope
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-10-05 12:19:30 -07:00
Andrea Luzzardi
7ef717557b
Merge pull request #1043 from aluzzardi/enable-gha-caching
...
enable gha caching
2021-10-05 11:29:37 -07:00
Andrea Luzzardi
cb5634329c
ci: gha export with mode=max
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-10-04 17:56:08 -07:00
Andrea Luzzardi
541d3775c3
ci: gha lint
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-10-04 17:29:23 -07:00
Andrea Luzzardi
4cce3de9df
ci: re-enable GHA caching
...
Reverts #875 since moby/buildkit#2276 is now closed.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-10-04 17:28:44 -07:00
Andrea Luzzardi
0dbf4d4dbc
Merge pull request #1038 from dagger/dependabot/go_modules/github.com/moby/buildkit-0.9.1
...
build(deps): bump github.com/moby/buildkit from 0.9.0 to 0.9.1
2021-10-04 17:23:23 -07:00
Andrea Luzzardi
521361f1f0
Merge pull request #1042 from aluzzardi/opentelemetry-v1.0.1
...
bump opentelemetry to v1.0.1
2021-10-04 17:22:31 -07:00
Andrea Luzzardi
346cc8fab7
bump opentelemetry to v1.0.1
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-10-04 17:11:37 -07:00
Andrea Luzzardi
8a69f2fc39
Merge pull request #1036 from dagger/dependabot/go_modules/go.opentelemetry.io/otel/trace-1.0.1
...
build(deps): bump go.opentelemetry.io/otel/trace from 1.0.0 to 1.0.1
2021-10-04 17:08:12 -07:00
Sam Alba
16d4fc0c98
Merge pull request #1033 from grouville/git-ref
...
Improve/git: Git.#Repository's origin now uses the provided URL
2021-10-04 16:10:20 -07:00