File tree Expand file tree Collapse file tree 7 files changed +1014
-833
lines changed
detect_secrets_stream/secret_corpus_db Expand file tree Collapse file tree 7 files changed +1014
-833
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,7 @@ os: linux
2
2
language : python
3
3
python :
4
4
- " 3.9.18" # Matches version in Dockerfiles/Dockerfile.dss
5
- dist : bionic
6
- group : beta
5
+ dist : focal
7
6
services :
8
7
- docker
9
8
before_install :
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ ENV PYTHONUSERBASE $PYROOT
8
8
ENV PATH $PATH:$PYROOT/bin
9
9
10
10
RUN pip install pip==23.3
11
+ RUN pip install setuptools==76.0.0
11
12
12
13
RUN apt-get update && \
13
14
apt-get upgrade -y && \
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ setup: setup-trivy setup-cosign setup-deploy-tools
97
97
98
98
.PHONY : start-local-test-db
99
99
start-local-test-db : stop-local-test-db
100
- docker run -p 54320:5432 -d --name $(TEST_DB_CONTAINER_NAME ) -e POSTGRES_HOST_AUTH_METHOD=trust postgres:11
100
+ docker run -p 54320:5432 -d --name $(TEST_DB_CONTAINER_NAME ) -e POSTGRES_HOST_AUTH_METHOD=trust postgres:14
101
101
@echo " username/password: postgres/postgres"
102
102
103
103
.PHONY : stop-local-test-db
Original file line number Diff line number Diff line change @@ -17,25 +17,25 @@ pytest-cov = "==3.0.0"
17
17
18
18
[packages ]
19
19
logmatic-python = " ==0.1.7"
20
- confluent-kafka = " ==1.8.2 "
20
+ confluent-kafka = " ==2.5.0 "
21
21
jaeger-client = " ==4.8.0"
22
22
prometheus-client = " ==0.14.0"
23
23
psycopg2-binary = " ==2.9.3"
24
24
click = " ==8.1.2"
25
25
flask = " ==2.2.5"
26
26
backoff = " ==1.11.1"
27
27
boxsdk = {extras = [" jwt" ],version = " ==3.2.0" }
28
- cryptography = " ==42 .0.5 "
28
+ cryptography = " ==43 .0.1 "
29
29
hvac = " ==0.11.2"
30
30
asyncio = " ==3.4.3"
31
- requests = " ==2.31.0 "
31
+ requests = " ==2.32.3 "
32
32
gunicorn = " ==22.0.0"
33
33
gevent = " ==23.9.1"
34
34
pyjwt = " ==2.5.0"
35
- ibm-db = " ==3.1.1 "
35
+ ibm-db = " ==3.2.6 "
36
36
detect-secrets = {ref = " 0.13.1+ibm.62.dss" , git = " https://github.com/ibm/detect-secrets.git" }
37
37
pytest = " ==8.1.1"
38
- Werkzeug = " == 3.0.3 "
38
+ Werkzeug = " == 3.0.6 "
39
39
pre-commit = " ==3.7.0"
40
40
41
41
[requires ]
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ pip install psycopg2
33
33
## setting up a local instance of the DB
34
34
35
35
spin up an instance of postgress in docker:
36
- ` docker run -d --name my_postgres -v my_dbdata:/var/lib/postgresql/data -p 54320:5432 postgres:11 `
36
+ ` docker run -d --name my_postgres -v my_dbdata:/var/lib/postgresql/data -p 54320:5432 postgres:14 `
37
37
38
38
install psql tool: (not required but helpful for setting up the DB & having another path into the DB - remotely too)
39
39
` sudo dnf install psql `
Original file line number Diff line number Diff line change 23
23
# emptyDir: {}
24
24
containers :
25
25
- name : postgres
26
- image : postgres:11 -alpine
26
+ image : postgres:14 -alpine
27
27
resources :
28
28
requests :
29
29
cpu : 20m
You can’t perform that action at this time.
0 commit comments