Skip to content

Commit

Permalink
Modify CI to include HTTP configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
MEhrn00 committed Feb 2, 2024
1 parent 7a29fe4 commit 60b34aa
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 4 deletions.
27 changes: 24 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,18 @@ jobs:
working-directory: ${{ env.THANATOS_PATH }}/${{ env.AGENT_CODE }}
run: cargo check --color always --all-targets --all-features
env:
RUSTFLAGS: "--cfg http"
UUID: ""
AESPSK: ""
callback_host: ""
callback_interval: ""
callback_jitter: ""
encrypted_exchange_check: ""
callback_port: ""
connection_retries: ""
encrypted_exchange_check: ""
get_uri: ""
headers: ""
post_uri: ""
working_hours: ""

format:
Expand All @@ -74,11 +81,18 @@ jobs:
working-directory: ${{ env.THANATOS_PATH }}/${{ env.AGENT_CODE }}
run: cargo fmt -- --color always --check
env:
RUSTFLAGS: "--cfg http"
UUID: ""
AESPSK: ""
callback_host: ""
callback_interval: ""
callback_jitter: ""
encrypted_exchange_check: ""
callback_port: ""
connection_retries: ""
encrypted_exchange_check: ""
get_uri: ""
headers: ""
post_uri: ""
working_hours: ""

lint:
Expand Down Expand Up @@ -106,9 +120,16 @@ jobs:
working-directory: ${{ env.THANATOS_PATH }}/${{ env.AGENT_CODE }}
run: cargo clippy --color always --all-features --all-targets -- -D warnings
env:
RUSTFLAGS: "--cfg http"
UUID: ""
AESPSK: ""
callback_host: ""
callback_interval: ""
callback_jitter: ""
encrypted_exchange_check: ""
callback_port: ""
connection_retries: ""
encrypted_exchange_check: ""
get_uri: ""
headers: ""
post_uri: ""
working_hours: ""
8 changes: 7 additions & 1 deletion Payload_Type/thanatos/thanatos/agent_code/.env.default
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
UUID=""
AESPSK=""
callback_host=""
callback_interval=""
callback_jitter=""
encrypted_exchange_check=""
callback_port=""
connection_retries=""
encrypted_exchange_check=""
get_uri=""
headers=""
post_uri=""
working_hours=""

0 comments on commit 60b34aa

Please sign in to comment.