Commit Graph

3187 Commits

Author SHA1 Message Date
Andrea Luzzardi
fd2ccc0048 ci: disable telemetry
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-23 19:01:09 -07:00
Marcos Lilljedahl
b401cdafd9 Add markdownlint to Makefile
We're currently running markdownlint in CI and we didn't have a target
for that in our makefile. Adding that to prevent rejected PR's due to
markdown linting errors

Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2022-03-23 15:35:49 -03:00
Marcos Lilljedahl
b47b51401f Attempt to automatically select OS tab based on user user-agent
This is a quick fix to attempt to automatically select the user's OS tab
on the pages that requires so which potentially avoids users following
incorrect docs

Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2022-03-23 14:05:08 -03:00
Gerhard Lazu
bd22221496
Rebuild Algolia search index for docs
Only include the Europa docs

    cd website
    ./rebuild_algolia_docs_search_index.sh
    jq is /Users/gerhard/.nix-profile/bin/jq
    docker is /Users/gerhard/.nix-profile/bin/docker
    > DocSearch: https://deploy-preview-1833--devel-docs-dagger-io.netlify.app/1202/plan/ 16 records)
    > DocSearch: https://deploy-preview-1833--devel-docs-dagger-io.netlify.app/1214/migrate-from-dagger-0.1/ 5 records)
    > DocSearch: https://deploy-preview-1833--devel-docs-dagger-io.netlify.app/index.html 40 records)
    > DocSearch: https://deploy-preview-1833--devel-docs-dagger-io.netlify.app/1213/api/ 47 records)
    > DocSearch: https://deploy-preview-1833--devel-docs-dagger-io.netlify.app/1201/ci-environment/ 15 records)
    > DocSearch: https://deploy-preview-1833--devel-docs-dagger-io.netlify.app/1203/client/ 21 records)
    > DocSearch: https://deploy-preview-1833--devel-docs-dagger-io.netlify.app/1211/go-docker-swarm/ 15 records)
    > DocSearch: https://deploy-preview-1833--devel-docs-dagger-io.netlify.app/1204/secrets/ 12 records)
    > DocSearch: https://deploy-preview-1833--devel-docs-dagger-io.netlify.app/1205/container-images/ 9 records)

    Nb hits: 180

