Skip to content

Instantly share code, notes, and snippets.

@phippsy22
Created June 10, 2021 08:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phippsy22/ba3b8ffb696c69c454805667691e0a8f to your computer and use it in GitHub Desktop.
Save phippsy22/ba3b8ffb696c69c454805667691e0a8f to your computer and use it in GitHub Desktop.
Dev Deploy
git push --set-upstream encore dev
Enumerating objects: 7, done.
Counting objects: 100% (7/7), done.
Delta compression using up to 12 threads
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 399 bytes | 399.00 KiB/s, done.
Total 4 (delta 2), reused 0 (delta 0), pack-reused 0
remote: dev: triggered deploy https://app.encore.dev/<redacted>
remote: streaming logs for deploy osfn66upx2... press ctrl-c to close (will not stop deploy).
remote: 00:00 | base | Checking out commit cfb37316f287bef13c15a972fc288e19c6f9b47d
remote: 00:00 | parse | Parsing metadata
remote: 00:00 | parse | Successfully parsed Encore metadata
remote: 00:00 | test | Running tests...
remote: 00:00 | build | Compiling binary...
remote: 00:01 | build | Compilation successful
remote: 00:04 | test | go: downloading github.com/json-iterator/go v1.1.10
remote: 00:04 | test | go: downloading github.com/felixge/httpsnoop v1.0.1
remote: 00:04 | test | go: downloading github.com/hashicorp/yamux v0.0.0-20200609203250-aecfd211c9ce
remote: 00:04 | test | go: downloading github.com/rs/zerolog v1.20.0
remote: 00:04 | test | go: downloading github.com/jackc/pgx/v4 v4.10.1
remote: 00:04 | test | go: downloading github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421
remote: 00:04 | test | go: downloading github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742
remote: 00:04 | test | go: downloading github.com/jackc/pgconn v1.8.0
remote: 00:04 | test | go: downloading github.com/jackc/pgio v1.0.0
remote: 00:04 | test | go: downloading github.com/jackc/pgproto3 v1.1.0
remote: 00:04 | test | go: downloading github.com/jackc/pgproto3/v2 v2.0.6
remote: 00:04 | test | go: downloading github.com/jackc/pgtype v1.6.2
remote: 00:04 | test | go: downloading golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543
remote: 00:04 | test | go: downloading github.com/jackc/puddle v1.1.3
remote: 00:04 | test | go: downloading github.com/jackc/chunkreader v1.0.0
remote: 00:04 | test | go: downloading github.com/jackc/chunkreader/v2 v2.0.1
remote: 00:04 | test | go: downloading github.com/jackc/pgpassfile v1.0.0
remote: 00:04 | test | go: downloading github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b
remote: 00:04 | test | go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9
remote: 00:04 | test | go: downloading golang.org/x/text v0.3.3
remote: 00:46 | test | === RUN TestMove
remote: 00:46 | test | 8:29AM INF starting request endpoint=HandleIndex service=snek
remote: 00:46 | test | 8:29AM INF request completed code=ok duration=0.175454 endpoint=HandleIndex service=snek
remote: 00:46 | test | --- PASS: TestMove (0.00s)
remote: 00:46 | test | PASS
remote: 00:46 | test | ok encore.app/snek 0.006s
remote: 00:47 | test | Tests completed: 1 pass, 0 fail
remote: 00:47 | build succeeded, starting deploy.
remote: 00:48 | infra |
remote: 00:48 | infra | Warning: Empty or non-existent state
remote: 00:48 | infra |
remote: 00:48 | infra | There are currently no resources tracked in the state, so there is nothing to
remote: 00:48 | infra | refresh.
remote: 00:48 | infra |
remote: 00:48 | infra | No changes. Your infrastructure matches the configuration.
remote: 00:48 | infra |
remote: 00:48 | infra | Terraform has compared your real infrastructure against your configuration
remote: 00:48 | infra | and found no differences, so no changes are needed.
remote: 00:48 | infra | No changes to apply.
remote: 00:48 | infra | Configuring provisioned infrastructure...
remote: 00:48 | infra | Failed to configure infrastructure: cloud.Encore.Configure: failed to run op *k8s.ingressCreator: clusterroles.rbac.authorization.k8s.io "external-ingress" is forbidden: user "system:serviceaccount:default:encore-deploy" (groups=["system:serviceaccounts" "system:serviceaccounts:default" "system:authenticated"]) is attempting to grant RBAC permissions not currently held:
remote: {APIGroups:["extensions"], Resources:["ingressclasses"], Verbs:["get" "list" "watch"]}
remote: {APIGroups:["networking.k8s.io"], Resources:["ingressclasses"], Verbs:["get" "list" "watch"]}
remote: 00:48 | infra | Successfully updated Encore application topology
To encore://<redacted>
* [new branch] dev -> dev
Branch 'dev' set up to track remote branch 'dev' from 'encore'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment