Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
 into embed-go

* 'embed-go' of https://github.com/flipt-io/flipt-client-sdks:
  build(deps-dev): bump @typescript-eslint/eslint-plugin (#554)
  build(deps-dev): bump prettier in /flipt-client-react (#561)
  chore(rust): update rust from 1.74 to 1.83 (#560)
  • Loading branch information
markphelps committed Dec 6, 2024
2 parents cb2e6b9 + 67546d0 commit c58bc43
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 42 deletions.
77 changes: 39 additions & 38 deletions flipt-client-react/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package/wasm/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func run() error {
}

func nodeBuild(ctx context.Context, client *dagger.Client, hostDirectory *dagger.Directory) error {
rust := client.Container().From("rust:1.74.0-bookworm").
rust := client.Container().From("rust:1.83.0-bookworm").
WithWorkdir("/src").
WithDirectory("/src/flipt-engine-ffi", hostDirectory.Directory("flipt-engine-ffi")).
WithDirectory("/src/flipt-engine-wasm", hostDirectory.Directory("flipt-engine-wasm"), dagger.ContainerWithDirectoryOpts{
Expand Down Expand Up @@ -126,7 +126,7 @@ func nodeBuild(ctx context.Context, client *dagger.Client, hostDirectory *dagger
}

func browserBuild(ctx context.Context, client *dagger.Client, hostDirectory *dagger.Directory) error {
rust := client.Container().From("rust:1.74.0-bookworm").
rust := client.Container().From("rust:1.83.0-bookworm").
WithWorkdir("/src").
WithDirectory("/src/flipt-engine-ffi", hostDirectory.Directory("flipt-engine-ffi")).
WithDirectory("/src/flipt-engine-wasm", hostDirectory.Directory("flipt-engine-wasm"), dagger.ContainerWithDirectoryOpts{
Expand Down
4 changes: 2 additions & 2 deletions test/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ type testCase struct {
// getFFITestContainer builds the dynamic library for the Rust core, and the Flipt container for the client libraries to run
// their tests against.
func getFFITestContainer(_ context.Context, client *dagger.Client, hostDirectory *dagger.Directory) *dagger.Container {
return client.Container().From("rust:1.74.0-bookworm").
return client.Container().From("rust:1.83.0-bookworm").
WithWorkdir("/src").
WithDirectory("/src/flipt-engine-ffi", hostDirectory.Directory("flipt-engine-ffi")).
WithDirectory("/src/flipt-engine-wasm", hostDirectory.Directory("flipt-engine-wasm"), dagger.ContainerWithDirectoryOpts{
Expand All @@ -171,7 +171,7 @@ func getFFITestContainer(_ context.Context, client *dagger.Client, hostDirectory
// getWasmTestContainer builds the wasm module for the Rust core, and the Flipt container for the client libraries to run
// their tests against.
func getWasmTestContainer(_ context.Context, client *dagger.Client, hostDirectory *dagger.Directory, target string) *dagger.Container {
container := client.Container().From("rust:1.74.0-bookworm").
container := client.Container().From("rust:1.83.0-bookworm").
WithWorkdir("/src").
WithDirectory("/src/flipt-engine-ffi", hostDirectory.Directory("flipt-engine-ffi")).
WithDirectory("/src/flipt-engine-wasm", hostDirectory.Directory("flipt-engine-wasm"), dagger.ContainerWithDirectoryOpts{
Expand Down

0 comments on commit c58bc43

Please sign in to comment.