Fixes #1832

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-23 14:57:33 +00:00
Marcos Lilljedahl
2da7056ebe Fix nodeModules scope to avoid polluting TL namespace
Ref: https://github.com/dagger/dagger/issues/1711
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2022-03-23 11:52:49 -03:00
jffarge
1ae43daa1a Fix the missing property "on" for getting started github action
Signed-off-by: jffarge <jf@dagger.io>
2022-03-23 15:50:22 +01:00
Marcos Lilljedahl
85b044ebf4 Update macOS benchmarks
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2022-03-22 17:24:48 -03:00
Marcos Lilljedahl
a1aa420bd5 Update docs with new linux benchmarks
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2022-03-22 16:47:01 -03:00
Marcos Lilljedahl
6344bb020b Add node_modules mount to improve caching times
This commit adds `node_modules` to dagger run commands so cached builds have
similar speed times as running commands locally directly through yarn
<script>

Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2022-03-22 16:03:15 -03:00
Andrea Luzzardi
e46acc8053
Merge pull request #1821 from aluzzardi/telemetry-test-repo
telemetry: Normalize git URLs
2022-03-22 10:55:43 -07:00
Andrea Luzzardi
e484477bf9
Merge pull request #1827 from TomChv/fix/add-platform-metadata-to-pushed-image
Complete exportImageConfig to bind platform metadata
2022-03-22 10:55:22 -07:00
Andrea Luzzardi
30cbc64d86
Merge pull request #1831 from slumbering/netlify-package
replace yarn by npm to avoid plugin installation error
2022-03-22 10:51:26 -07:00
jffarge
9f2b571433 update netlify cli deploy command
Signed-off-by: jffarge <jf@dagger.io>
2022-03-22 17:12:13 +01:00
jffarge
01fd8993c3 replace yarn by npm to avoid plugin installation error
Signed-off-by: jffarge <jf@dagger.io>
2022-03-22 14:51:04 +01:00
Tom Chauveau
c3a6d80716
Complete exportImageConfig to bind platform metadata.
Resolves #1802

Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2022-03-22 12:21:25 +01:00
Andrea Luzzardi
f7628adee5 telemetry: Normalize git URLs
Normalize `https://github.com/dagger/dagger` and
`git@github.com:dagger/dagger.git` to `github.com/dagger/dagger`

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-21 16:56:35 -07:00
Andrea Luzzardi
fead547df1
Merge pull request #1828 from helderco/fix-dockerfile-test
Fix docker.#Dockerfile test
2022-03-21 16:56:26 -07:00
Helder Correia
a1b2e03f29
Fix docker.#Dockerfile test
Entrypoint is no longer ignored.

Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-21 22:45:15 -01:00
Andrea Luzzardi
fe72cc9056
Merge pull request #1826 from marcosnils/fix/bump_golangcilint
Bump golangci-lint to latest
2022-03-21 13:55:09 -07:00
Marcos Lilljedahl
2290641fa4 Bump golangci-lint to latest
Golint is replaced with revive since the former has been archived and
replaced with the latter.

Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2022-03-21 17:40:10 -03:00
Solomon Hykes
323f01278a
Merge pull request #1808 from helderco/run-entrypoint
Add entrypoint field to `docker.#Run`
2022-03-21 10:18:18 -07:00
Gerhard Lazu
749278965c
Merge pull request #1525 from TomChv/feat/docker-dockerfile
Implement docker.#Dockerfile
2022-03-18 13:41:30 +00:00
Tom Chauveau
c6da3eeb9e
Update dockerfile test to use client API
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2022-03-18 12:38:50 +01:00
Tom Chauveau
cc601a4e07
Apply Solomon comments
- Remove input field
- Fix auth consistency
- Cleanup test

Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2022-03-18 11:59:11 +01:00
Vasek - Tom C
c90be8423e
Add tests on docker.#Dockerfile
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2022-03-18 11:58:34 +01:00
Vasek - Tom C
562678779e
Update docker.#Dockerfile to be a 1:1 mirror to engine.#Dockerfile
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2022-03-18 11:58:34 +01:00
Andrea Luzzardi
22183cb092
Merge pull request #1811 from dagger/dependabot/go_modules/go.opentelemetry.io/otel/exporters/jaeger-1.5.0
build(deps): bump go.opentelemetry.io/otel/exporters/jaeger from 1.4.1 to 1.5.0
2022-03-17 16:25:24 -07:00
Andrea Luzzardi
401387af62
Merge pull request #1814 from dagger/dependabot/go_modules/github.com/stretchr/testify-1.7.1
build(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1
2022-03-17 16:23:43 -07:00
Gerhard Lazu
577c83f4e0
Add helloworld example
This is the first thing that someone new to Dagger tried to do.

I wanted to capture it in an example so that we can reference in the future.

I am sure that we can improve on this small step in a direction that I
have seen a new member take.

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-17 19:16:18 +00:00
Tom Chauveau
6fe49a0294
Improve go use case example according to Gerhard's review
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2022-03-17 17:28:38 +01:00
Andrea Luzzardi
8b7e591851
Merge pull request #1790 from shykes/nop
dagger.#Nop: work around bugs in the DAG resolver
2022-03-16 13:40:26 -07:00
dependabot[bot]
af29c948cc
build(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.0...v1.7.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-16 19:10:12 +00:00
dependabot[bot]
d9e26c9f8c
build(deps): bump go.opentelemetry.io/otel/exporters/jaeger
Bumps [go.opentelemetry.io/otel/exporters/jaeger](https://github.com/open-telemetry/opentelemetry-go) from 1.4.1 to 1.5.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.4.1...v1.5.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/exporters/jaeger
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-16 19:09:57 +00:00
Andrea Luzzardi
4b82a3fb4a
Merge pull request #1810 from aluzzardi/remove-telemetry-bin
telemetry: remove binary commited by mistake
2022-03-16 10:44:16 -07:00
Solomon Hykes
4e6d5d487f
Merge pull request #1800 from gerhard/add-missing-entries-to-dagger-cue-api
Add missing definitions to Dagger CUE API docs page
2022-03-16 10:28:05 -07:00
Andrea Luzzardi
c6693b902e telemetry: remove binary commited by mistake
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-16 10:19:31 -07:00
Tom Chauveau
2d3acc61e0
Add dagger golang use case
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2022-03-16 12:14:24 +01:00
Jffarge
cea76a8429
Merge pull request #1807 from dagger/dependabot/npm_and_yarn/website/cypress-9.5.2
build(deps-dev): bump cypress from 9.5.1 to 9.5.2 in /website
2022-03-16 09:15:04 +01:00
Jffarge
0a9145da0a
Merge pull request #1809 from maert/fix-environment-typo
Fix typo
2022-03-16 09:14:40 +01:00
Jeremy Adams
cde9d54589 Fix typo
Signed-off-by: Jeremy Adams <jeremy.adams.pdx@gmail.com>
2022-03-15 16:52:28 -07:00
Gerhard Lazu
dcf3b7ed21
Add missing definitions to Dagger CUE API
Link to the source of truth cue files.

While at it, move this page from Knowledge Base, which is a generic
category, to Core Concepts. The URL didn't change so that we don't break
existing links. FWIW /1213/dagger-cue would have been my choice.

Initially contributed as a change part of
https://github.com/dagger/dagger/pull/1758

Should be merged after https://github.com/dagger/dagger/pull/1799

Related to https://github.com/dagger/dagger/pull/1768

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-15 21:44:37 +00:00
Helder Correia
a0bb201e45
Add entrypoint field to docker.#Run
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-15 18:44:44 -01:00
Solomon Hykes
7eeb3cee66
Merge pull request #1799 from gerhard/europa-docs-include-cue-page-in-sidebar
Add What is Cue? page to Europa Docs sidebar
2022-03-15 12:30:08 -07:00
dependabot[bot]
4f1026e5b0
build(deps-dev): bump cypress from 9.5.1 to 9.5.2 in /website
Bumps [cypress](https://github.com/cypress-io/cypress) from 9.5.1 to 9.5.2.
- [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.1...v9.5.2)

---
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-15 19:18:47 +00:00
Andrea Luzzardi
69b4845d2e
Merge pull request #1803 from aluzzardi/autorel-version
ci: switch auto release to patch versions
2022-03-14 22:41:58 -07:00
Andrea Luzzardi
085862200c ci: switch auto release to patch versions
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-14 22:36:32 -07:00
Andrea Luzzardi
82de3d4aca
Merge pull request #1768 from sipsma/merge-diff
Add support for Merge and Diff fs operations.
2022-03-14 22:29:44 -07:00
Andrea Luzzardi
e9d3b2fd15
Merge pull request #1801 from aluzzardi/ci-telemetry
telemetry: include CI events
2022-03-14 16:11:26 -07:00
Sam Alba
a406b15ef4
Merge pull request #1779 from shykes/ci-anydir
Fix ./ci to be workdir-independent
2022-03-14 16:05:51 -07:00
Andrea Luzzardi
21c6af0678
Merge pull request #1782 from aluzzardi/do-help-improvements
dagger do: Improve help message
2022-03-14 12:56:43 -07:00