Devops application from scratch
To connect DevSecOps protection in your development envoronment, run the following command(s) in your local repo clone.
curl -sL "https://raw.githubusercontent.com/darbooshka/kbot-devsecops/main/shiftleft/install.sh" | sh
Windows (cmd)
Delegated to mid/jun devops staff.
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/darbooshka/kbot-devsecops/main/shiftleft/install.ps1'))"
To temporary disable DevSecOps protection, run the following command (unsafe):
Disable
git config devsecops.protect.enabled false
Don't forget to enable it back using the following command:
git config devsecops.protect.enabled true
To build for linux run the following command:
make linux build
To build for macos run the following command:
make macos build
To build for windows run the following command:
make windows build
To build for arm run the following command:
$ make build TARGETARCH=arm64
To make Docker container image for MacOs arm run the following command:
$ make macos image TARGETARCH=arm64
To make Docker container image for Windows arm run the following command:
$ make windows image TARGETARCH=arm64