Commit Graph

11 Commits

Author SHA1 Message Date
Ilija Lazoroski 7356b6cc88 Build: Add cleanup function to build_package 2022-06-03 09:02:32 -04:00
Ilija Lazoroski b8c4ae8e0c Build: Cleanup dangling docker images after build 2022-06-03 12:34:06 +02:00
Ilija Lazoroski 27d47c05c4 Build: Run `npm run dev` on development build 2022-04-12 17:25:04 +02:00
Ilija Lazoroski 6d827ad1af Build: Refactor commit id 2021-10-21 17:12:01 +02:00
Mike Salvatore 6b0a689adb Docker: Fix `git rev-parse` command
Add -C to git command in order
to execute rev-parse outside the repo.
2021-10-21 16:52:13 +02:00
VakarisZ eedf4484bc Deployments: fix the extraction of commit number in docker.sh 2021-10-21 16:52:13 +02:00
VakarisZ 25df96da63 Deployments: Rename docker deployment only if a version is not specified
With this change, Jenkins will output docker packages in the following naming conventions:

Develop: InfectionMonkey-docker-$commit_number.tgz

Release: InfectionMonkey-docker-v$version.tgz
2021-10-21 16:52:13 +02:00
VakarisZ 65f7fd0131 Deployments: change the outputs of appimage build and docker build to conform to the naming convention of InfectionMonkey-v*.*
AppImages are built into InfectionMonkey-v1.11.0.AppImage

Docker is build into InfectionMonkey-docker-v1.11.0.tgz
2021-10-21 16:52:13 +02:00
Ilija Lazoroski c4ab6f4362 Build_scripts: Add deployment type to the build_scripts 2021-09-15 14:38:07 +02:00
Mike Salvatore 6aff4a16b2 Build: Move final build artifact to dist/ directory 2021-07-28 07:53:33 -04:00
Mike Salvatore 5576e4e241 Build: Move reusable parts of docker build scripts into new scripts 2021-07-27 13:08:55 -04:00