Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pipeline CCC #415

Draft
wants to merge 11 commits into
base: dev
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 9 additions & 18 deletions .github/workflows/sub_code_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,16 @@ on: workflow_call

jobs:
code-check:
name: Function check
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
checked_function: [ "colorecho", "add-aliases", "add-history", "add-test-command", "add-to-list" ]
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@main
- name: Check ${{ matrix.checked_function }}
run: python3 sources/code_compliance_check.py ${{ matrix.checked_function }}
temp-fix:
name: Temp-fix check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@main
- name: Check temp-fix
run: python3 sources/code_compliance_check.py temp-fix
- name: Checkout the code
uses: actions/checkout@main
- name: Run CCC
uses: ThePorgs/Exegol-images-ccc@dev
with:
dir_path: "./sources/install"
shellcheck:
name: Shell check
runs-on: ubuntu-latest
Expand All @@ -35,4 +26,4 @@ jobs:
with:
ignore_names: >-
zshrc
bashrc
bashrc
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

a
> **📌 This repository hosts code for Exegol images, a submodule of the Exegol project.
> If you were looking for Exegol, go to [the main repo](https://github.com/ThePorgs/Exegol)**
___
Expand Down
2 changes: 1 addition & 1 deletion sources/install/package_ad.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
# Author: The Exegol Project

# test
source common.sh

function install_ad_apt_tools() {
Expand Down
2 changes: 1 addition & 1 deletion sources/install/package_base.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
# Author: The Exegol Project

# test
source common.sh

function update() {
Expand Down
1 change: 1 addition & 0 deletions sources/install/package_c2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

source common.sh
# sourcing package_ad.sh for the install_powershell() function
# Hello
source package_ad.sh

function install_pwncat() {
Expand Down
1 change: 1 addition & 0 deletions sources/install/package_wordlists.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# Author: The Exegol Project

source common.sh
# Test

function install_wordlists_apt_tools() {
# CODE-CHECK-WHITELIST=add-aliases
Expand Down
Loading