Commit Graph

1555 Commits

Author SHA1 Message Date
Andrea Luzzardi
b8dcc02bb8 performance: compile CUE client side
Restructured the compile logic to happen on the CLI instead of the
BuildKit frontend.

- Avoid uploading the entire workspace to BuildKit on every compilation
- Let the CUE loader scan the files instead of going through the
  BuildKit filesystem gRPC APIs.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-08-20 16:34:49 +02:00
Andrea Luzzardi
18c4978f07
Merge pull request #779 from TomChv/fix-docker-push-data-race
Fix data race condition on op.#PushContainer
2021-08-20 16:34:34 +02:00
Tom Chauveau
9adeecd005
Fix data race issue by synchronizing events channel through waiting group
Previously, there was a data race condition error when `op
.#PushContainer` was called. It was because of the `Export` func
in `solver.go` that create a sub build pipeline and forward his
events to the main events channel (that catch all events that we log).
To fix it, channel are now split between build pipeline and
centralize into the old output channel (`ch`).

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-08-20 15:33:15 +02:00
Tom Chauveau
22a9445455
Track data race error
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-08-20 14:09:32 +02:00
Tom Chauveau
970a1988eb
Remove skip for docker.#Push tests
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-08-20 14:08:34 +02:00
dependabot[bot]
dded846a82
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.0 to 3.5.1.
- [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-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-19 19:15:06 +00:00
Sam Alba
cb746e165f
Merge pull request #891 from TomChv/fix/input-git-subdir
Fix input git subdir argument
2021-08-19 20:30:15 +02:00
Sam Alba
cf55a45105
Merge pull request #892 from TomChv/feat/cli-optional-input
Improve dagger input UX
2021-08-19 20:29:03 +02:00
Sam Alba
99033e8bd1
Merge pull request #889 from sujaypillai/az-storage
Adding support for azure storage
2021-08-19 01:40:01 +02:00
Tom Chauveau
3c1c0f13f6
Improve dagger input UX (solve #874)
Add new argument `--show-optional` to `dagger input list`.
Now by default, `dagger input list` will only show required input.
To get all inputs (including those with default value), you can use
that new argument.

Test has been updated to support changes.

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-08-17 17:13:30 +02:00
Tom Chauveau
c637549b15
Fix input git to correctly handle subdir argument (solve #884)
Previously, the subdir argument wa ignored by dagger input git.
I've fix that behavior and add a test.

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-08-17 15:06:28 +02:00
dependabot[bot]
30f1e0f41e
build(deps): bump url-parse from 1.5.1 to 1.5.3 in /website
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.1 to 1.5.3.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.1...1.5.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-17 12:18:37 +00:00
Andrea Luzzardi
3b5b83012a
Merge pull request #880 from slumbering/docsearch-crawler
change algolia apikey + add conf file
2021-08-17 14:18:03 +02:00
Sujay Pillai
7481294a8c Adding support for azure storage
Signed-off-by: Sujay Pillai <sujayopillai@gmail.com>
2021-08-17 17:23:01 +08:00
dependabot[bot]
f17a930fcf
build(deps): bump amplitude-js from 8.3.1 to 8.5.0 in /website
Bumps [amplitude-js](https://github.com/amplitude/amplitude-javascript) from 8.3.1 to 8.5.0.
- [Release notes](https://github.com/amplitude/amplitude-javascript/releases)
- [Changelog](https://github.com/amplitude/Amplitude-JavaScript/blob/main/CHANGELOG.md)
- [Commits](https://github.com/amplitude/amplitude-javascript/compare/v8.3.1...v8.5.0)

---
updated-dependencies:
- dependency-name: amplitude-js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-16 19:12:56 +00:00
Sam Alba
1e7c3cbc15
Merge pull request #881 from sujaypillai/azure-cli
Adding support for azure and create a resource group
2021-08-13 22:54:46 +02:00
Sam Alba
766fe6570c
Merge pull request #885 from samalba/fix-s3-cache
stdlib/aws/s3: replaced sync with cp by default to avoid cache issues
2021-08-13 22:53:36 +02:00
Sam Alba
35fb7e0cfc stdlib/aws/s3: replaced sync with cp by default to avoid cache issues
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-08-13 13:37:24 -07:00
Sujay Pillai
f979135961 Amending changes from @TomChv
Signed-off-by: Sujay Pillai <sujayopillai@gmail.com>
2021-08-12 01:51:41 +08:00
Sujay Pillai
a99fc52eeb Amending changes from @TomChv
Signed-off-by: Sujay Pillai <sujayopillai@gmail.com>
2021-08-12 01:44:03 +08:00
Sujay Pillai
d74753bca7 Amending changes from @TomChv
Signed-off-by: Sujay Pillai <sujayopillai@gmail.com>
2021-08-12 01:37:17 +08:00
Guillaume de Rouville
bdd6b5a56e Port azure.#CLI from up to os.#Container + manual testing + integrate bats test
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-08-11 16:39:35 +02:00
jffarge
e9f829d99d docs:
Signed-off-by: jffarge <jf@dagger.io>
2021-08-10 23:52:15 +02:00
jffarge
d30b729b0c docs: 👽 add algolia app ID
Signed-off-by: jffarge <jf@dagger.io>
2021-08-10 23:47:31 +02:00
Sujay Pillai
5908aa628e Adding support for azure and create a resource group
Signed-off-by: Sujay Pillai <sujayopillai@gmail.com>
2021-08-11 01:20:16 +08:00
jffarge
8d8a108a75 docs: 👽 change algolia apikey + add conf file
Signed-off-by: jffarge <jf@dagger.io>
2021-08-10 16:40:28 +02:00
Sam Alba
eadd075254
Merge pull request #879 from slumbering/menu-order
change menu order
2021-08-10 15:47:12 +02:00
jffarge
868339e174 docs: init cypress test e2e
Signed-off-by: jffarge <jf@dagger.io>
2021-08-10 15:39:13 +02:00
jffarge
22095554a9 docs: 📝 change menu order
Signed-off-by: jffarge <jf@dagger.io>
2021-08-10 15:16:08 +02:00
Sam Alba
ac56f4490c
Merge pull request #878 from slumbering/830-target-blank
display target blank icon only for sidebar menu
2021-08-09 13:48:52 +02:00
jffarge
31d36e5293 fix: 🐛 display target blank icon only for sidebar menu
Signed-off-by: jffarge <jf@dagger.io>
2021-08-09 11:54:28 +02:00
Andrea Luzzardi
795430024b
Merge pull request #876 from aluzzardi/docs-feedback
docs: collect feedback form
2021-08-06 15:42:08 +02:00
Andrea Luzzardi
2b5e789b89 docs: hotjar
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-08-06 15:41:17 +02:00
Andrea Luzzardi
ea14025e85 docs: collect feedback form
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-08-06 15:29:23 +02:00
Andrea Luzzardi
8dc3e74dff
Merge pull request #875 from aluzzardi/disable-gha-cache
ci: disable GHA cache for buildkit
2021-08-06 15:29:01 +02:00
Andrea Luzzardi
5cc1a0f84a ci: disable GHA cache for buildkit
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-08-06 15:08:12 +02:00
Andrea Luzzardi
f45e74d134
Merge pull request #870 from aluzzardi/stdlib-container-no-search
os.#Container: inherit PATH from the container image
2021-08-04 18:07:23 +02:00
Andrea Luzzardi
2401855052
Merge pull request #869 from aluzzardi/ci-use-case
docs: add the CI use case
2021-08-04 16:58:54 +02:00
Andrea Luzzardi
db459ae04d os.#Container: inherit PATH from the container image
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-08-04 16:56:52 +02:00
Andrea Luzzardi
3ace7f6bd2 docs: add the CI use case
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-08-04 16:44:01 +02:00
dependabot[bot]
c84f79b12a
build(deps): bump github.com/docker/buildx from 0.6.0 to 0.6.1
Bumps [github.com/docker/buildx](https://github.com/docker/buildx) from 0.6.0 to 0.6.1.
- [Release notes](https://github.com/docker/buildx/releases)
- [Commits](https://github.com/docker/buildx/compare/v0.6.0...v0.6.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-30 19:23:04 +00:00
Andrea Luzzardi
df0442c307
Merge pull request #858 from grouville/performance-op-exec
op.#Exec hack: performance improvement
2021-07-30 13:41:55 +02:00
Andrea Luzzardi
419501b7c6
Merge pull request #859 from TomChv/fix-typo-contributing
Fix typo in CONTRIBUTING.md
2021-07-30 13:41:04 +02:00
dependabot[bot]
cfcaaee39b
build(deps): bump @docusaurus/core in /website
Bumps [@docusaurus/core](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus) from 2.0.0-beta.2 to 2.0.0-beta.4.
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v2.0.0-beta.4/packages/docusaurus)

---
updated-dependencies:
- dependency-name: "@docusaurus/core"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-29 19:15:24 +00:00
Tom Chauveau
6976e32290 Fix typo in CONTRIBUTING.md
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-07-29 18:29:45 +02:00
Guillaume de Rouville
9f90aca2b7 op.#Exec hack: improve performance by 100x on big configs
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-07-29 16:37:47 +02:00
Andrea Luzzardi
82d95a5c64
Merge pull request #854 from shykes/docs-typo
Fix typos in docs
2021-07-29 13:36:58 +02:00
Solomon Hykes
4a84f32280 Fix typos in docs
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-07-29 10:13:37 +00:00
Andrea Luzzardi
04d8e25e4d
Merge pull request #788 from grouville/fix-git-package
git package - add keepGitDir option
2021-07-28 18:32:22 +02:00
Andrea Luzzardi
23e0b39db9
Merge pull request #845 from aluzzardi/buildkit-cache
support buildkit cache export/import
2021-07-28 17:05:56 +02:00