Commit Graph

3295 Commits

Author SHA1 Message Date
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
Gerhard Lazu
26d24e6ac0
First attempt at restoring the container.input interface
The goal is to preserve the container.input interface so that custom
images can be specified, as per yarn/test/test.cue while keeping the
initial fix for https://github.com/dagger/dagger/issues/1670

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-04 18:41:21 +00:00
Gerhard Lazu
089d464802
Extract yarn install into a separate step
If multiple yarn.#Run commands run in parallel, they will corrupt each
other's yarn cache mount. Because we extract yarn install into a
separate step, LLB will dedup the yarn install step and only run it
once, regardless how many yarn.#Run commands run in parallel.

Fixes https://github.com/dagger/dagger/issues/1670

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-04 18:38:35 +00:00
Gerhard Lazu
d8af79166e
Merge pull request #1686 from gerhard/europa-docs-ci-environment
Rename CI/CD platform to CI environment
2022-03-04 18:35:06 +00:00
Gerhard Lazu
6e3c35e1ad
Rename CI/CD platform to CI environment
As discussed here:
https://github.com/dagger/dagger.io/issues/38#issuecomment-1057469048

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-04 18:26:12 +00:00
Gerhard Lazu
9084248ea4
Merge pull request #1683 from gerhard/europa-docs-core-concepts-plan
Add dagger.#Plan core concept to Europa Docs
2022-03-04 18:19:54 +00:00
Gerhard Lazu
bda88621b6
Add the dagger.#Plan core concept to Europa Docs
This is the entry point for all other core concepts.

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-04 13:47:32 +00:00
Gerhard Lazu
a21281d2eb
Merge pull request #1680 from dagger/europa-docs-drafts
Add a DRAFTS section to the Europa docs sidebar
2022-03-03 16:22:27 +00:00
Helder Correia
5ca5f8a729
Add #TrimSecret task
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-03 14:58:30 -01:00
Gerhard Lazu
ba9fcf864d
Add a DRAFTS section to the Europa docs sidebar
This is meant to act as catch-all for pages that have been written
ad-hoc, but don't currently fit anywhere.

While it was initially mentioned that this should be called
Knowledgebase, it didn't seem to accurately describe the intent.
The email & message default DRAFTS seemed better, so I just went with it.

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-03 15:31:37 +00:00
Gerhard Lazu
de703b1a3f
Merge pull request #1679 from dagger/add-link-to-europa-docs
Add link to Europa docs
2022-03-03 15:19:54 +00:00
Gerhard Lazu
f2f2f7c38a
Add link to Europa docs
So that it's easy for anyone to jump to the new docs that we are
currently working on, and intend to replace the existing docs with.

While I would have preferred to link to the local dev page, it's still
stuck in the PR state, currently blocked on another PR:
https://github.com/dagger/dagger/pull/1586

Also added a link to the pre-Europa docs, so that it's easy to go back.

While at it, drop "Sidebar" from the name of sidebars, and replace
tutorial with a more descriptive name.

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-03 15:12:43 +00:00
Gerhard Lazu
94ff9df010
Merge pull request #1678 from dagger/which-ci-cd-platform-next
Capture the first CI/CD platforms that we intend to document
2022-03-03 14:51:41 +00:00
Gerhard Lazu
df6b29e8cb
Capture the first CI/CD platforms that we intend to document
We invite users to help us prioritise via https://github.com/dagger/dagger/discussions/1677

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-03 14:03:26 +00:00
dependabot[bot]
4bdf3af541
build(deps): bump github.com/containerd/containerd from 1.6.0 to 1.6.1
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/containerd/containerd/releases)
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md)
- [Commits](https://github.com/containerd/containerd/compare/v1.6.0...v1.6.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-02 19:09:52 +00:00
Richard Jones
e055244557
Merge pull request #1648 from talentedmrjones/dagger-do-help
Implements dagger do
2022-03-01 14:17:26 -07:00
Andrea Luzzardi
45759dba37
Merge pull request #1672 from dagger/always-deploy-docs-to-netlify
Always deploy the docs
2022-03-01 12:58:40 -08:00
Richard Jones
6cdf13223c
implements dagger do
Signed-off-by: Richard Jones <richard@dagger.io>
2022-03-01 13:01:26 -07:00
Jffarge
621edd6b2f
Merge pull request #1665 from dagger/dependabot/npm_and_yarn/website/sass-1.49.9
build(deps): bump sass from 1.49.8 to 1.49.9 in /website
2022-03-01 20:46:56 +01:00
Jffarge
f08fd16d1c
Merge pull request #1667 from dagger/dependabot/npm_and_yarn/website/prismjs-1.27.0
build(deps): bump prismjs from 1.25.0 to 1.27.0 in /website
2022-03-01 20:46:34 +01:00
Jffarge
e476908fa3
Merge pull request #1671 from dagger/dependabot/npm_and_yarn/website/cypress-9.5.1
build(deps-dev): bump cypress from 9.5.0 to 9.5.1 in /website
2022-03-01 20:46:13 +01:00
Gerhard Lazu
6ea694aac0
Always deploy the docs
The default ignore gets applied and then we have a similar behaviour to
what https://github.com/dagger/dagger/pull/1591 was attempting to fix.

We hope that this will fix it for good.

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
(cherry picked from commit 24333d1a5ae3f0366762c823f1039241b5a64106)
2022-03-01 19:22:10 +00:00
dependabot[bot]
7a380ed44d
build(deps-dev): bump cypress from 9.5.0 to 9.5.1 in /website
Bumps [cypress](https://github.com/cypress-io/cypress) from 9.5.0 to 9.5.1.
- [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/v9.5.0...v9.5.1)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-01 19:19:23 +00:00