Commit Graph

2472 Commits

Author SHA1 Message Date
Richard Jones
9a5fcfa5c5
renamed arch -> architecture
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-19 16:02:32 -07:00
Richard Jones
c8ef46eee0
added bats test file
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-19 16:02:32 -07:00
Richard Jones
963aa5c592
added architectures map for default versions
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-19 16:02:32 -07:00
Richard Jones
429b29679f
ported alpine to europa
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-19 16:02:32 -07:00
Sam Alba
8b2ee53016
Merge pull request #1455 from aluzzardi/europa-universe-test
tests: Basic test infrastructure for Europa Universe
2022-01-19 14:25:42 -08:00
Andrea Luzzardi
568cd194a4 tests: Basic test infrastructure for Europa Universe
- Each package can include its own bats file (e.g. `universe.dagger.io/yarn/test/yarn.bats`)
- universe.dagger.io includes a common bash helper file
- bats is installed/launched through yarn with minimal setup
- shellcheck is done across the entire repo
- Integrated into our CI

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-01-19 12:39:39 -08:00
Andrea Luzzardi
fa674280a8
Merge pull request #1459 from dagger/dependabot/npm_and_yarn/website/cypress-9.3.1
build(deps-dev): bump cypress from 9.2.1 to 9.3.1 in /website
2022-01-19 12:28:11 -08:00
Andrea Luzzardi
828ce34265
Merge pull request #1460 from dagger/dependabot/npm_and_yarn/website/amplitude-js-8.15.1
build(deps): bump amplitude-js from 8.15.0 to 8.15.1 in /website
2022-01-19 12:27:59 -08:00
Sam Alba
44335b5818
Merge pull request #1424 from aluzzardi/fix-yarn
Europa yarn fixes and tests
2022-01-19 11:40:02 -08:00
Sam Alba
4576b24f24 engine/types: revert change based from @aluzzardi feedback
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-01-19 11:19:09 -08:00
dependabot[bot]
511f5fc3d9
build(deps): bump amplitude-js from 8.15.0 to 8.15.1 in /website
Bumps [amplitude-js](https://github.com/amplitude/amplitude-javascript) from 8.15.0 to 8.15.1.
- [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.15.0...v8.15.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-19 19:18:06 +00:00
dependabot[bot]
acca5a9a25
build(deps-dev): bump cypress from 9.2.1 to 9.3.1 in /website
Bumps [cypress](https://github.com/cypress-io/cypress) from 9.2.1 to 9.3.1.
- [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.2.1...v9.3.1)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-19 19:17:39 +00:00
Sam Alba
c887cfa4e3 Universe: yarn: leverage alpine packages for using base image
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-01-19 11:17:07 -08:00
Sam Alba
f891065b9f Universe: fix alpine.#Build
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-01-19 11:17:07 -08:00
Sam Alba
9650940dd5 Universe: yarn: leverage alpine packages for using base image
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-01-19 11:17:07 -08:00
Sam Alba
c3f0800c56 Universe: yarn: updated docker.#Run syntax
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-01-19 11:17:07 -08:00
Sam Alba
ce378d5095 Universe: docker, yarn: cue fmt
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-01-19 11:17:07 -08:00
Andrea Luzzardi
c7ffdf788f WIP: Fix Europa yarn
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-01-19 11:17:05 -08:00
Solomon Hykes
ed8bb3f91b
Merge pull request #1448 from helderco/fix-docker-push-auth
Fix missing auth in docker.#Push
2022-01-19 10:36:32 -08:00
Gerhard Lazu
6aed3348a0
Merge pull request #1456 from slumbering/fix/cypress-timeout
Increate cypress.get timeout to avoid github action errors
2022-01-19 14:32:16 +00:00
jffarge
aa4cdd9c81 docs: 🐛 increate cypress get timeout to avoid github action errors
Signed-off-by: jffarge <jf@dagger.io>
2022-01-19 10:42:12 +01:00
Andrea Luzzardi
7a79395bd1
Merge pull request #1423 from aluzzardi/exec-mount-errors
exec: mount: improve error reporting on non-concrete mounts
2022-01-18 15:11:37 -08:00
Joel Longtine
510e17b499
Merge pull request #1451 from gerhard/fix-running-workflow-name
Fix running-workflow-name in bump_version-tag-release job
2022-01-18 15:18:41 -07:00
Gerhard Lazu
c5c4fdac29
Fix running-workflow-name in bump_version-tag-release job
This will prevent the job waiting on itself to complete (which will not
happen until GitHub Actions kills the run).

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-01-18 22:02:28 +00:00
Joel Longtine
92ca6998b3
Merge pull request #1450 from gerhard/release-on-trigger
Also release in the Trigger Release workflow
2022-01-18 14:53:16 -07:00
Helder Correia
17f0b8b1aa
Fix missing auth in docker.#Push
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-01-18 19:19:08 -01:00
Solomon Hykes
6162962b97
Merge pull request #1438 from helderco/fix-run
Fix docker.#Run compatibility with docker.#Build
2022-01-18 11:00:31 -08:00
Gerhard Lazu
59e9fae189
Also release in the Trigger Release workflow
The first implementation of the trigger-release would not push a tag,
meaning that the Release workflow was not getting triggered. While we
could have changed the Release workflow to react on "Trigger Release"
workflow runs, the inter-dependency felt awkward and brittle:

    diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
    index b711c5cf..843fdb70 100644
    --- a/.github/workflows/release.yml
    +++ b/.github/workflows/release.yml
    @@ -7,10 +7,16 @@ on:
       push:
         tags:
         - v*
    +  workflow_run:
    +    workflows:
    +    - "Trigger Release"
    +    types:
    +    - completed

     jobs:
       goreleaser:
         runs-on: ubuntu-latest
    +    if: ${{ github.event.workflow_run.conclusion == 'success' }}
         defaults:
           run:
             shell: bash

Instead of doing the above, introducing duplication between "Trigger
Release" and "Release" seemed simpler from a cognitive perspective. Now,
releases are produced via the Release workflow when tags are pushed, and
also when releases are triggered via "Trigger Release", now renamed to
"Auto Release".

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-01-18 18:59:50 +00:00
Gerhard Lazu
455beae762
Merge pull request #1431 from Alvise88/patch-2
Fixes inconsistencies in dagger mod get, issue #1378
2022-01-18 09:11:21 +00:00
Alvise88
f5da25870b Unified git repository management
Signed-off-by: Alvise88 <vitalvise@gmail.com>
2022-01-18 09:38:50 +01:00
Gerhard Lazu
e60b9dc268
Merge pull request #1442 from dagger/dependabot/go_modules/github.com/hashicorp/go-version-1.4.0
build(deps): bump github.com/hashicorp/go-version from 1.3.0 to 1.4.0
2022-01-17 22:07:47 +00:00
Gerhard Lazu
31e1432e91
Merge pull request #1443 from dagger/dependabot/go_modules/github.com/sergi/go-diff-1.2.0
build(deps): bump github.com/sergi/go-diff from 1.1.0 to 1.2.0
2022-01-17 22:07:02 +00:00
dependabot[bot]
3aabd2d805
build(deps): bump github.com/hashicorp/go-version from 1.3.0 to 1.4.0
Bumps [github.com/hashicorp/go-version](https://github.com/hashicorp/go-version) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/hashicorp/go-version/releases)
- [Changelog](https://github.com/hashicorp/go-version/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/go-version/compare/v1.3.0...v1.4.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/go-version
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-17 21:10:15 +00:00
dependabot[bot]
9110651a5a
build(deps): bump github.com/sergi/go-diff from 1.1.0 to 1.2.0
Bumps [github.com/sergi/go-diff](https://github.com/sergi/go-diff) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/sergi/go-diff/releases)
- [Commits](https://github.com/sergi/go-diff/compare/v1.1.0...v1.2.0)

---
updated-dependencies:
- dependency-name: github.com/sergi/go-diff
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-17 21:09:52 +00:00
Gerhard Lazu
995ee7feb5
Merge pull request #1422 from dagger/dependabot/go_modules/google.golang.org/grpc-1.43.0
Bump google.golang.org/grpc from 1.42.0 to 1.43.0
2022-01-17 21:08:55 +00:00
dependabot[bot]
569717311a
Bump google.golang.org/grpc from 1.42.0 to 1.43.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.42.0 to 1.43.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.42.0...v1.43.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>
2022-01-17 20:10:04 +00:00
Gerhard Lazu
0a98f633e0
Merge pull request #1417 from dagger/dependabot/go_modules/github.com/rs/zerolog-1.26.1
Bump github.com/rs/zerolog from 1.26.0 to 1.26.1
2022-01-17 20:08:00 +00:00
dependabot[bot]
c26dfa35df
Bump github.com/rs/zerolog from 1.26.0 to 1.26.1
Bumps [github.com/rs/zerolog](https://github.com/rs/zerolog) from 1.26.0 to 1.26.1.
- [Release notes](https://github.com/rs/zerolog/releases)
- [Commits](https://github.com/rs/zerolog/compare/v1.26.0...v1.26.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-17 17:57:40 +00:00
Gerhard Lazu
ec3692d543
Merge pull request #1372 from gerhard/auto-release-weekly
Add a GitHub Workflow that auto-releases regularly
2022-01-17 17:44:51 +00:00
Gerhard Lazu
da07d6cec2
Merge pull request #1436 from dagger/dependabot/npm_and_yarn/website/shelljs-0.8.5
build(deps): bump shelljs from 0.8.4 to 0.8.5 in /website
2022-01-17 17:29:34 +00:00
Helder Correia
3956b8b59b
Fix docker.#Run compatibility with docker.#Build
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-01-15 20:01:06 -01:00
dependabot[bot]
52fbdfc77c
build(deps): bump shelljs from 0.8.4 to 0.8.5 in /website
Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/shelljs/shelljs/releases)
- [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shelljs/shelljs/compare/v0.8.4...v0.8.5)

---
updated-dependencies:
- dependency-name: shelljs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-15 07:09:30 +00:00
Richard Jones
5016f4597d
Merge pull request #1435 from talentedmrjones/europa-move-transformsecret-secret
moved #TransformSecret to engine/secret.cue
2022-01-14 14:06:41 -07:00
Richard Jones
842a9bf6bb
moved #TransformSecret to engine/secret.cue
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-14 13:29:37 -07:00
Gerhard Lazu
fcdda0b072
Add GitHub Workflow that triggers a release at a regular time in the week
While talking with @aluzzardi, we thought that regular auto-releases
which happen with no intervention on our part would be a good idea. The
last Dagger release (0.1.0-alpha.31) was over 1 month ago, and there are
Europa-related changes which we want to make available in the Dagger
GitHub Action. We should never have more than 1 week of unreleased
changes. While more often is better, and we may need to tweak this later,
this is a decent starting point: release every Tuesday, 5pm UTC & 9am SFO.

We had to adjust the starting point slightly so that we do not start at
the top of the hour when there is high load on GitHub Actions (see the
inline comments for more details)

The workflow can also be triggered manually, and a custom tag can be
provided optionally. If no tag is provided, the last one will be
incremented as expected, e.g. v0.1.0-alpha.31 -> v0.1.0-alpha.32.
Before you get too carried away with custom tags, let's talk about the
unexpected side-effects which are not worth covering in this commit
message ("people over processes").

There is also a concurrency setting which will not prevent multiple
releases to be triggered, but at least these jobs will not run in
parallel. I looked into cancelling the current workflow if another one
of the same type is running, but I couldn't get it to work properly
within my 30 mins time-box so I stopped.

There is a lot to talk about our releases AFTER this gets merged, so
let's defer those conversations until we are happy with the first step
which I think is in the right direction.

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-01-14 20:28:45 +00:00
Solomon Hykes
180beee9c7
Merge pull request #1433 from shykes/universe-fix-eval
Universe: fix "cue eval"
2022-01-14 11:07:24 -08:00
Solomon Hykes
91e71b1d58 Universe: fix "cue eval"
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-01-14 18:58:56 +00:00
Solomon Hykes
5d4e03ff91
Merge pull request #1432 from shykes/universe-docker-fix
Universe: docker: remove leftover hack
2022-01-14 10:19:37 -08:00
Solomon Hykes
537f2e6cbb Universe: docker: remove leftover hack
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-01-14 18:13:16 +00:00
Andrea Luzzardi
7db1eed602
Merge pull request #1430 from aluzzardi/go-mod-tidy 2022-01-14 01:52:03 -08:00