File tree Expand file tree Collapse file tree 2 files changed +14
-17
lines changed
Expand file tree Collapse file tree 2 files changed +14
-17
lines changed Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010 permissions :
1111 contents : write
12-
1312 services :
1413 mysql :
1514 image : mysql:8.0
2423 ports : ["11211:11211"]
2524
2625 steps :
27- - name : Test something
26+ - name : Run the rails upgrade
2827 uses : shopify-playground/edouard-github-action@main
2928 with :
3029 github_token : ${{ secrets.RAILS_UPGRADE }}
Original file line number Diff line number Diff line change @@ -15,21 +15,6 @@ inputs:
1515 description : ' The workflow to run. Can either be set to "dump-config" or "run-upgrade".'
1616 required : true
1717
18- env :
19- RAILS_UPGRADE : 1
20- DATABASE_URL : mysql2://root@127.0.0.1:3306/rails_upgrade
21- MYSQL_HOST : 127.0.0.1
22- MYSQL_PORT : 3306
23- MYSQL_USER : root
24- REDIS_URL : redis://localhost:6379/0
25- REDIS_HOST : localhost
26- REDIS_PORT : 6379
27- TOXIPROXY_URL : http://127.0.0.1:8474
28- TOXIPROXY_HOST : 127.0.0.1
29- TOXIPROXY_PORT : 8474
30- DISABLE_TOXIPROXY : 1
31- MEMCACHE_SERVERS : localhost:11211
32-
3318runs :
3419 using : " composite"
3520 steps :
8974 await runRailsUpgrade(context, '${{ inputs.working_directory }}', '${{ inputs.workflow }}')
9075 env :
9176 DISABLE_SPRING : ' 1'
77+ RAILS_UPGRADE : 1
78+ DATABASE_URL : mysql2://root@127.0.0.1:3306/rails_upgrade
79+ MYSQL_HOST : 127.0.0.1
80+ MYSQL_PORT : 3306
81+ MYSQL_USER : root
82+ REDIS_URL : redis://localhost:6379/0
83+ REDIS_HOST : localhost
84+ REDIS_PORT : 6379
85+ TOXIPROXY_URL : http://127.0.0.1:8474
86+ TOXIPROXY_HOST : 127.0.0.1
87+ TOXIPROXY_PORT : 8474
88+ DISABLE_TOXIPROXY : 1
89+ MEMCACHE_SERVERS : localhost:11211
You can’t perform that action at this time.
0 commit comments