Commit Graph

3009 Commits

Author SHA1 Message Date
dependabot[bot]
65a109b9fb
build(deps): bump github.com/docker/buildx from 0.8.0 to 0.8.1
Bumps [github.com/docker/buildx](https://github.com/docker/buildx) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/docker/buildx/releases)
- [Commits](https://github.com/docker/buildx/compare/v0.8.0...v0.8.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>
2022-03-25 19:34:39 +00:00
Andrea Luzzardi
b89e429f23
Merge pull request #1863 from dagger/dependabot/go_modules/github.com/containerd/containerd-1.6.2
build(deps): bump github.com/containerd/containerd from 1.6.1 to 1.6.2
2022-03-25 12:33:25 -07:00
Andrea Luzzardi
4f440bc67a
Merge pull request #1842 from helderco/docker-load
Add export and load for dagger images
2022-03-25 12:22:40 -07:00
dependabot[bot]
d6c35e17c0
build(deps): bump github.com/containerd/containerd from 1.6.1 to 1.6.2
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.6.1 to 1.6.2.
- [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.1...v1.6.2)

---
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-25 19:21:36 +00:00
Helder Correia
7a8153910c
Add export and load for dagger images
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-25 15:04:29 -01:00
Chris Hunt
2018ac99f0
Add PowerShell package (#1783)
Signed-off-by: Chris Hunt <114173+cdhunt@users.noreply.github.com>
2022-03-24 23:42:27 -01:00
Sam Alba
e4258683a2
Merge pull request #1851 from dagger/dependabot/go_modules/go.opentelemetry.io/otel/exporters/jaeger-1.6.0
build(deps): bump go.opentelemetry.io/otel/exporters/jaeger from 1.5.0 to 1.6.0
2022-03-24 17:26:22 -07:00
Gerhard Lazu
6ce2673d22
Merge pull request #1853 from gerhard/fix-default-version-install-sh
Fix install.sh when no version provided
2022-03-25 00:09:49 +00:00
dependabot[bot]
dbfdef359b
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.5.0 to 1.6.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.5.0...v1.6.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-25 00:02:31 +00:00
Andrea Luzzardi
d942b4e6a7
Merge pull request #1849 from dagger/dependabot/go_modules/go.opentelemetry.io/otel/sdk-1.6.0
build(deps): bump go.opentelemetry.io/otel/sdk from 1.5.0 to 1.6.0
2022-03-24 17:01:25 -07:00
Gerhard Lazu
6c1d7ec19f
Fix install.sh when no version provided
This fixes a bug that I introduced in
https://github.com/dagger/dagger/pull/1819

Mistakes that get fixed before anyone notices never happened. Focus on
the learnings, quick fixes and let resilient systems emerge. 💪

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-24 23:53:45 +00:00
Gerhard Lazu
16450c3263
Merge pull request #1819 from gerhard/install-sh-any-published-version
Allow any published dagger version to be installed via install.sh
2022-03-24 23:38:43 +00:00
Gerhard Lazu
6db19fcea2
Allow any published dagger version to be installed via install.sh
This also updates Getting Started - CI/CD in your local dev - Linux & Mac doc.
A few other related doc changes were pulled in by this.

I wanted to try different versions of dagger on Linux, and this was the
easiest way of doing that:

    curl -L https://dl.dagger.io/dagger/install.sh -O
    # make this change, and then:

    DAGGER_VERSION=0.2.0 sh install.sh
    # ...
    ./bin/dagger version
    dagger 0.2.0 (e499297e) linux/amd64

    DAGGER_VERSION=0.2.1 sh install.sh
    # ...
    ./bin/dagger version
    dagger 0.2.1 (69b4845d) linux/amd64

This change enables anyone to do the following instead:

    curl -L https://dl.dagger.io/dagger/install.sh \
    | DAGGER_VERSION=0.2.0 sh

Until this gets merged, you can test how this change works in practice
via this temporary file:

    curl -L https://dl.dagger.io/dagger/install-pr-1819.sh \
    | DAGGER_VERSION=0.2.0 sh

One thing which I was not sure about is how the file from this
repository ends up on https://dl.dagger.io/dagger/install.sh. I think
this is a manual process today, but I need to confirm this assumption.

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-24 23:28:07 +00:00
Gerhard Lazu
c4104626c3
Merge pull request #1837 from marcosnils/feat/docs_os_select
Attempt to automatically select OS tab based on user user-agent
2022-03-24 23:10:32 +00:00
dependabot[bot]
c8078c5dd2
build(deps): bump go.opentelemetry.io/otel/sdk from 1.5.0 to 1.6.0
Bumps [go.opentelemetry.io/otel/sdk](https://github.com/open-telemetry/opentelemetry-go) from 1.5.0 to 1.6.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.5.0...v1.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-24 22:22:03 +00:00
Andrea Luzzardi
0bbfa08334
Merge pull request #1841 from dagger/dependabot/npm_and_yarn/website/node-forge-1.3.0
build(deps): bump node-forge from 1.2.1 to 1.3.0 in /website
2022-03-24 15:21:21 -07:00
Andrea Luzzardi
9503274de0
Merge pull request #1852 from dagger/dependabot/go_modules/go.opentelemetry.io/otel-1.6.0
build(deps): bump go.opentelemetry.io/otel from 1.5.0 to 1.6.0
2022-03-24 15:20:55 -07:00
Jffarge
93d5a37508
Merge pull request #1835 from slumbering/gh-action-property
Fix the missing property "on" for getting started github action
2022-03-24 20:34:57 +01:00
dependabot[bot]
f331289482
build(deps): bump go.opentelemetry.io/otel from 1.5.0 to 1.6.0
Bumps [go.opentelemetry.io/otel](https://github.com/open-telemetry/opentelemetry-go) from 1.5.0 to 1.6.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.5.0...v1.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-24 19:08:47 +00:00
Marcos Lilljedahl
70c49495aa Add BrowserOnly component to avoid SSG errors
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2022-03-24 16:02:27 -03:00
Solomon Hykes
c800cb5a3a
Merge pull request #1833 from marcosnils/fix/todoapp_cache
WIP: Add node_modules mount to improve caching times
2022-03-24 11:53:19 -07:00
Marcos Lilljedahl
52e7145874 Update windows benchmarks
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2022-03-24 12:52:17 -03:00
dependabot[bot]
b09bea16ad
build(deps): bump node-forge from 1.2.1 to 1.3.0 in /website
Bumps [node-forge](https://github.com/digitalbazaar/forge) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/digitalbazaar/forge/releases)
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md)
- [Commits](https://github.com/digitalbazaar/forge/compare/v1.2.1...v1.3.0)

---
updated-dependencies:
- dependency-name: node-forge
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-24 10:50:12 +00:00
Jffarge
ff2b92df94
Merge pull request #1834 from dagger/rebuild-algolia-docs-search-index
Rebuild Algolia search index for docs
2022-03-24 09:01:55 +01:00
Andrea Luzzardi
e855692240
Merge pull request #1840 from aluzzardi/ci-disable-telemetry 2022-03-23 19:47:29 -07:00
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