Skip to content

Commit

Permalink
chore: rm screenshot pipeline (#3337)
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Phelps <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
markphelps and kodiakhq[bot] authored Aug 5, 2024
1 parent 1bfdd3f commit 5a9637d
Show file tree
Hide file tree
Showing 42 changed files with 2 additions and 672 deletions.
134 changes: 0 additions & 134 deletions build/generate/screenshots.go

This file was deleted.

21 changes: 0 additions & 21 deletions build/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import (
"strings"

"github.com/containerd/containerd/platforms"
"go.flipt.io/build/generate"
"go.flipt.io/build/internal"
"go.flipt.io/build/internal/dagger"
"go.flipt.io/build/testing"
Expand Down Expand Up @@ -131,23 +130,3 @@ func (t *Test) Integration(

return testing.Integration(ctx, dag, t.BaseContainer, t.FliptContainer, opts...)
}

type Generate struct {
Source *dagger.Directory
FliptContainer *dagger.Container
}

// Execute generate function with subcommand
// see all available subcommands with dagger call generate --help
func (f *Flipt) Generate(ctx context.Context, source *dagger.Directory) (*Generate, error) {
flipt, err := f.Build(ctx, source)
if err != nil {
return nil, err
}

return &Generate{source, flipt}, nil
}

func (g *Generate) Screenshots(ctx context.Context) error {
return generate.Screenshots(ctx, dag, g.Source, g.FliptContainer)
}
12 changes: 2 additions & 10 deletions dagger.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,13 @@
{
"name": "flipt",
"sdk": "go",
"exclude": [
".git",
"bin",
"screenshots",
"ui/node_modules"
],
"exclude": [".git", "bin", "ui/node_modules"],
"source": "build",
"engineVersion": "v0.12.3",
"views": [
{
"name": "default",
"patterns": [
"!.git",
"!**/node_modules"
]
"patterns": ["!.git", "!**/node_modules"]
}
]
}
63 changes: 0 additions & 63 deletions ui/screenshot.js

This file was deleted.

9 changes: 0 additions & 9 deletions ui/screenshot/concepts/constraints.js

This file was deleted.

12 changes: 0 additions & 12 deletions ui/screenshot/concepts/constraints_types.js

This file was deleted.

9 changes: 0 additions & 9 deletions ui/screenshot/concepts/distributions.js

This file was deleted.

13 changes: 0 additions & 13 deletions ui/screenshot/concepts/evaluation.js

This file was deleted.

9 changes: 0 additions & 9 deletions ui/screenshot/concepts/fixtures/constraints.yml

This file was deleted.

5 changes: 0 additions & 5 deletions ui/screenshot/concepts/fixtures/constraints_types.yml

This file was deleted.

25 changes: 0 additions & 25 deletions ui/screenshot/concepts/fixtures/distributions.yml

This file was deleted.

25 changes: 0 additions & 25 deletions ui/screenshot/concepts/fixtures/evaluation.yml

This file was deleted.

12 changes: 0 additions & 12 deletions ui/screenshot/concepts/fixtures/flags.yml

This file was deleted.

5 changes: 0 additions & 5 deletions ui/screenshot/concepts/fixtures/namespaces_default.yml

This file was deleted.

1 change: 0 additions & 1 deletion ui/screenshot/concepts/fixtures/namespaces_production.yml

This file was deleted.

Loading

0 comments on commit 5a9637d

Please sign in to comment.