Skip to content
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

Appimage automated build #1136

Merged
merged 26 commits into from
May 3, 2021
Merged
Show file tree
Hide file tree
Changes from 23 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
408a0de
appimage: remove node_modules from appdir
mssalvatore Apr 21, 2021
c33f9cf
appimage: Upgrade from Python 3.7.9 -> 3.7.10
mssalvatore Apr 21, 2021
7276760
appimage: Remove unnecessary recursive chmod in clone_monkey_repo()
mssalvatore Apr 26, 2021
c47f5a5
appimage: Relocate squashfs-root/ to same dir as build_appimage.sh
mssalvatore Apr 29, 2021
1f4af68
appimage: Use $WORKSPACE variable if present
mssalvatore Apr 29, 2021
84c875c
appimage: Only load binary config if downloading agent binaries
mssalvatore Apr 29, 2021
68759e3
appimage: Make spacing consistent
mssalvatore Apr 29, 2021
8cb47ce
appimage: Add cli parameter for specifying the package version
mssalvatore Apr 29, 2021
2856b85
appimage: Add cli parameter for specifying which agent binaries to in…
mssalvatore Apr 29, 2021
e58281b
appimage: Use npm-ci instead of npm-install
mssalvatore Apr 29, 2021
9c11f23
appimage: Add a cli parameter for for specifying a git branch
mssalvatore Apr 29, 2021
280b1e2
appimage: Put cli parameters in alphabetical order
mssalvatore Apr 29, 2021
fe25cd2
appimage: Add cli parameter to specify local monkey repo dir
mssalvatore Apr 29, 2021
f91a52f
appimage: Exit with error if unsupported parameters are passed
mssalvatore Apr 29, 2021
d53ba0e
appimage: Add --help
mssalvatore Apr 29, 2021
febad65
appimage: Perform root checks after parsing args
mssalvatore Apr 29, 2021
ebd2fdd
appimage: Add --as-root flag
mssalvatore Apr 30, 2021
7ab7e56
appimage: Replace `apt` with `apt-get`
mssalvatore Apr 30, 2021
9f150bb
appimage: Remove references to deployment scripts in logging
mssalvatore Apr 30, 2021
f87514c
appimage: Add a few log messages
mssalvatore Apr 30, 2021
c61b551
appimage: Address minor shellcheck findings
mssalvatore Apr 30, 2021
0192e08
appimage: Replace some tabs with spaces
mssalvatore Apr 30, 2021
de9d750
Add PR #1136 to the changelog
mssalvatore Apr 30, 2021
684a6f8
appimage: Match any unknown parameters (not just flags)
mssalvatore May 3, 2021
998a14d
appimage: reduce some duplication in argument parsing
mssalvatore May 3, 2021
f475df7
appimage: fix spacing in argument parsing
mssalvatore May 3, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- PostgreSQL fingerprinter. #892
- A runtime-configurable option to specify a data directory where runtime
configuration and other artifacts can be stored. #994
- Scripts to build an AppImage for Monkey Island. #1069, #1090
- Scripts to build an AppImage for Monkey Island. #1069, #1090, #1136

### Changed
- server_config.json can be selected at runtime. #963
Expand Down
4 changes: 2 additions & 2 deletions appimage/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ NOTE: This script is intended to be run from a clean VM. You can also manually
remove build artifacts by removing the following files and directories.

- $HOME/.monkey_island (optional)
- $HOME/squashfs-root
- $HOME/appimage/squashfs-root
- $HOME/git/monkey
- $HOME/appimage/Infection_Monkey-x86_64.AppImage
- $HOME/appimage/Infection_Monkey*x86_64.AppImage

After removing the above files and directories, you can again execute `bash
build_appimage.sh`.
Expand Down
Loading