Skip to content

Conversation

mssalvatore
Copy link
Collaborator

@mssalvatore mssalvatore commented Apr 14, 2021

What does this PR do?

This PR contains version 2 of the build scripts and artifacts for an AppImage package.

Fixes #1090

Add any further explanations here.

PR Checklist

  • Have you added an explanation of what your changes do and why you'd like to include them?
  • Is the TravisCI build passing?
  • Was the CHANGELOG.md updated to reflect the changes?
  • Was the documentation framework updated to reflect the changes?

Testing Checklist

  • Added relevant unit tests?
  • Have you successfully tested your changes locally? Elaborate:

    Tested by building an AppImage and running it on Ubuntu Bionic and Focal, CentOS 8, and Kali 2021.1

  • If applicable, add screenshots or log transcripts of the feature working

@mssalvatore mssalvatore requested a review from VakarisZ April 14, 2021 18:46
@codecov
Copy link

codecov bot commented Apr 15, 2021

Codecov Report

Merging #1101 (f3439bb) into develop (2d7919c) will increase coverage by 0.74%.
The diff coverage is 20.22%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1101      +/-   ##
===========================================
+ Coverage    28.27%   29.01%   +0.74%     
===========================================
  Files          398      409      +11     
  Lines        12804    12911     +107     
===========================================
+ Hits          3620     3746     +126     
+ Misses        9184     9165      -19     
Impacted Files Coverage Δ
monkey/common/cloud/instance.py 66.66% <ø> (ø)
monkey/common/cmd/aws/aws_cmd_result.py 0.00% <0.00%> (ø)
monkey/common/cmd/aws/aws_cmd_runner.py 0.00% <0.00%> (ø)
monkey/common/cmd/cmd.py 0.00% <0.00%> (ø)
monkey/common/cmd/cmd_result.py 0.00% <0.00%> (ø)
monkey/common/cmd/cmd_runner.py 0.00% <0.00%> (ø)
monkey/common/cmd/cmd_status.py 0.00% <0.00%> (ø)
monkey/common/common_consts/network_consts.py 0.00% <0.00%> (ø)
monkey/common/network/segmentation_utils.py 100.00% <ø> (ø)
monkey/common/utils/mongo_utils.py 0.00% <0.00%> (ø)
... and 930 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e0a4062...f3439bb. Read the comment docs.

Copy link
Contributor

@VakarisZ VakarisZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved, but have some questions

Since AppImages are read-only filesystems, the agent cannot create any
files in `./`.  Therefore, setting cwd in the `subprocess.Popen()` call
will change CWD to a writable directory if `data_dir` is set.
@mssalvatore mssalvatore merged commit 57f8f20 into develop Apr 16, 2021
@mssalvatore mssalvatore deleted the appimage-v2 branch April 22, 2021 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AppImage Package v2
2 participants