1
0
mirror of https://github.com/avatao-content/test-tutorial-framework synced 2024-12-05 02:11:32 +00:00
Commit Graph

113 Commits

Author SHA1 Message Date
Kristóf Tóth
6c90801146 Fix cleanup trap failing when not in proper directory 2018-04-27 11:28:00 +02:00
Kristóf Tóth
adcdf74673 Use pushd and popd instald of cding around 2018-04-27 11:27:23 +02:00
Kristóf Tóth
d6ff80230f Move TFW stuff to hidden location with proper permissions 2018-04-19 17:33:12 +02:00
Kristóf Tóth
709c61d130 Change tfw.sh usage output to make more sense 2018-04-19 17:04:08 +02:00
Kristóf Tóth
f54d654576 Fix usage info printing in tfw.sh 2018-04-19 17:01:59 +02:00
Kristóf Tóth
3b0552f6d1 Implement TFW library hotreloading 2018-04-19 17:01:26 +02:00
Kristóf Tóth
ee4574523f Include message in tfw.sh releasetfw 2018-04-17 18:21:26 +02:00
Kristóf Tóth
a740fdbda8 Unify script headers 2018-04-16 20:47:23 +02:00
Kristóf Tóth
f3e6a950c8 Make tfw.sh fail on unset variables 2018-04-16 20:47:23 +02:00
Kristóf Tóth
fde8792277 Improve TFWDEV detection logic to allow use of set -u 2018-04-16 20:47:16 +02:00
Kristóf Tóth
e57ea7b436 Make releasetfw ain't joke no more 2018-04-16 17:16:16 +02:00
Kristóf Tóth
18719f5f97 Implement drone releasename checking 2018-04-16 16:56:54 +02:00
Kristóf Tóth
1192f4c9da Add support for production builds 2018-04-16 16:01:57 +02:00
Kristóf Tóth
f9a97eb253 Make script headers consistent 2018-04-16 13:07:22 +02:00
Kristóf Tóth
8812c59b60 Fix broken traps 2018-04-16 13:07:22 +02:00
Kristóf Tóth
a33a04f4ad Refactor bootstrap script to better handle increased complexity 2018-04-16 13:07:22 +02:00
Kristóf Tóth
017e7d0e26 Use BASEIMAGE variable in latest tag detection 2018-04-14 10:10:02 +02:00
Kristóf Tóth
25cedbd3d4 Implement baseimage building of latest tag in bootstrap script 2018-04-14 02:48:26 +02:00
Kristóf Tóth
da665562aa Implement tfw.sh buildtfw TAG overriding 2018-04-14 02:45:42 +02:00
Kristóf Tóth
cf1174250b Make bootstrap script clean up after itself in case of errors 2018-04-14 02:42:08 +02:00
Kristóf Tóth
32fca7206c Make latest tag detection work without DockerHub API 2018-04-06 10:27:36 +02:00
Kristóf Tóth
740110e8c5 Make aliasing nicer in oneliner SHA updater 2018-04-06 10:09:58 +02:00
Kristóf Tóth
4234919902 Implement nicer handling of macOS compatibility aliases in hack folder 2018-04-03 18:03:12 +02:00
Kristóf Tóth
8e2e31b386 Improve bootstrap script output 2018-03-31 21:22:33 +02:00
Kristóf Tóth
203d111f09 Add support to build with frontend in image in tfw.sh 2018-03-31 21:15:22 +02:00
Kristóf Tóth
30fa734711 Improve code formatting 2018-03-31 21:05:07 +02:00
Kristóf Tóth
265a2d1abb Update obsolete usage message 2018-03-31 20:10:52 +02:00
Kristóf Tóth
867727d1ed Fix nested frontend detection in tfw.sh 2018-03-31 19:43:02 +02:00
Kristóf Tóth
1a2d0badde Move frontend directory inside test project for content creators 2018-03-31 19:42:56 +02:00
Kristóf Tóth
9f444c5502 Add support and priority for nested frontends in tfw.sh 2018-03-31 19:09:46 +02:00
Kristóf Tóth
be3146533f Refactor tfw.sh to make usage more intuitive 2018-03-31 19:01:59 +02:00
Kristóf Tóth
e6a9587f93 Add support for missing baseimageless mode in tfw.sh 2018-03-31 01:35:22 +02:00
Kristóf Tóth
f994815030 Implement support to omit cloning of baseimage in bootstrap script 2018-03-31 01:26:17 +02:00
Kristóf Tóth
8655ec4355 Rename stuff on bootstrap script 2018-03-30 23:56:14 +02:00
Kristóf Tóth
cf316fcc7b Make tfw.sh baseimage name consistent with dockerhub 2018-03-30 21:13:21 +02:00
Kristóf Tóth
a167195009 Implement auto release support in tfw.sh 2018-03-30 20:55:03 +02:00
Kristóf Tóth
1f784e1502 Make naming conventions in tfw.sh more obvious 2018-03-30 19:38:36 +02:00
Kristóf Tóth
2a8342d92b Refactor TFW relase name generation to separate function 2018-03-30 19:33:48 +02:00
Kristóf Tóth
d88457772d Make build_baseimage tag with latest as well as VERSION 2018-03-27 17:24:20 +02:00
Kristóf Tóth
06b5253dce Update TFW bootstrap script instructions 2018-03-27 16:31:09 +02:00
Kristóf Tóth
9b6b876d91 Add some usage documentation to new tfw.sh 2018-03-27 16:23:34 +02:00
Kristóf Tóth
20ce2cb069 Add options to build and start tfw separatly 2018-03-27 16:20:17 +02:00
Kristóf Tóth
9954764916 Rename magic starter to tfw.sh 2018-03-27 16:14:57 +02:00
Kristóf Tóth
9884de3456 Extend magic starter to be able to do more... well, magic 2018-03-27 16:07:59 +02:00
Kristóf Tóth
366567bacf Add script to update the file hash in oneliner 2018-03-27 15:49:07 +02:00
Kristóf Tóth
d9a2632022 Remove build phase from TFW bootstrap script 2018-03-27 15:44:08 +02:00
Kristóf Tóth
c6e06128bb Refactor building and running of backend to functions 2018-03-27 13:45:41 +02:00
Kristóf Tóth
8371eb36ef Implement version tagging in magic starter 2018-03-27 13:37:59 +02:00
Kristóf Tóth
ff13cf4dcd Make function declarations more portable in magic starter 2018-03-25 16:06:16 +02:00
Kristóf Tóth
30746b49e8 Update magic started to rebuild baseimage before the rest 2018-03-25 16:03:13 +02:00
Kristóf Tóth
c182d67423 Update oneline_install.sh with proper checksum 2018-03-24 12:21:48 +01:00
Kristóf Tóth
2e4ecc42d2 Handle log stuff in a more robust manner bootstrap script 2018-03-24 12:18:59 +01:00
Kristóf Tóth
ee42b63be6 Add note on how to start TFW to bootstrap script 2018-03-24 12:01:37 +01:00
Kristóf Tóth
e6f43e067d Update trap to show logs on error in bootstrap script 2018-03-24 11:56:25 +01:00
Kristóf Tóth
368d660fe4 Empty logfile on bootstrap script start 2018-03-24 11:48:54 +01:00
Kristóf Tóth
89d465ab6f Improve bootstrap script logic 2018-03-24 11:47:38 +01:00
Kristóf Tóth
39c587fcac Convert remaining print calls to echo in bootstrap script 2018-03-24 11:37:57 +01:00
Kristóf Tóth
78f74949a0 Add oneline installer script to be distributed for developers 2018-03-23 23:14:01 +01:00
Kristóf Tóth
5b73d30836 Change printf->echo to avoid escaped stuff in bootstrap script 2018-03-23 23:09:39 +01:00
Kristóf Tóth
f1ec2a329b Add shebang line to dev env bootstrap script 2018-03-23 21:40:24 +01:00
Kristóf Tóth
e59a02b0fc Make hack scripts fail more loudly 2018-03-23 21:39:39 +01:00
Kristóf Tóth
f9e7829b42 Improve magic bootstrap script to wait for both build processes to finish 2018-03-23 18:07:40 +01:00
Kristóf Tóth
59d92ff588 Move hack folder to this repo from baseimage & frontend ^^ 2018-03-23 17:58:35 +01:00