Commit Graph

2881 Commits

Author SHA1 Message Date
Andrea Luzzardi
6b4674af9f Merge pull request #1668 from helderco/client-api
Client API
2022-03-07 15:55:47 -08: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
Andrea Luzzardi
3e9fd390c7 Merge pull request #1663 from dubo-dubon-duponey/fix1
Fix flaky tests in outputs
2022-02-28 12:31:05 -08:00
Andrea Luzzardi
bcbe5f7f35 Merge pull request #1669 from dagger/dependabot/go_modules/github.com/moby/buildkit-0.10.0-rc2
build(deps): bump github.com/moby/buildkit from 0.10.0-rc1 to 0.10.0-rc2
2022-02-28 11:20:57 -08:00
dependabot[bot]
073fafcc28 build(deps): bump github.com/moby/buildkit from 0.10.0-rc1 to 0.10.0-rc2
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit) from 0.10.0-rc1 to 0.10.0-rc2.
- [Release notes](https://github.com/moby/buildkit/releases)
- [Commits](https://github.com/moby/buildkit/compare/v0.10.0-rc1...v0.10.0-rc2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-28 19:08:21 +00:00
dependabot[bot]
28abf690a1 build(deps): bump prismjs from 1.25.0 to 1.27.0 in /website
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.25.0 to 1.27.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.25.0...v1.27.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-26 02:12:40 +00:00
Andrea Luzzardi
41320b6032 Merge pull request #1662 from samalba/docker-exit
pkg: docker: add the command exit code
2022-02-25 14:38:26 -08:00
dependabot[bot]
b13d854f8f build(deps): bump sass from 1.49.8 to 1.49.9 in /website
Bumps [sass](https://github.com/sass/dart-sass) from 1.49.8 to 1.49.9.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.49.8...1.49.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-25 19:14:28 +00:00
dubo-dubon-duponey
30b5db0586 Fix flaky tests
Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
2022-02-24 23:01:33 -08:00
Sam Alba
3421a8efce pkg: docker: add the command exit code
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-02-24 17:48:18 -08:00
dubo-dubon-duponey
0bfb1bd447 Changes to bats files should trigger testing
Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
2022-02-24 17:17:58 -08:00
Solomon Hykes
1135398bee Merge pull request #1644 from shykes/go-fix
go.#Build: small improvements
2022-02-23 14:05:13 -08:00
Solomon Hykes
47a8bbc3ce Merge pull request #1657 from almogtavor/patch-2
Fix a typo in the docs
2022-02-23 13:52:04 -08:00
Solomon Hykes
f6cee7f306 go.#Build: small improvements
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-02-23 21:45:13 +00:00
Almog Tavor
511584af62 Fix a typo in the docs
Fix a typo in the docs

Signed-off-by: Almog Tavor <almogtavor@gmail.com>
2022-02-23 23:43:28 +02:00