-
Notifications
You must be signed in to change notification settings - Fork 290
Jphenow/deployer mergeable #4654
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
186 commits
Select commit
Hold shift + click to select a range
db813b3
wip deployer script
jeromegn 8d8957d
add app name and org slug speicifiers
jeromegn f34c9e9
generate full config beforehand, if DEPLOY_NOW env is defined, run fl…
jeromegn ed94877
fix manifest return, don't specify region when deploying
jeromegn a38be4e
support more env vars to configure the deployer, adjust fly launch ge…
jeromegn d889fee
fix spacing and types, set vm size options in config
jeromegn 8726038
add elixir and nodejs
jeromegn 108f41a
adds a build step, a diff artifact and finally generates files on dis…
jeromegn 836015d
send metadata about the deploy steps before starting
jeromegn 03d828c
fly pg creation from deployer
jeromegn 0897f2d
trying to allow multiple ruby versions, but failing. wip commit
jeromegn 9a4c268
Use dev envs for elixir and nodejs
lubien c01b275
Fix support for [build.image]
lubien 449886e
Fix typo
lubien fc9b7ff
Maybe fix secrets setting
lubien 97a3062
merged main and tested more frameworks
jeromegn a98b4ab
add launch sessions subcommands, adjust deploy script to use them
jeromegn 07d5b9c
create all extensions from a launch manifest
jeromegn 8087cac
update fly config after tweak form resolves, use org slug from final …
jeromegn d5ba0b0
merged master
jeromegn fa7c154
add runtime to plan for rails, node, and bun
rubys 3153d0b
extract ruby version from .ruby-version or Gemfile
rubys 7897948
Merge remote-tracking branch 'origin/plan-runtime' into deployer
jeromegn d69cec8
defer the running of bundle install in the rails scanner to the callback
rubys 6a4c627
merged rails-defer-bundle-install
jeromegn 8588928
use launch plan subcommands, install dependencies
jeromegn 432f560
wip installing deps for more frameworks
jeromegn 306980e
Scan composer file for php version, fallback to artisan version if ca…
bbf0353
fix trailing spaces, fix gofmt error
e723e40
Merge remote-tracking branch 'origin/detect_php_from_composer_json' i…
jeromegn 63261c5
write manifest to fix, switch customization opt-out instead of opt-in…
jeromegn a62607a
don't log everything, re-order steps, always do JSON for artifacts
jeromegn 6fcadd1
add DEPLOY_ONLY env to prevent all the planning of a launch
jeromegn fae836f
fix conditional to skip extensions when using DEPLOY_ONLY
jeromegn 65e4ff4
trying to make the deployer testable via the CI
jeromegn 5c83bc7
use the correct restart policy
jeromegn 225ceb8
on eof, don't panic, try to attach stdout and stderr
jeromegn 9e1c271
attempt to wait for container
jeromegn 2bfae94
check for nil error from container wait channel
jeromegn ad9f3ce
attempt not to loop endlessly when everything is done
jeromegn c438f89
write all to stdout
jeromegn 337096e
build just once
jeromegn 97d67a6
I wanted github.sha to tag the docker image, not github.ref
jeromegn 155aa32
first, pull the deployer image
jeromegn c69aa93
upgrade docker module, successfully build and deploy the deploy-node …
jeromegn 79413c0
moved a few tests around, start parsing logs and testing the deployer…
jeromegn 35b2db7
merged master
jeromegn f93cdba
ignore .fly
jeromegn 50f0928
always generate git diff
jeromegn 45210ba
abstracted the deployer run to be reusable
jeromegn 8bfb0d2
run deployer tests during preflight
jeromegn 39171ae
add launch test
jeromegn 0ad2e56
disable depot
jeromegn 6f6c089
go mod tidy
jeromegn 7adf153
add go-example test
jeromegn ef780b9
refactor deployer tests to make them more succinct
jeromegn cd59492
more readable tests
jeromegn d62e134
Merge remote-tracking branch 'origin/master' into deployer
jeromegn b032feb
fix node scanner
jeromegn 1434718
possibly fix weird setup where override fly.toml should clear a templ…
jeromegn 7fc099c
Deployer: open pr on launch (#3953)
lubien 30c2e94
bomb if plan propose doesn't detect anything
jeromegn 717395f
fix color output for error message when no framework is detected
jeromegn 3b939c0
even if opting out of gha, return the source info
jeromegn 811cfac
test for opt out gha
jeromegn ff17b7d
download correct default node.js to save some time
jeromegn 42e59ff
try to cache deployer build
jeromegn fb0063d
setup buildx
jeromegn f2379ac
use local context for build
jeromegn a5e56bf
Run deployer tests in separate workflow (#3977)
jeromegn bc093bc
adjust logs when not detecting runtime or Dockerfile
jeromegn 3057043
synchronously write to stdout/stderr
jeromegn 9ec4879
Custom config for deployer monorepos (#3976)
lubien 25e2811
Merge remote-tracking branch 'origin/master' into deployer
jeromegn 79b1003
add rails 8 test, fix rvm install and usage, better ruby version dete…
jeromegn 6e12d09
use bash_profile instead of profile since we're using a bash login shell
jeromegn 68e01e2
install rvm after mise...
jeromegn 1329ad0
set node.js for nextjs, nuxt and redwood projects
jeromegn 2f3878e
install a default node.js version if anything needs it
jeromegn 14739e4
switch to node 20 by default
jeromegn a46108d
maybe delete the container more proactively
jeromegn 11ed89f
run deployer tests as root
jeromegn 0044e78
also install gotessplit as root
jeromegn b2eacad
add a cleanup env var, mostly useful in tests
jeromegn 84665ab
detect a Dockerfile first and foremost
jeromegn ede91b5
Deployer: skip installing dependencies in some cases (#4019)
jeromegn c0c1983
ensure flushing of stdout and stderr before exit
jeromegn 2b205e0
sleep 1 second after flushing just to be sure all log lines are ingested
jeromegn 7e16e26
Add node yarn test and fix yarn installation for node > 18 (#4023)
jeromegn 2c8bb4c
removing a few warnings that don't apply to deployers
jeromegn 3a32452
use a depot builder scoped by app so they don't share cache and all t…
jeromegn 8efd9b6
validate existence of fly.toml earlier when deploy-only
jphenow 47466bb
exit after error
jphenow 9ada865
Deployer: actually support Bun (#4042)
jeromegn c270001
explicitly disallow upstash replicas if no upstash regions provided
jeromegn 8ea62fb
soft skip extensions in tests so the step still shows up in logs
jeromegn 86705ae
fix python version detection from Pipfile, add django fixture
jeromegn 735eb3d
query from slug directly if supplied
jeromegn 6de1bfb
don't prompt for bucket name on tigris if using the --yes flag
jeromegn 64878e3
fix go deployments when missing go.sum
jeromegn ec683eb
upgrade default deno to 2.0.4, try to detect more deno apps, add test…
jeromegn ec2751c
attempt at accepting customize from file (#4046)
jeromegn c542022
add static site fixture
jeromegn a6fc203
Merge remote-tracking branch 'origin/master' into deployer
lubien c76b965
Deployers phoenix improvements (#4113)
lubien 3a28913
Port https://github.com/superfly/flyctl/pull/4247 into deployer branc…
clouvet bcffc53
Deploy image ref (#4471)
lubien 178c73b
Deployer update now (#4593)
lubien a9b3996
deploy fix: use image ref directly if image resolver fails (#4596)
lubien 610c773
Pass builder ID through fly deploy --image build strategy (#4601)
wjordan f87a793
Deployer experiment early git push (#4610)
lubien 66e95e7
require uiex in all plan commands (#4625)
lubien 9767ed6
files from diff (#4626)
lubien f0f255c
Merge remote-tracking branch 'origin/deployer' into jphenow/deployer-…
jphenow c5fd74c
dump a bunch of things we'll pull elsewhere
jphenow 6f62134
drop some more we know we're moving
jphenow 381742d
go back on some test changes we can keep as well
jphenow e50ac44
try that
jphenow 46e17d6
remove more that probably doesn't belong here
jphenow a600e26
Rollback test changes we don't need now
jphenow 936ea91
Merge branch 'master' into jphenow/deployer-mergeable
jphenow 59431b7
perhaps a fix
jphenow f9a69f8
see if mix/match helps
jphenow 1f0ec4d
another brief shot from the hip to see if it helps with this odd tran…
jphenow 724d50a
I can't see why we need to force that nil
jphenow 45f5cd2
try out removing sessions
jphenow a8e3c87
could it be a small name grab tweak
jphenow e56f704
Merge branch 'master' into jphenow/deployer-mergeable
jphenow a4a19b7
how many more things are there
jphenow 3ce76e7
another hipshot
jphenow 1af960e
no way
jphenow b5fafe8
reverts
jphenow e72b6a4
bring this back to more similarish
jphenow cee05cd
just handle that we match them now
jphenow 1a0862d
handle nils
jphenow dcc010b
segfault and launch test compat
jphenow b7a03dc
fix another segfault
jphenow 455c3d1
Merge remote-tracking branch 'origin/master' into jphenow/deployer-me…
jphenow cc43103
these appear to be gone
jphenow 502a516
another nil check apparently
jphenow 966d524
right on back
jphenow 26d18a8
see if this helps windows build
jphenow c520abe
try this for a sec; should maybe revert
jphenow 35a2d07
Merge branch 'master' into jphenow/deployer-mergeable
jphenow ce43108
Merge branch 'master' into jphenow/deployer-mergeable
jphenow 3817455
fix: use index-based iteration for CPU/Memory compute overrides
jphenow cf35575
fix: add MachineGuest nil check in CPU/Memory compute overrides
jphenow bf171e7
quit the double preflight life
jphenow 647a4b0
Upgrade mise version to v2025.11.6
lubien 650deb4
Add error handling to NewMPGService and related functions
lubien af74a53
Add trigger configuration to Django basic deployment test
lubien 13d0118
allow setting org on manifest
jphenow 0a987b2
fix rails fixture tests
jphenow 14f69c0
fix deno fixture test
jphenow 7d6f5b4
it contains multitudes of database
jphenow 936f1c1
Add debug logging to diagnose silent manifest creation failure
jphenow 6e4e013
Fix error handling in plan commands
jphenow da45f32
https://github.com/superfly/flyctl/blob/a6da01fd0840f18fb5c57c66e6335…
jphenow 6fd4ac7
roll this back for now from old PR
jphenow dee9c9f
disable dead flag for now
jphenow 427388f
Fix Rails SQLite Dockerfile generation
jphenow ada5624
edge case of setting binrails above messes with multi-test runs when …
jphenow ce5c42a
needless maybe
jphenow cfb2e37
dump silly md
jphenow a8570ac
revert some experimentation that now seems unnecessary
jphenow 7299ca3
Merge branch 'master' into jphenow/deployer-mergeable
jphenow b016594
undo some more things we probably didn't need
jphenow 164c868
remove a thing that shouldn't be there anyways
jphenow 07b5a70
Merge branch 'master' into jphenow/deployer-mergeable
jphenow d490d4a
I found a bug where our deployer fixture has a port 8080, but doesn't…
jphenow d1f02a1
gitignore
jphenow a660ad1
See if we maybe just don't need to load the app config because it bus…
jphenow 03aaa23
Add precedence logic for --app/--region flags in generate step
jphenow 232341b
Merge branch 'master' into jphenow/deployer-mergeable
jphenow 28d0fe1
Keep some of the previous functionality
jphenow 858d87d
clearer, more succinct error/canenterui handling
jphenow c3aebf6
better fallback and more common first-check on main.ts for deno
jphenow 6ca4cee
clearer conditional flow management
jphenow bb8087b
fix regex escaping
jphenow 69c5b6b
warn python folks when we have wsgi and not gunicorn
jphenow 571c4f1
some backstop stuff in case folks wind up in this more internal-usage…
jphenow 365bb02
safer npm install
jphenow de5055f
make decisions using semver instead of string comparisons
jphenow 0d1dcf4
Merge branch 'master' into jphenow/deployer-mergeable
jphenow 5b3762e
Fix malformed regex in Deno scanner
jphenow 5f14339
some localized feedback tweaks and tests
jphenow File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -42,4 +42,6 @@ out | |
| # generated release meta | ||
| release.json | ||
|
|
||
| .fly | ||
| CLAUDE.md | ||
| .claude/settings.local.json | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.