Commit Graph

3155 Commits

Author SHA1 Message Date
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
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