Commit Graph

34 Commits

Author SHA1 Message Date
Mike Salvatore f475df7c9c appimage: fix spacing in argument parsing 2021-05-03 09:32:07 -04:00
Mike Salvatore 998a14d248 appimage: reduce some duplication in argument parsing 2021-05-03 09:29:25 -04:00
Mike Salvatore 684a6f8171 appimage: Match any unknown parameters (not just flags) 2021-05-03 07:45:10 -04:00
Mike Salvatore 0192e08900 appimage: Replace some tabs with spaces 2021-04-30 10:17:53 -04:00
Mike Salvatore c61b551545 appimage: Address minor shellcheck findings 2021-04-30 10:17:53 -04:00
Mike Salvatore f87514cbbf appimage: Add a few log messages 2021-04-30 10:17:53 -04:00
Mike Salvatore 9f150bb51a appimage: Remove references to deployment scripts in logging 2021-04-30 10:17:53 -04:00
Mike Salvatore 7ab7e56b4c appimage: Replace `apt` with `apt-get` 2021-04-30 10:17:53 -04:00
Mike Salvatore ebd2fddd79 appimage: Add --as-root flag 2021-04-30 10:17:53 -04:00
Mike Salvatore febad65ff9 appimage: Perform root checks after parsing args 2021-04-30 10:17:53 -04:00
Mike Salvatore d53ba0e881 appimage: Add --help 2021-04-30 10:17:53 -04:00
Mike Salvatore f91a52f0c0 appimage: Exit with error if unsupported parameters are passed 2021-04-30 10:17:53 -04:00
Mike Salvatore fe25cd257f appimage: Add cli parameter to specify local monkey repo dir 2021-04-30 10:17:53 -04:00
Mike Salvatore 280b1e280a appimage: Put cli parameters in alphabetical order 2021-04-30 10:17:53 -04:00
Mike Salvatore 9c11f239ce appimage: Add a cli parameter for for specifying a git branch 2021-04-30 10:17:53 -04:00
Mike Salvatore e58281b0f0 appimage: Use npm-ci instead of npm-install 2021-04-30 10:17:53 -04:00
Mike Salvatore 2856b85616 appimage: Add cli parameter for specifying which agent binaries to include 2021-04-30 10:17:53 -04:00
Mike Salvatore 8cb47ce3e7 appimage: Add cli parameter for specifying the package version 2021-04-30 10:17:53 -04:00
Mike Salvatore 68759e3970 appimage: Make spacing consistent 2021-04-30 10:17:53 -04:00
Mike Salvatore 84c875c396 appimage: Only load binary config if downloading agent binaries 2021-04-30 10:17:53 -04:00
Mike Salvatore 1f4af68278 appimage: Use $WORKSPACE variable if present
Jenkins sets a $WORKSPACE environment variable. We'll use this if it's
been set. Otherwise, use $HOME.
2021-04-30 10:17:53 -04:00
Mike Salvatore c47f5a5912 appimage: Relocate squashfs-root/ to same dir as build_appimage.sh 2021-04-30 10:17:53 -04:00
Mike Salvatore 7276760c6a appimage: Remove unnecessary recursive chmod in clone_monkey_repo() 2021-04-30 10:17:53 -04:00
Mike Salvatore c33f9cf83c appimage: Upgrade from Python 3.7.9 -> 3.7.10 2021-04-30 10:17:53 -04:00
Mike Salvatore 408a0de4f0 appimage: remove node_modules from appdir
The node modules do not need to be deliverer with the appimage. Removing
them from the AppDir saves 50MB.
2021-04-30 10:17:52 -04:00
Mike Salvatore 98c9b2a907 appimage: Use pipenv to install python dependencies 2021-04-22 09:50:30 -04:00
Mike Salvatore 6d0dcd4a7a appimage: Add clean.sh script 2021-04-22 09:50:29 -04:00
Mike Salvatore f3439bb2c4 appimage: add log message when downloading Python3.7 AppImage 2021-04-15 12:20:33 -04:00
Mike Salvatore 66c5d91266 appimage: Fix CLI parameter for choosing branch. 2021-04-15 12:20:10 -04:00
Mike Salvatore 159aa604d3 appimage: add `-y` to `sudo apt upgrade` to avoid prompt 2021-04-15 12:19:36 -04:00
Mike Salvatore 54754698fd appimage: remove unnecessary blank lines in run_appimage.sh 2021-04-15 11:32:10 -04:00
Mike Salvatore bc1f583e20 appimage: remove unused $executable var from AppRun 2021-04-15 11:32:10 -04:00
Mike Salvatore e0fd620d9d build: Update appimage README since we switched from appimage-builder 2021-04-15 11:32:10 -04:00
Mike Salvatore 81860e97e7 build: move ./deployment_scripts/appimage -> ./appimage 2021-04-15 11:32:10 -04:00