Skip to content

Commit c1acc3a

Browse files
committed
update ci
Signed-off-by: Andrey Devyatkin <andrey.devyatkin@fivexl.io>
1 parent d89a878 commit c1acc3a

File tree

3 files changed

+14
-17
lines changed

3 files changed

+14
-17
lines changed

.github/workflows/base.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,4 @@ jobs:
7575
continue-on-error: true
7676
- name: Run Code
7777
run: |
78-
python3 ssl-check-to-slack.py
79-
env:
80-
HOOK_URL: "https://hooks.slack.com/services/XXXXXXX/XXXXXXX/XXXXXXXXXXXX"
81-
HOSTNAMES: "fivexl.io"
82-
HEALTH_CHECK_MATCHER: "200-399"
78+
bash test.sh

README.md

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,4 @@ Configuration is done via env variables
6565

6666
# Example message
6767

68-
![Example](doc/example.jpg)
69-
70-
# Development
71-
72-
```
73-
bash setup.sh
74-
source env/bin/activate
75-
export SCAN_COMMANDS="certificate_info,robot,tls_compression,tls_fallback_scsv,heartbleed,http_headers,openssl_ccs_injection,session_renegotiation,tls_1_1_cipher_suites,tls_1_2_cipher_suites,tls_1_3_cipher_suites"
76-
export CERTIFICATE_EXPIRATION_NOTICE_DAYS=7
77-
export HEALTH_CHECK_MATCHER=200-399
78-
HOOK_URLS="opa" DEBUG=true HOSTNAMES="google.com,g00gle.com" python3 ssl-check-to-slack.py
79-
```
68+
![Example](doc/example.jpg)

test.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/usr/bin/env bash
2+
3+
set -ex
4+
5+
export SCAN_COMMANDS="certificate_info,robot,tls_compression,tls_fallback_scsv,heartbleed,http_headers,openssl_ccs_injection,session_renegotiation,tls_1_1_cipher_suites,tls_1_2_cipher_suites,tls_1_3_cipher_suites"
6+
export CERTIFICATE_EXPIRATION_NOTICE_DAYS=7
7+
export HEALTH_CHECK_MATCHER=200-399
8+
export HOOK_URLS="https://hooks.slack.com/services/XXXXXXX/XXXXXXX/XXXXXXXXXXXX"
9+
export DEBUG=true
10+
export HOSTNAMES="google.com,g00gle.com,fivexl.io"
11+
12+
python3 ssl-check-to-slack.py

0 commit comments

Comments
 (0)