flyctl

Command line tools for fly.io services

APACHE-2.0 License

Downloads
229
Stars
1.4K
Committers
180

Bot releases are visible (Hide)

flyctl - v0.0.478-pre-2

Published by michaeldwan over 1 year ago

f9e8a88d Require app name when necessary
56b029bf Clarify vm sizes a bit
1982fe44 Expose performance cpus to custom pg provision process
f7f08b3f Fix references to appv2
197c4a8b WIP: wire apps v2 default through fly launch and fly apps create
1ba038ce WIP: fix --force-nomad when apps v2 default on is set for org

flyctl - v0.0.478-pre-1

Published by michaeldwan over 1 year ago

dc9fd114 Avoid expensive duplicate call to LoadAppConfigIfPresent
b0b50fec Use sanitized definition for machine clone
dc7d287c Rename to internal/appconfig
99a41a47 Fix internal/app reference after rebasing
61b531e9 Validate v2 app config before deploy
f71814b1 Complain with linter
443ee3a5 Respect fly launch --force-machines with --no-deploy
f78d4573 Remove LoadAppV2ConfigIfPresent
1206e1fd Warn of invalid fly.toml when used on V2 app
ae690594 Merge apiConfig into appConfig
e3069a07 Convert apiConfig into appConfig checking for errors
81d2ab07 Set machine platform on fly config comamnds
b3460b19 SetPlatformVersion checks parse error and RawDefinition before set
96141e49 FromDefinition must set RawDefinition, ToDefinition is not sanitized
2610e296 Remove platform constant aliases
a67231fe Finally remove internal/app
2f84d815 Port last uses of internal/app. Kudos to gopatch
74559452 Move constants back to main file
6c9c4266 s/app/appv2/
46bacfbb Same LoadConfig signature and marshalTOML for v1 apps
b98ae022 Ensure config setters backwards compatibility
3cd4b994 Degrade fly.toml parsing on errors for Nomad apps
183e3472 Retain fly.tomml in its raw form under Config.RawDefinition
c2708a7f Method to deal with platform versions
60ddf583 Rename Definition to RawDefinition
023f5a9f Unify interface to get file path of fly.toml
90a7823e Remove unused fields and functions from appv1.Config
4da20325 Small working change in new error
f9ab662d Fail deploy when no v2 machines

flyctl - v0.0.477

Published by michaeldwan over 1 year ago

ba89ee7a Clean up sentry captures and add one for deploys
94b7cf9d Add --apps-v2-default-flag flag to fly orgs create

flyctl - v0.0.476

Published by michaeldwan over 1 year ago

5c026904 Expose PG max_wal_senders config option
0d5dc1d3 Fix Context error handling in WaitForStartOrStop
e9fa0167 add support for auto destory and skip dns registration for fly machine run command
ad1f3de7 Add org setting for making apps v2 the default

flyctl - v0.0.475

Published by michaeldwan over 1 year ago

d7caab64 Properly initate client in runShowConfig
d4d7206a Test restartOnly
c34dbaee commit baseline with many improvements
b4962ee3 Don't convert appsv2 to a definition
28d2a304 Fix secrets import on files with \r\n as newlines
8b3ad857 typo
49386558 Fixed config show for apps v2
a6aee8e1 Fix
75cfddcc Fix math
24391592 Adjustments
30f80df7 No need to test forReleaseCommand here
4c4f7b3d Fix
54a6dcd2 List VM sizes
d2413f36 Pass environment variables to nixpacks with --env
b16838b6 support fly launch dockerfile url
ff3153db Test all the things!
4519468e Do not mount volumes on "release command" machines
151c772d fly m update: extra cpu and memory validation, fix invalid suggestions
66cf14e8 Change long description so help shows it's removed
3ea18c8a hide fly restart (replaced by fly apps restart)
852d4a46 move DisableMachineAutostart field to be a top-level config field
c1c6de65 Increase default concurrency for pg
0749eb1d Revert "Don't mount volumes to releaseCommandMachine"
d7e2d686 Fixed info bug where memory addr was printed
2796e5ba change autostart machine option
938848ff add autostart machines option
f8ec1cc0 fly domains register: return an error for a non-zero exit status
c952dda5 deprecate fly domains, remove fly domains register
d4b7674d remove primary_region special-casing from app/app.go
1947e05f first pass at fixing fly launch not saving the chosen region
83157e94 Improve long help message for secrets list
c292ccb3 Make welcome message formatting more consistent with the rest of the CLI

