Skip to content

Commit

Permalink
Merge pull request #835 from ansible/jw/consol2
Browse files Browse the repository at this point in the history
consolidate launch-wisdom.sh and launch-wisdom-compose.sh
  • Loading branch information
jameswnl authored Feb 26, 2024
2 parents aad2b03 + 69e7b63 commit 21733c0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 32 deletions.
2 changes: 1 addition & 1 deletion tools/docker-compose/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ services:
- ANSIBLE_WCA_HEALTHCHECK_MODEL_ID=${ANSIBLE_WCA_HEALTHCHECK_MODEL_ID}
- DEPLOYMENT_MODE=${DEPLOYMENT_MODE}
command:
- /etc/wisdom/scripts/launch-wisdom-compose.sh
- /etc/wisdom/scripts/launch-wisdom.sh
networks:
- dbnet
db:
Expand Down
31 changes: 0 additions & 31 deletions tools/scripts/launch-wisdom-compose.sh

This file was deleted.

3 changes: 3 additions & 0 deletions tools/scripts/launch-wisdom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ if [ "${DEPLOYMENT_MODE}" == "upstream" ]; then
echo "Creating a testing user for upstream mode..."
/var/www/venv/bin/python ansible_wisdom/manage.py createtoken --username testuser --password testuser --token-name testuser_token --create-user
fi
if [ ! "${DEPLOYMENT_MODE}" == "saas" ]; then
/var/www/venv/bin/wisdom-manage createapplication --name "Ansible Lightspeed for VS Code" --client-id Vu2gClkeR5qUJTUGHoFAePmBznd6RZjDdy5FW2wy --redirect-uris "vscode://redhat.ansible vscodium://redhat.ansible vscode-insiders://redhat.ansible code-oss://redhat.ansible checode://redhat.ansible" public authorization-code
fi
/var/www/venv/bin/wisdom-manage collectstatic --noinput

/usr/local/bin/supervisord -n

1 comment on commit 21733c0

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ClamAV Virus Definition DB Files:
----
total 228208
-rw-r--r--  1 root root 170479789 Feb 26 06:07 main.cvd
-rw-r--r--  1 root root        69 Feb 26 06:07 freshclam.dat
-rw-r--r--  1 root root  62887086 Feb 26 06:07 daily.cvd
-rw-r--r--  1 root root    291965 Feb 26 06:07 bytecode.cvd
drwxr-xr-x 16 root root      4096 Feb 26 19:51 ..
drwxr-xr-x  2 root root      4096 Feb 26 19:51 .
----
File: /var/lib/clamav/bytecode.cvd
Build time: 22 Feb 2023 16:33 -0500
Version: 334
Signatures: 91
Functionality level: 90
Builder: anvilleg
MD5: 0464067a252b1e937012ad34e811065f
Digital signature: urVBCbhJcz8v6i1E6HedDwa8TxBHnJknqg7SE+6JWBtovATpw8MWwS+kvGAi//x5u0LIFwhPvUsgEBBeFiZE0QTTWazOhJ/LfKJK+nODqha6cTvaQdKl2rSbEOv6grv7UONV8eKi383Wv07wfSNYp+lPNpt0QmejKb1TMHAYTA
Verification OK.
----
File: /var/lib/clamav/daily.cvd
Build time: 25 Feb 2024 04:29 -0500
Version: 27196
Signatures: 2054014
Functionality level: 90
Builder: raynman
MD5: 7f0c3cf76d7ef208d74c5557e00e2bc0
Digital signature: Vy3FG4hCth4kqHqa5PPaxWlQ4Q3YOil5fjKYzQrOjrOSY7lZtX7U1zFoOkHEy0RkbTV9MO/8/8qd5OjPLlyOE8gRaivmOv6w4GIcBLl7KKg8EcAmhki3ebX1N2z3TPIkft5sXhBtIJZUM6A78R6LC6exZ0PpKLcNd9IS+pXQSnb
Verification OK.
----
File: /var/lib/clamav/main.cvd
Build time: 16 Sep 2021 08:32 -0400
Version: 62
Signatures: 6647427
Functionality level: 90
Builder: sigmgr
MD5: 137eccce31aacb21b5a98bb8c21cefd6
Digital signature: twaJBls8V5q64R7QY10AatEtPNuPWoVoxTaNO1jpBg7s5jIMMXpitgG1000YLp6rb0TWkEKjRqxneGTxuxWaWm7XBjsgwX2BRWh/y4fhs7uyImdKRLzQ5y8e2EkSChegF/i8clqfn+1qetq9j4gbktJ3JZpOXPoHlyr2Dv9S/Bg
Verification OK.
----
Scanning Results:
ClamAV 1.0.5/27196/Sun Feb 25 09:29:27 2024
LibClamAV Warning: Max file-size was set to 4194304000 bytes. Unfortunately, scanning files greater than 2147483647 bytes (2 GiB - 1) is not supported.

----------- SCAN SUMMARY -----------
Known viruses: 8685882
Engine version: 1.0.5
Scanned directories: 30964
Scanned files: 190046
Infected files: 0
Data scanned: 6469.96 MB
Data read: 3413.38 MB (ratio 1.90:1)
Time: 2418.960 sec (40 m 18 s)
Start Date: 2024:02:26 19:53:17
End Date:   2024:02:26 20:33:36

Please sign in to comment.