Commit Graph

3367 Commits

Author SHA1 Message Date
Richard Jones
5417119198
fixes issue where specifying a non existent action doesnt error properly
Signed-off-by: Richard Jones <richard@dagger.io>
2022-03-08 19:17:49 -07:00
Andrea Luzzardi
379f24fdd2
Merge pull request #1720 from samalba/deprecate-cmd-up
cmd/up: deprecate `dagger up` with a warning
2022-03-08 18:11:34 -08:00
Sam Alba
03adcad911 cmd/up: deprecate dagger up with a warning
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-03-08 18:03:04 -08:00
Andrea Luzzardi
0af9e1a9c5
Merge pull request #1721 from aluzzardi/fix-tests
tests: fix outputs->client migration
2022-03-08 18:02:00 -08:00
Andrea Luzzardi
5834a1e740 tests: fix outputs->client migration
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-08 17:54:19 -08:00
Andrea Luzzardi
321ef8b966 ci: remove test-docs GH workflow
The file is entirely commented and I keep getting e-mails from GH on
each PR complaining about ".github/workflows/test-docs.yml: No jobs were
run"

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-08 16:19:14 -08:00
Andrea Luzzardi
f72dde1d0d
Merge pull request #1704 from helderco/inputs-outputs-cleanup
Inputs/outputs cleanup
2022-03-08 16:16:15 -08:00
Andrea Luzzardi
ac2e520b37
Merge pull request #1695 from talentedmrjones/dagger-project-update
implements dagger project update
2022-03-08 16:07:46 -08:00
Richard Jones
57cea9eb6c
implements dagger project update
Signed-off-by: Richard Jones <richard@dagger.io>
2022-03-08 16:58:20 -07:00
Andrea Luzzardi
64e8afb3f3
Merge pull request #1681 from helderco/trim-secret
Add #TrimSecret task
2022-03-08 15:51:32 -08:00
Joel Longtine
ab1961011e
Merge pull request #1707 from jlongtine/task-wl-poc-tests
Add `do` tests for task dependencies
2022-03-08 16:12:42 -07:00
Andrea Luzzardi
b92bc61123
Merge pull request #1688 from dagger/dependabot/docker/golang-1.16.15-alpine
build(deps): bump golang from 1.16.14-alpine to 1.16.15-alpine
2022-03-08 15:10:42 -08:00
dependabot[bot]
3faea70792
build(deps): bump follow-redirects
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.13.0 to 1.14.9.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.13.0...v1.14.9)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-08 22:32:59 +00:00
dependabot[bot]
711822f680
build(deps): bump url-parse in /pkg/universe.dagger.io/examples/todoapp
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.3 to 1.5.10.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.3...1.5.10)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-08 22:32:55 +00:00
dependabot[bot]
a9fe5d8f16
build(deps): bump nanoid in /pkg/universe.dagger.io/examples/todoapp
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.9 to 3.1.31.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.9...3.1.31)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-08 22:32:42 +00:00
Gerhard Lazu
b707e08d47
Merge pull request #1693 from dagger/europa-docs-local-dev-to-ci-environment
Europa docs: From local dev to CI environment
2022-03-08 22:31:49 +00:00
Gerhard Lazu
c3f21958d2
Europa docs: From local dev to CI environment doc page
The todoapp example contains a Netlify plan which uses the latest dagger
additions: do & Client API. We are thinking of merging the examples
repository into this one to make working with this easier. This is a
step in that direction.

We are not using the yarn package so that we can revert
https://github.com/dagger/dagger/pull/1673 without breaking this
implementation.