flyctl - v0.0.475-pre-2

Published by michaeldwan over 1 year ago

d7caab64 Properly initate client in runShowConfig
d4d7206a Test restartOnly
c34dbaee commit baseline with many improvements
b4962ee3 Don't convert appsv2 to a definition
49386558 Fixed config show for apps v2
66cf14e8 Change long description so help shows it's removed
3ea18c8a hide fly restart (replaced by fly apps restart)

flyctl - v0.0.475-pre-1

Published by michaeldwan over 1 year ago

28d2a304 Fix secrets import on files with \r\n as newlines
8b3ad857 typo
a6aee8e1 Fix
75cfddcc Fix math
24391592 Adjustments
30f80df7 No need to test forReleaseCommand here
4c4f7b3d Fix
54a6dcd2 List VM sizes
d2413f36 Pass environment variables to nixpacks with --env
b16838b6 support fly launch dockerfile url
ff3153db Test all the things!
4519468e Do not mount volumes on "release command" machines
151c772d fly m update: extra cpu and memory validation, fix invalid suggestions
852d4a46 move DisableMachineAutostart field to be a top-level config field
c1c6de65 Increase default concurrency for pg
0749eb1d Revert "Don't mount volumes to releaseCommandMachine"
d7e2d686 Fixed info bug where memory addr was printed
2796e5ba change autostart machine option
938848ff add autostart machines option
f8ec1cc0 fly domains register: return an error for a non-zero exit status
c952dda5 deprecate fly domains, remove fly domains register
d4b7674d remove primary_region special-casing from app/app.go
1947e05f first pass at fixing fly launch not saving the chosen region
83157e94 Improve long help message for secrets list

flyctl - v0.0.474

Published by michaeldwan over 1 year ago

dc3a37a7 Use .flycast addrs for pg
c2f3440e return closing err unless it already failed
6a8283d2 flyctl/api can not depend on flyctl
0aa0f9cc Add grace period to toplevel checks
b0deba3a Add grace period to machine checks
27cbfc7f Don't mount volumes to releaseCommandMachine

flyctl - v0.0.473

Published by michaeldwan over 1 year ago

4453755c Remove the autoConfirmAppsV2Migration field
42f6b88a Remove confusing msg from fly deploy
7f075a76 consider dockerfile passed in fly.toml when running machines
316e7de6 Unhide --image-ref
8b1139af Add explainer + pipenv support
7e9953cc Add Poetry detection to the Python scanner

flyctl - v0.0.472

Published by michaeldwan over 1 year ago

5be27b7b Modify import command format
409a7c86 Fix comment
7b718925 Ensure this can only be run against PG apps
5e3dae72 Error if not running against a machines app
f888200a Modify default PG import setting to not drop objects prior to creating them

flyctl - v0.0.471

Published by michaeldwan over 1 year ago

5ee82108 Update description
5835e1f9 Comments
5a7a038c Remove unused var
6486659c Log cleanup
1026d811 Update description
a555c2bc PG import command

flyctl - v0.0.470

Published by michaeldwan over 1 year ago

267e66dc Fix
ef1adb82 Cleanup
cb0ca05a Grant users superuser privledges by default..

flyctl - v0.0.469

Published by michaeldwan over 1 year ago

flyctl - v0.0.468

Published by michaeldwan over 1 year ago

flyctl - v0.0.467

Published by michaeldwan over 1 year ago

b8f6d4ce Fix lint
87661a4f Bump VM checks internal from 1m to 15s

