This repository has been archived by the owner on Oct 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add GH actions for pull request workflow (#14)
* Fix Dockerfiles * Add pull_request_workflow GH action * Fix indentation in bash scripts
- Loading branch information
Showing
7 changed files
with
43 additions
and
78 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Pull Request Workflow | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
|
||
jobs: | ||
|
||
lint_bash: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: make build # Build Imager tool | ||
- run: make shellcheck # Run ShellCheck | ||
- run: make bashate # Run Bashate | ||
|
||
lint_golang: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: "stable" | ||
- uses: golangci/golangci-lint-action@v3 | ||
with: | ||
version: "latest" | ||
# - run: make generate |
File renamed without changes.
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,15 +1,13 @@ | ||
#!/bin/bash | ||
|
||
sudo rm -rf /var/tmp/container_list.done \ | ||
/var/tmp/backup && \ | ||
/var/tmp/backup && \ | ||
sudo rm -f /usr/local/bin/prepare-installation-configuration.sh \ | ||
/usr/local/bin/installation-configuration.sh && \ | ||
/usr/local/bin/installation-configuration.sh && \ | ||
sudo systemctl disable installation-configuration.service && \ | ||
sudo systemctl disable prepare-installation-configuration.service && \ | ||
rm -f /etc/systemd/system/installation-configuration.service \ | ||
/etc/systemd/system/prepare-installation-configuration.service && \ | ||
/etc/systemd/system/prepare-installation-configuration.service && \ | ||
sudo podman rmi quay.io/alosadag/ibu-seed-sno0:oneimage --force && \ | ||
sudo systemctl enable --now kubelet && \ | ||
sudo systemctl enable --now crio | ||
|
||
|
||
sudo systemctl enable --now crio |