Commit Graph

1529 Commits

Author SHA1 Message Date
Tom Chauveau
3f0350359e
Improve solver channel management according to @aluzzardi comments
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-08-23 17:22:01 +02:00
Tom Chauveau
95468ce2b3
Solve sub build miss synchronous behavior
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-08-23 15:33:16 +02:00
Andrea Luzzardi
350e6ac5a2
Merge pull request #776 from slumbering/cypress-init 2021-08-23 11:00:31 +02:00
jffarge
7e13614cb4 docs: 🚚 rename cypress job
Signed-off-by: jffarge <jf@dagger.io>
2021-08-23 10:13:27 +02:00
Andrea Luzzardi
6a73f1de80
Merge pull request #903 from TomChv/fix/client-waiting-group
Fix waiting group in client runner
2021-08-20 18:54:15 +02:00
Tom Chauveau
39ec4a0a2f
Fix waiting group in client runner
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-08-20 18:39:12 +02:00
Andrea Luzzardi
bfdb2e3655
Merge pull request #902 from dagger/dependabot/go_modules/github.com/containerd/console-1.0.3
build(deps): bump github.com/containerd/console from 1.0.2 to 1.0.3
2021-08-20 17:40:11 +02:00
dependabot[bot]
201d3e3b68
build(deps): bump github.com/containerd/console from 1.0.2 to 1.0.3
Bumps [github.com/containerd/console](https://github.com/containerd/console) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/containerd/console/releases)
- [Commits](https://github.com/containerd/console/compare/v1.0.2...v1.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-20 15:31:26 +00:00
Andrea Luzzardi
cfd5cfbfcb
Merge pull request #893 from dagger/dependabot/npm_and_yarn/website/sass-1.38.0
build(deps): bump sass from 1.36.0 to 1.38.0 in /website
2021-08-20 17:26:37 +02:00
Andrea Luzzardi
283a5f76a8
Merge pull request #901 from TomChv/fix/cli-global-flags
Fix env & log global flags are no longer hidden.
2021-08-20 17:16:53 +02:00
dependabot[bot]
c63617040f
build(deps): bump sass from 1.36.0 to 1.38.0 in /website
Bumps [sass](https://github.com/sass/dart-sass) from 1.36.0 to 1.38.0.
- [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.36.0...1.38.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-20 15:16:34 +00:00
Andrea Luzzardi
b70630b725
Merge pull request #877 from dagger/dependabot/docker/golang-1.16.7-alpine
build(deps): bump golang from 1.16.6-alpine to 1.16.7-alpine
2021-08-20 17:12:47 +02:00
Andrea Luzzardi
fee9742986
Merge pull request #898 from aluzzardi/perf-cue-loading
performance: compile CUE client side
2021-08-20 17:10:50 +02:00
Andrea Luzzardi
d44fc5abde
Merge pull request #899 from TomChv/fix/readme-deadlinks
Fix README documentation dead link
2021-08-20 17:09:23 +02:00
Andrea Luzzardi
4468898f4b
Merge pull request #900 from dagger/dependabot/go_modules/google.golang.org/grpc-1.40.0
build(deps): bump google.golang.org/grpc from 1.39.0 to 1.40.0
2021-08-20 17:09:01 +02:00
Tom Chauveau
8a7b5e1b63
Fix env & log global flags are no longer hidden.
There was a hack in `version.go` that was hiding unused flag from
that command.
The problem is that the effect has spread to all commands.

I've removed that trick to correctly display all flags because it's
important for users to know how select an environment and configure
log format.

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-08-20 17:06:22 +02:00
dependabot[bot]
ee663f96a1
build(deps): bump google.golang.org/grpc from 1.39.0 to 1.40.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.39.0 to 1.40.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.39.0...v1.40.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-20 14:54:12 +00:00
Andrea Luzzardi
922802185f
Merge pull request #861 from dagger/dependabot/go_modules/github.com/docker/buildx-0.6.1
build(deps): bump github.com/docker/buildx from 0.6.0 to 0.6.1
2021-08-20 16:38:08 +02:00
dependabot[bot]
3641884650
build(deps): bump golang from 1.16.6-alpine to 1.16.7-alpine
Bumps golang from 1.16.6-alpine to 1.16.7-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-08-20 14:37:54 +00:00
Andrea Luzzardi
99bafcba67
Merge pull request #860 from dagger/dependabot/npm_and_yarn/website/docusaurus/core-2.0.0-beta.4
build(deps): bump @docusaurus/core from 2.0.0-beta.2 to 2.0.0-beta.4 in /website
2021-08-20 16:37:11 +02:00
Tom Chauveau
969d0cd5da
Fix README documentation dead link
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-08-20 16:36:48 +02:00
Andrea Luzzardi
7d885f3708
Merge pull request #887 from dagger/dependabot/npm_and_yarn/website/amplitude-js-8.5.0
build(deps): bump amplitude-js from 8.3.1 to 8.5.0 in /website
2021-08-20 16:36:32 +02:00
Andrea Luzzardi
02885934bf
Merge pull request #890 from dagger/dependabot/npm_and_yarn/website/url-parse-1.5.3
build(deps): bump url-parse from 1.5.1 to 1.5.3 in /website
2021-08-20 16:36:17 +02:00
Andrea Luzzardi
177c00f03c
Merge pull request #897 from dagger/dependabot/npm_and_yarn/website/react-social-login-buttons-3.5.1
build(deps): bump react-social-login-buttons from 3.5.0 to 3.5.1 in /website
2021-08-20 16:35:51 +02:00
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