flyctl - v0.0.466

Published by michaeldwan over 1 year ago

9ff42aeb Fixed a crash with setting secrets on not deployed machines apps
b2984a33 exit if 8080 is ever encountered
7ff84cc6 extract EXPOSE port from Dockerfile for fly.toml
87cf4ea1 Fixed crash when saving config
b1992dc7 rails: only set statics if WORKDIR is found and doesn't contain a variable
df81e570 rails: ensure Gemfile.lock includes the x86_64-linux platform
a0c85de2 remove fixme
554932a9 Use shorter leases while deploying and refresh them
3b177a57 Wire up statics for apps v2.

flyctl - v0.0.465

Published by michaeldwan over 1 year ago

bbd33ba6 fix cmd joining and warnings for fly config save
be45799d ensure machines are deployed in the selected primary region
f3f4c295 Remove releaseUnprocessed, it's unused and unimplemented
b105939b Fixed a crash when saying no to creating an app
85e012c5 Made machine list -q actually quiet
8782c77f Better error messages + remove some unnecessary checks
2d677f5c Support [[mounts]] in fly.toml
9868367d omitempty for mounts.source in apps v2
15e2a853 fix lint issues
52f136af omg we can make a fly.toml from a bunch of machines now
bb5ddd1a fix fly apps releases error checking. thanks golangci-lint!
7bcc0912 fly apps releases: support AppsV2 apps better
695d61a6 Fixed assumption on num CPUs allowed
b84d35e5 Better error + formatting
e26d59cc Fixed memory size requirements for performance CPUs
bfa17b4f Allow performance CPUs when using the size option in machine update
28407363 Removed 64x CPUs
3b5a4e8a Added some validation logic to machines
2734a625 fly machine update: fix hanging bug
8eaad0e6 fix typo
951ad5de update gql after fixing a bug
14686202 fly config save: handle converting interface{} to map[string]interface{} to *api.Definition
672967c0 WIP: update fly config save for apps v2
c93a1a7d Addec context for username generation on attaching PG
364a9810 Update tests after recent debugging
c553f56b Add option to attach PG to newly launched app
9ee38235 Make the linter happy
daa2e458 Remove all the app destruction stuff
3515530b Parse more number types
7901160f Added patch for services.internal_oprt
7cce31e6 Removed the Redis destruction stuff
1032b527 Default to not destroying databases when --yes is present
1dffd6da Added warning when launching an app with a database that exists
b00f2d9a Added the option to destroy an app's database

flyctl - v0.0.464

Published by michaeldwan over 1 year ago

3268449a More fixing of services in apps v2.
c9898497 Fix services bug for v2 apps.
46c3ec50 django.go: Update guest_path to match Dockerfile WORKDIR
49b6a12b Update patches.go
b66f59ba fly apps restart: begin supporting Appsv2 properly
133cac4d Add django-environ as an option to parse DATABASE_URL
dc8c0227 Do not require makemigrations on fly launch
fd8b177d add backwards compat for mounts
39628507 Fixed services list for machine apps
09ea82bf handle different image edgecase and change logging
b308c1bd fix bug that selects wrong image and rearrange table to mach nomad status
f50bdc69 remove created at & use new value for default
fe1096c9 rework view for fly status
547b439b distinguish between 2 categories of machines
5ea93abe add process group info

flyctl - v0.0.463

Published by michaeldwan over 1 year ago

