Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(build): move to new dagger v0.11.8 #3144

Merged
merged 13 commits into from
Jun 20, 2024
Merged

Conversation

GeorgeMac
Copy link
Contributor

@GeorgeMac GeorgeMac commented Jun 4, 2024

This is a bit of a big one.

The PR upgrades us from old Dagger land (pre 0.10.x) to v0.11.8.
Most notibly, dagger comes with its own wrapping CLI now (dagger call ...).
This has meant I ended up doing a lot of shifting us from Mage to purely Dagger based build CLI.

New commands:

dagger call build --source=. # builds a flipt container

dagger call test --source=. unit # runs unit tests
dagger call test --source=. integration # [--cases ""] runs the IT suite (I recommend doing on a case by case basis)
dagger call test --source=. cli # runs the CLI tests
dagger call test --source=. migration # runs the tests to ensure backwards compat DB migration
dagger call test --source=. load # runs a load test

dagger call generate --source=. screenshots # regenerate all the in app screenshots

Outstanding in this PR:

  • Update all the documentation
  • Update the top-level mage-file entrypoint

GeorgeMac and others added 3 commits June 17, 2024 18:50
Signed-off-by: George MacRorie <me@georgemac.com>
this makes running `dagger functions` and `dagger call test --help` via
the CLI a bit more useful.
* update to latest dagger 0.11.7
* use dagger-for-github action

Signed-off-by: Lev Lazinskiy <lev@dagger.io>
@GeorgeMac GeorgeMac changed the title refactor(build): move to new dagger v0.11.6 refactor(build): move to new dagger v0.11.8 Jun 20, 2024
.github/workflows/integration-test.yml Outdated Show resolved Hide resolved
.github/workflows/integration-test.yml Outdated Show resolved Hide resolved
.github/workflows/test.yml Outdated Show resolved Hide resolved
.github/workflows/test.yml Outdated Show resolved Hide resolved
build/internal/flipt.go Outdated Show resolved Hide resolved
@GeorgeMac GeorgeMac marked this pull request as ready for review June 20, 2024 14:16
@GeorgeMac GeorgeMac requested a review from a team as a code owner June 20, 2024 14:16
Signed-off-by: George MacRorie <me@georgemac.com>
Copy link
Collaborator

@markphelps markphelps left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for tackling this!!!

@GeorgeMac GeorgeMac merged commit 416a899 into main Jun 20, 2024
34 checks passed
@GeorgeMac GeorgeMac deleted the gm/dagger-refactor branch June 20, 2024 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants