Skip to content

Commit 5605e86

Browse files
authored
Patching (#34)
* updating pipfile and pipfile.lock Signed-off-by: Kristi-Kazmierczak <[email protected]> * updating more versions Signed-off-by: Kristi-Kazmierczak <[email protected]> * updating cryptography Signed-off-by: Kristi-Kazmierczak <[email protected]> * updating confluent kafka Signed-off-by: Kristi-Kazmierczak <[email protected]> * trying latest confluent-kafka version Signed-off-by: Kristi-Kazmierczak <[email protected]> * updating pipenv Signed-off-by: Kristi-Kazmierczak <[email protected]> * adding install for librdkafka Signed-off-by: Kristi-Kazmierczak <[email protected]> * adding sudo Signed-off-by: Kristi-Kazmierczak <[email protected]> * updating install for librdkafka-dev Signed-off-by: Kristi-Kazmierczak <[email protected]> * updating apt install Signed-off-by: Kristi-Kazmierczak <[email protected]> * updating apt command Signed-off-by: Kristi-Kazmierczak <[email protected]> * testing workaround for installing librdkafka Signed-off-by: Kristi-Kazmierczak <[email protected]> * adding sudo Signed-off-by: Kristi-Kazmierczak <[email protected]> * adding cd command Signed-off-by: Kristi-Kazmierczak <[email protected]> * testing other installs Signed-off-by: Kristi-Kazmierczak <[email protected]> * testing different version of confluent-kafka Signed-off-by: Kristi-Kazmierczak <[email protected]> * testing 2.5.0 for kafka Signed-off-by: Kristi-Kazmierczak <[email protected]> * testing running on focal Signed-off-by: Kristi-Kazmierczak <[email protected]> * updating pipenv in dockerfile Signed-off-by: Kristi-Kazmierczak <[email protected]> * updating setuptools and removing group beta in travis yml Signed-off-by: Kristi-Kazmierczak <[email protected]> * updating postgres references to v14 Signed-off-by: Kristi-Kazmierczak <[email protected]> * updating dockerfile and pipfile Signed-off-by: Kristi-Kazmierczak <[email protected]> --------- Signed-off-by: Kristi-Kazmierczak <[email protected]>
1 parent be17cb1 commit 5605e86

File tree

7 files changed

+1014
-833
lines changed

7 files changed

+1014
-833
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ os: linux
22
language: python
33
python:
44
- "3.9.18" # Matches version in Dockerfiles/Dockerfile.dss
5-
dist: bionic
6-
group: beta
5+
dist: focal
76
services:
87
- docker
98
before_install:

Dockerfiles/Dockerfile.dss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ ENV PYTHONUSERBASE $PYROOT
88
ENV PATH $PATH:$PYROOT/bin
99

1010
RUN pip install pip==23.3
11+
RUN pip install setuptools==76.0.0
1112

1213
RUN apt-get update && \
1314
apt-get upgrade -y && \

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ setup: setup-trivy setup-cosign setup-deploy-tools
9797

9898
.PHONY: start-local-test-db
9999
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
101101
@echo "username/password: postgres/postgres"
102102

103103
.PHONY: stop-local-test-db

Pipfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,25 +17,25 @@ pytest-cov = "==3.0.0"
1717

1818
[packages]
1919
logmatic-python = "==0.1.7"
20-
confluent-kafka = "==1.8.2"
20+
confluent-kafka = "==2.5.0"
2121
jaeger-client = "==4.8.0"
2222
prometheus-client = "==0.14.0"
2323
psycopg2-binary = "==2.9.3"
2424
click = "==8.1.2"
2525
flask = "==2.2.5"
2626
backoff = "==1.11.1"
2727
boxsdk = {extras = ["jwt"],version = "==3.2.0"}
28-
cryptography = "==42.0.5"
28+
cryptography = "==43.0.1"
2929
hvac = "==0.11.2"
3030
asyncio = "==3.4.3"
31-
requests = "==2.31.0"
31+
requests = "==2.32.3"
3232
gunicorn = "==22.0.0"
3333
gevent = "==23.9.1"
3434
pyjwt = "==2.5.0"
35-
ibm-db = "==3.1.1"
35+
ibm-db = "==3.2.6"
3636
detect-secrets = {ref = "0.13.1+ibm.62.dss", git = "https://github.com/ibm/detect-secrets.git"}
3737
pytest = "==8.1.1"
38-
Werkzeug = "== 3.0.3"
38+
Werkzeug = "== 3.0.6"
3939
pre-commit = "==3.7.0"
4040

4141
[requires]

Pipfile.lock

Lines changed: 1004 additions & 823 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

detect_secrets_stream/secret_corpus_db/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ pip install psycopg2
3333
## setting up a local instance of the DB
3434

3535
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`
3737

3838
install psql tool: (not required but helpful for setting up the DB & having another path into the DB - remotely too)
3939
`sudo dnf install psql`

kustomize_envs/dev/postgres.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ spec:
2323
# emptyDir: {}
2424
containers:
2525
- name: postgres
26-
image: postgres:11-alpine
26+
image: postgres:14-alpine
2727
resources:
2828
requests:
2929
cpu: 20m

0 commit comments

Comments
 (0)