1977e221 Add warnings when cluster does not meet quorum requirements
d4c8af6f Fix the DeployDocs
dfb44c1c Fix dj-database-url package's name
cc8278e6 Default to PG flex
aa7e8307 Fix condition
9f461999 Use helper
81267233 Add FLY_DEV flag to by-pass version requirements
b06a8b2f Show cluster size with PG options
c2e4064a Attach newly created volume on launch
61ad9990 Use patches to parse experimental edge cases
003aec7c fix the failing test
37238cd7 fly m restart: remove double lookup for machine IDs
95df8cef Conditionally enable, and clean, virtual input/processing for Windows ssh console
2ceb08de errout via iostreams on the select as well as multiselect
d9d36af5 Update internal/prompt/prompt.go
1e084c96 fly m restart: acquire all leases before restart
6dd70fc3 fail on err
eefa93a3 use org paid-plan to decide whether to split out paid regions on redis
b86f8e9c pull in plan info from schema
3650a31a fly m restart: inherit app from machine if empty
77756e4e simplify select input since we just need a bool then we can reduce impl needs for org objects. Checks if we're interactive before adding extra printlns about paid plans
7c4fdd29 use it outside of just launch
13ba2713 first pass at providing better UI around launching in a paid-only region

flyctl - v0.0.463-pre-1

Published by michaeldwan over 1 year ago

c2e4064a Attach newly created volume on launch
003aec7c fix the failing test
9d2b4a8c skip failing test so we can release
a0692eff Fix that app config would be nulled out while setting secrets
558874aa only load appv2 config for the commands that use it
7c7ddff5 Fix [experimental] toml parsing and some other bugs
7a3af7dc set default process group(app) for deploys
caa98578 fix nil defer issue in GetExitCode()
9fd5e9bb move MustParseDuration func that can panic and is only used by tests to a test only file
e36a330e oops did not mean to commit these changes to agent & api
fd50883e address deepsource findings
ecbdca5c test dockerfile deploy for apps v2
7b373766 fix bug with fly secrets, found with new integration test
802e8f24 WIP: getting closer to figuring out agent stuff
69a6be9e Launch should still use stolon
2ceb08de errout via iostreams on the select as well as multiselect
d9d36af5 Update internal/prompt/prompt.go
e6345646 Fix
3b246898 Add PG flex specific provision ux
6dd70fc3 fail on err
071ebaf3 Fix
19bcece6 Removes PG's --nomad flag and associated provision logic
eefa93a3 use org paid-plan to decide whether to split out paid regions on redis
b86f8e9c pull in plan info from schema
037fc47a more progress on appsv2 integration test; now calls cli.Run() library directly instead of using a binary
21338f2a add app name to ctx in fly launch
17cc8995 start on integration test; already found a bug in fly launch I think!
77087099 fix MachineConfig.Image json annotation
eadab902 Revert this change
019f8e13 Fix machine image update
aeb46a85 Machine update fix
e874efc5 Fixing update
9850f848 Fix order of evaluation
a04cde37 Remove commented code
60fd26fc Starting including digest in image ref
2c273d17 Use cobra.ExactArgs for stricter validation
7684133a Canonicalize <> for required args
c549c3bb Account for missing info
52aac424 Ensure clone machines use the same image digest as the source
b1e03330 wait for destroyed state for release command machine.
77756e4e simplify select input since we just need a bool then we can reduce impl needs for org objects. Checks if we're interactive before adding extra printlns about paid plans
7c4fdd29 use it outside of just launch
13ba2713 first pass at providing better UI around launching in a paid-only region
00bfe3ca Show info for process group when running machine list
bdc7bd00 add json tag to machine statics
acedfab7 Added info regarding platform to fly machines list
b68c17b1 Return errors when creating new apps while running machines
6a9f3704 Target correct label
d42153a4 PG Flex attach should not use superuser
6c01e5b2 Arrays can have a length of 0 and not be nil in go
98e280e1 remove all the new config changes from nomad; we need stability when using that platform!
b2dcc621 move internal/app => internal/appv2, bring back internal/app from master where it is known to work
e97628f4 fix merge
f6815a8c Changed environment variable names
13270ac1 Machine API now launches when an existing dev agent is running, w. proper checks
a4316539 Fixed blank app name generation
97f2c502 fix build after merge with master, which had reverted #1665
15c89a30 add statics to machine API
47836c5d Add comments to clarify purpose of length check.
b5e1c978 Revert "Revert "WIP: fly launch and fly deploy for machines for apps v2""
990cebe1 fly machine update accepts a --command/-C flag to update CMD.