Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #54 from tracelabs/tom-refresh-april-2024
Tom refresh april 2024
- Loading branch information
Showing
18 changed files
with
70 additions
and
177 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: push-to-main | ||
# This action will trigger whenever main gets updated | ||
# success on this action would imply success when we push a release and files are generated | ||
# triggers on PRs or direct commits to main or dev branches | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- dev # Added the dev branch here | ||
pull_request: | ||
branches: | ||
- main | ||
- dev # And here as well | ||
|
||
jobs: | ||
run-docker: | ||
# Specifies that the job runs on an Ubuntu environment | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
# Sets up Docker environment | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v1 | ||
|
||
# uses the build in container option to build the vm files | ||
# this test only checks the default build but others should work | ||
- name: Run Docker command | ||
run: | | ||
sudo apt update | ||
sudo apt -y install debos p7zip qemu-utils zerofree | ||
cd $GITHUB_WORKSPACE | ||
chmod +x scripts/tl/*.sh | ||
chmod +x scripts/*.sh | ||
chmod +x *.sh | ||
docker build -t tlvm-builder . | ||
docker run --rm --interactive --net host --privileged --group-add $(stat -c '%g' /dev/kvm) --volume $(pwd):/recipes -v $(pwd)/images/:/images --workdir /recipes tlvm-builder ./build.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
FROM docker.io/kalilinux/kali-rolling | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y \ | ||
bmap-tools debos linux-image-amd64 p7zip parted qemu-utils xz-utils zerofree user-mode-linux libslirp-helper \ | ||
&& apt-get clean | ||
RUN apt update \ | ||
&& apt --quiet --yes install --no-install-recommends \ | ||
bmap-tools debos dosfstools linux-image-amd64 p7zip parted qemu-utils systemd-resolved xz-utils zerofree |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
#!/bin/bash | ||
# Install Obsidian app image | ||
# Install Obsidian app image to desktop of user | ||
|
||
wget -O /home/osint/Obsidian.AppImage https://github.com/obsidianmd/obsidian-releases/releases/download/v1.4.14/Obsidian-1.4.14.AppImage | ||
chmod +x /home/osint/Obsidian.AppImage | ||
chmod +x /home/osint/Desktop/obsidian.desktop | ||
# username set when launchine the build | ||
username=$1 | ||
|
||
wget -O /home/$username/Obsidian.AppImage https://github.com/obsidianmd/obsidian-releases/releases/download/v1.5.12/Obsidian-1.5.12.AppImage | ||
chmod +x /home/$username/Obsidian.AppImage | ||
chmod +x /home/$username/Desktop/obsidian.desktop |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters