gregoirenovel
fda1218a5f
Keep the same order between shared_dirs and setup
2018-10-24 16:00:48 +02:00
gregoirenovel
883c981165
Group single-line parameter definitions
2018-10-24 16:00:48 +02:00
gregoirenovel
db540471d4
Remove a duplicated comment
2018-10-24 16:00:48 +02:00
simon lehericey
d4b3f829b6
Deploy: update description
2018-10-24 12:22:33 +02:00
simon lehericey
c616f6e5b8
Deploy: improve layout
2018-10-24 12:22:33 +02:00
simon lehericey
6e8473e6c1
Deploy: move print and use puts
2018-10-24 12:22:33 +02:00
simon lehericey
a1d813aff4
Deploy: use fetch
2018-10-24 12:22:33 +02:00
simon lehericey
9ee1119656
Deploy: STAGE_NAME -> STAGE
2018-10-24 12:22:33 +02:00
Mathieu Magnin
8316ab8e51
When deploying read stage from environment
2018-10-24 12:22:33 +02:00
Mathieu Magnin
bffeeaf954
Configure mina for new infra
2018-10-24 12:22:33 +02:00
Pierre de La Morinerie
3d897ad488
deploy: fix after_party deployment
...
This can be tested locally (without running any SSH commands) using:
```shell
bundle exec mina deploy domain="test.domain" to=production --simulate`
```
This commit turns the after_party command from:
```
cd "/var/www/tps/current" && RAILS_ENV="production" bundle exec rake after_party:run
```
to:
```
RAILS_ENV="production" bundle exec rake after_party:run
```
which is more in line with how other commands are run.
2018-10-17 10:32:05 +02:00
Paul Chavard
d93f696935
Try to run after_party as rake task
2018-10-04 20:42:17 +02:00
Paul Chavard
22c132febe
Fixing mina after_party:run
2018-10-04 20:08:59 +02:00
Paul Chavard
0927905d2e
Fix deploy task
2018-10-04 19:41:11 +02:00
gregoirenovel
be5859af60
Improve the documentation in deploy.rb
2018-09-20 16:51:26 +02:00
gregoirenovel
90e7a5d276
Improve error messages
2018-09-20 13:03:42 +02:00
gregoirenovel
c445de9f83
Regroup definitions at the top of deploy.rb
2018-09-20 11:37:04 +02:00
gregoirenovel
6dbb916c6a
Remove useless comments from deploy.rb
2018-09-20 11:37:04 +02:00
gregoirenovel
fd13f9dbb2
Remove default fallback on staging for the deploy destination
...
Explicit > implicit
2018-09-20 11:28:58 +02:00
gregoirenovel
ec545758c3
Improve deploy.rb readability
2018-09-20 11:26:25 +02:00
gregoirenovel
276cb55d9a
Remove a useless instruction from deploy.rb
2018-09-20 11:25:40 +02:00
gregoirenovel
2f940eed6d
Remove a useless comment from deploy.rb
2018-09-20 11:25:25 +02:00
Paul Chavard
0e2b7ec6e1
try to fix after_party on deploy
2018-08-30 12:51:28 +01:00
Paul Chavard
c67f8dcaaa
Add after_party
2018-08-30 11:54:54 +01:00
Paul Chavard
5dcc74fcbe
Stop using staging environement
2018-08-29 11:22:56 +02:00
Paul Chavard
1daaf96438
[ENV] Stop using shared config
2018-08-23 15:55:33 +02:00
Paul Chavard
8ed80f6310
Do not deploy features.yml file
2018-08-21 10:24:57 +02:00
Paul Chavard
c95bd2d180
Enable env file on deploy
2018-08-16 12:16:51 +02:00
Paul Chavard
d93ed328b7
Do not share binstubs
2018-07-26 11:12:00 +02:00
Paul Chavard
a482855d5e
Run yarn install on deploy
2018-07-26 10:51:37 +02:00
Paul Chavard
19503c8c75
Revert "Run yarn install during deploy"
...
This reverts commit 264338a495
.
2018-07-25 17:57:28 +02:00
Paul Chavard
7579ae9903
Revert "Add yarn install task to mina"
...
This reverts commit d6000ca56c
.
2018-07-25 17:57:18 +02:00
Paul Chavard
d6000ca56c
Add yarn install task to mina
2018-07-25 17:17:58 +02:00
Paul Chavard
264338a495
Run yarn install during deploy
2018-07-25 17:06:28 +02:00
Pierre de La Morinerie
15511d0863
deploy: don't seed the database
...
The database should be seeded only when deploying on a fresh new
environment – like a local setup or a review app.
Persistent testing and production environment shouldn't be seeded.
2018-06-15 12:28:18 +02:00
gregoirenovel
ec3a1bd132
[ Fix #1535 ] Remove super_admin.rb from Mina
2018-03-19 10:31:26 +01:00
Mathieu Magnin
e08f59ffb8
[ Fix #1500 ] Use urls.rb from this repository
2018-03-15 14:37:13 +01:00
gregoirenovel
7a26347253
[Ref #1170 ] Add basic_auth.yml to shared paths
2018-02-26 15:11:10 +01:00
gregoirenovel
5c25b86c46
Add the ActiveStorage configuration
2018-02-15 11:14:03 +01:00
Paul Chavard
9dae8b0cf2
Revert "Disable assets precompile on CI"
...
This reverts commit ff87e09342
.
2018-01-31 16:23:40 +01:00
Paul Chavard
ff87e09342
Disable assets precompile on CI
2018-01-31 16:11:49 +01:00
gregoirenovel
9e0e553f80
Enable the Layout/IndentArray cop
2018-01-15 22:33:12 +01:00
gregoirenovel
7c34807f46
Don’t use unless
2018-01-12 11:32:43 +01:00
gregoirenovel
289461d708
Handle the GitHub org rename: sgmap -> betagouv
2018-01-10 17:26:25 +01:00
Mathieu Magnin
748b273496
[ Fix #1205 ] Assets precompilation is forced during deployment
2018-01-10 15:32:52 +01:00
Mathieu Magnin
7c0fdbc9f8
[ Fix #1096 ] Github Oauth
2017-12-22 11:10:24 +01:00
gregoirenovel
0d22ecfe5a
Delete the CGU-related files and mentions
2017-12-07 16:15:44 +01:00
gregoirenovel
2e5a0f5026
Remove the newrelic gem and configuration
2017-12-04 10:33:41 +01:00
gregoirenovel
3796a0ab97
Add path to shared skylight conf file
2017-11-16 17:52:02 +01:00
Simon Lehericey
1e03f0b4be
Fix mina and delayed_job
2017-09-28 10:48:48 +02:00