The GitHub Action is WIP, we will continue with that tomorrow:
https://github.com/dagger/dagger-for-github/issues/24

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-08 22:17:24 +00:00
Helder Correia
24d3f82fc7
Cleanup inputs, outputs and proxy
Superceded by Client API.

Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-08 20:45:28 -01:00
Joel Longtine
9dfa81a737 Remove test that refers to old code paths
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 13:57:40 -07:00
Joel Longtine
69208b7c7d Remove extraneous module.cue
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 13:53:52 -07:00
Joel Longtine
8017b29abd More outputs -> client
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 13:06:22 -07:00
Joel Longtine
baeb19bfe2 Fix refute
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 13:06:22 -07:00
Joel Longtine
58dd2ab1d3 outputs -> client
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 13:06:22 -07:00
Joel Longtine
c9f9fd66d7 do -> "do"
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 13:06:22 -07:00
Joel Longtine
cf2538e1b2 Clean up tests
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 13:06:22 -07:00
Joel Longtine
648e508c60 cue fmt
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 13:06:22 -07:00
Joel Longtine
1a555315b2 Add comment re disconnected outputs test
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 13:06:22 -07:00
Joel Longtine
5afaedc9ab Add do tests
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 13:06:22 -07:00
dependabot[bot]
df9d2dfa68
build(deps): bump github.com/docker/distribution
Bumps [github.com/docker/distribution](https://github.com/docker/distribution) from 2.8.0+incompatible to 2.8.1+incompatible.
- [Release notes](https://github.com/docker/distribution/releases)
- [Commits](https://github.com/docker/distribution/compare/v2.8.0...v2.8.1)

---
updated-dependencies:
- dependency-name: github.com/docker/distribution
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-08 19:07:45 +00:00
Helder Correia
83cd685cb3
Add front matter to new docs
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-08 11:32:10 -01:00
Andrea Luzzardi
2a6962ddc8
Merge pull request #1691 from aluzzardi/task-wl-poc
Fix task detection in dagger do
2022-03-07 16:58:03 -08:00
Andrea Luzzardi
b33b75a570 runner: switch to client API
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-07 16:03:36 -08:00
Andrea Luzzardi
0786410bbd Fix partial CUE tree run for dagger do
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-07 15:56:06 -08:00
Andrea Luzzardi
0642e34388 tests: fix inputs directories test
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-07 15:56:06 -08:00
Andrea Luzzardi
6b4674af9f
Merge pull request #1668 from helderco/client-api
Client API
2022-03-07 15:55:47 -08:00
dependabot[bot]
5704d76068
build(deps): bump github.com/Microsoft/go-winio from 0.5.1 to 0.5.2
Bumps [github.com/Microsoft/go-winio](https://github.com/Microsoft/go-winio) from 0.5.1 to 0.5.2.
- [Release notes](https://github.com/Microsoft/go-winio/releases)
- [Commits](https://github.com/Microsoft/go-winio/compare/v0.5.1...v0.5.2)

---
updated-dependencies:
- dependency-name: github.com/Microsoft/go-winio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 23:32:50 +00:00
Andrea Luzzardi
93035b04f7
Merge pull request #1675 from dagger/dependabot/go_modules/github.com/containerd/containerd-1.6.1
build(deps): bump github.com/containerd/containerd from 1.6.0 to 1.6.1
2022-03-07 15:31:26 -08:00
Andrea Luzzardi
cbd3dbf45b
Merge pull request #1690 from talentedmrjones/dagger-do-plan-flag
dagger do now uses --plan instead of --project
2022-03-07 12:11:37 -08:00
Helder Correia
da90baa087
Add new Client API
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-07 17:13:16 -01:00
Gerhard Lazu
a5a0207dde
Merge pull request #1692 from gerhard/europa-docs-packages-before-caching
Cover packages before caching
2022-03-06 00:16:21 +00:00
Gerhard Lazu
9dece5ea77
Cover packages before caching
We are still figuring out caching, specifically Buildkit go client
caching, while packages is something that users can start creating right away.

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-06 00:07:17 +00:00
Gerhard Lazu
f7be96631e
Merge pull request #1586 from gerhard/europa-local-ci
Europa docs - CI/CD in your local dev
2022-03-06 00:02:04 +00:00
Gerhard Lazu
d693742477
Europa docs: get started with CI/CD in local dev
The idea is to start simple and get users a good feel for how this works
within 5 minutes or less. We should cover the three popular OSes, and
ensure that everything works as expected.

At the end of this, users will have Dagger set up for local CI/CD, and
know how to make a change to the example app and re-run the build, test
& deploy loop.

This is part of https://github.com/dagger/dagger/issues/1327

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-05 23:58:49 +00:00
Richard Jones
9328cc8c01
dagger do now uses --plan instead of --project
Signed-off-by: Richard Jones <richard@dagger.io>
2022-03-04 16:14:28 -07:00
Richard Jones
1f5a89091c
Merge pull request #1685 from talentedmrjones/dagger-project-init
Implements dagger project init
2022-03-04 15:58:37 -07:00
Richard Jones
7bcf9a9402
Implements dagger project init
Signed-off-by: Richard Jones <richard@dagger.io>
2022-03-04 15:44:11 -07:00
Gerhard Lazu
d28c7b59ad
Merge pull request #1687 from gerhard/europa-docs-tmp-remove-use-cases
Temporarily remove Use Cases from the Europa docs sidebar
2022-03-04 19:45:34 +00:00
dependabot[bot]
e3dd24bc56
build(deps): bump golang from 1.16.14-alpine to 1.16.15-alpine
Bumps golang from 1.16.14-alpine to 1.16.15-alpine.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-04 19:08:39 +00:00
Gerhard Lazu
1e0c5d5e7a
Temporarily remove Use Cases from the Europa docs sidebar
The current plan is to add them post 0.2.0 shipping, for now the focus
is on Getting Started & Core Concepts.

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-04 18:58:17 +00:00
Gerhard Lazu
5267d72b1d
Merge pull request #1673 from dagger/extract-yarn-install-into-a-separate-step
Extract yarn install into a separate step
2022-03-04 18:48:06 +00:00