File tree 5 files changed +40
-10
lines changed
incubating/argocd-app-status
5 files changed +40
-10
lines changed Original file line number Diff line number Diff line change
1
+ build
2
+ dist
3
+ argocd_app_status.spec
Original file line number Diff line number Diff line change 1
1
# Changelog
2
- ## [ 1.1.2 ] - 2023-09-18
2
+ ## [ 1.1.3 ] - 2024-11-20
3
3
### Changed
4
+ * upgrade yarl to 1.17.2
5
+
6
+ ### Fixed
7
+ * CVE-2024 -45491 - upgrade libexpat1
8
+ * CVE-2024 -45492 - upgrade libexpat1
9
+ * CVE-2024 -37371 - upgrade libkrb5
10
+ * CVE-2023 -45853 - upgrade zlib1g
11
+
12
+ ## [ 1.1.2] - 2023-09-18
13
+
4
14
5
15
### Fixed
6
16
- PYSEC-2023-135 - upgrade Python module certifi to 2023.7.22
7
17
- CVE-2019 -8457 - upgrade base image to python:3.11.5-slim-bookworm
8
18
9
19
## [ 1.1.1] - 2023-06-03
10
20
### Changed
11
- - Upgrade pythpn version to 3.11.3
21
+ - Upgrade python version to 3.11.3
12
22
13
23
### Fixed
14
24
- Link for application
Original file line number Diff line number Diff line change 1
- FROM python:3.11.5-slim-bookworm
1
+ # stage 1 Build
2
+ # Bookworm is debian based
3
+ FROM python:3.13.1-slim-bookworm AS builder
2
4
WORKDIR /app
3
5
COPY requirements.txt requirements.txt
4
- RUN pip3 install -r requirements.txt
5
6
COPY queries queries/
6
7
COPY argocd_app_status.py argocd_app_status.py
7
- CMD [ "python3" , "argocd_app_status.py" ]
8
+
9
+ RUN apt-get update && apt-get install -y binutils
10
+ RUN pip3 install -r requirements.txt
11
+ RUN pip3 install pyinstaller
12
+ RUN pyinstaller --strip --onefile argocd_app_status.py
13
+
14
+ # stage 2 : Prod
15
+ FROM debian:bookworm-slim
16
+
17
+ # USER cfuser
18
+ RUN adduser cfuser --home /home/codefresh --shel /bin/sh
19
+ USER cfuser
20
+
21
+ WORKDIR /app
22
+ COPY queries queries/
23
+ COPY --from=builder /app/dist/argocd_app_status argocd_app_status
24
+ ENTRYPOINT ["/app/argocd_app_status" ]
Original file line number Diff line number Diff line change @@ -5,10 +5,10 @@ docopt==0.6.2
5
5
gql == 3.4.0
6
6
graphql-core == 3.2.3
7
7
idna == 3.4
8
- multidict == 6.0.4
8
+ multidict == 6.1.0
9
9
pipreqs == 0.4.13
10
10
requests == 2.31.0
11
11
requests-toolbelt == 0.10.1
12
12
urllib3 == 1.26.16
13
13
yarg == 0.1.9
14
- yarl == 1.9 .2
14
+ yarl == 1.17 .2
Original file line number Diff line number Diff line change 1
1
kind : step-type
2
2
metadata :
3
3
name : argocd-app-status
4
- version : 1.1.2
4
+ version : 1.1.3
5
5
isPublic : true
6
6
description : Get Argo CD App status and return its sybc and health status
7
7
sources :
61
61
},
62
62
"IMAGE_TAG": {
63
63
"type": "string",
64
- "default": "1.1.2 ",
64
+ "default": "1.1.3 ",
65
65
"description": "OPTIONAL - To overwrite the tag to use"
66
66
}
67
67
}
97
97
[[- end ]]
98
98
commands:
99
99
- cd /app
100
- - python3 argocd_app_status.py
100
+ - /app/ argocd_app_status
101
101
delimiters :
102
102
left : ' [['
103
103
right : ' ]]'
You can’t perform that action at this time.
0 commit comments