Skip to content

Commit

Permalink
chore: test app on fly
Browse files Browse the repository at this point in the history
Test deploying the app on fly, redirect to ngrok -> local vector instance

Signed-off-by: grouville <[email protected]>
  • Loading branch information
grouville committed Jul 29, 2023
1 parent 1773f2f commit 5b4bccd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions magefiles/dagger.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import (

"dagger.io/dagger"
"github.com/containers/image/v5/docker/reference"
"github.com/magefile/mage/mg"
"github.com/magefile/mage/sh"
)

Expand All @@ -26,7 +25,7 @@ const (
// https://hub.docker.com/r/flyio/flyctl/tags
flyctlVersion = "0.1.65"

appName = "dagger-registry-2023-01-23"
appName = "dagger-registry-2023-07-28"
appImageRegistry = "registry.fly.io"
binaryName = "registry-redirect"

Expand Down Expand Up @@ -189,7 +188,7 @@ func deploy(ctx context.Context, c *dagger.Client, imageRef string) {

// [lints, tests], builds, publishes & deploys a new version of the app
func All(ctx context.Context) {
mg.CtxDeps(ctx, Lint, Test)
// mg.CtxDeps(ctx, Lint, Test)

c := daggerClient(ctx)
defer c.Close()
Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ func main() {
// info, warning, error and fatal
logCfg := logger.Config{
Level: "info",
Component: "dagger-registry-2023-01-23",
Component: "dagger-registry-2023-07-28",
Protocol: "tcp",
Address: "localhost:1514",
Address: "0.tcp.eu.ngrok.io:16901",
}

ctx, syslogger, err := logger.NewLogger(ctx, &logCfg)
Expand Down

0 comments on commit 5b4bccd

Please sign in to comment.