File tree Expand file tree Collapse file tree 4 files changed +38
-24
lines changed
graduated/gitops-argocd-sync Expand file tree Collapse file tree 4 files changed +38
-24
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## [ 1.4.5] - 2024-04-04
4
+ ### Fixed
5
+ - fixing CVEs
6
+ - upgrade requirements.txt
7
+ - install Python modules locally
8
+
3
9
## [ 1.4.4] - 2024-03-07
4
10
### Fixed
5
- Do not sync an application in auto-sync mode
6
- Check for application existence before anything is done
11
+ - Do not sync an application in auto-sync mode
12
+ - Check for application existence before anything is done
7
13
8
14
## [ 1.4.3] - 2024-02-22
9
15
### Fixed
10
- intercepting application not found for better error message
16
+ - Intercepting application not found for better error message
11
17
12
18
### Changed
13
- Move the creation of the link to the application earlier
14
- Exit with error when app is in OUT_OF_SYNC state
19
+ - Move the creation of the link to the application earlier
20
+ - Exit with error when app is in OUT_OF_SYNC state
15
21
16
22
## [ 1.4.2] - 2024-01-17
17
23
### Changed
18
- New graphql call to speed up query
24
+ - New graphql call to speed up query
19
25
20
26
## [ 1.4.1] - 2023-10-31
21
27
### Changed
22
- Add CA_BUNDLE option
28
+ - Add CA_BUNDLE option
23
29
24
30
## [ 1.4.0] - 2023-10-30
25
31
### Changed
26
- Add INSECURE option
32
+ - Add INSECURE option
27
33
28
34
## [ 1.3.1] - 2023-09-18
29
35
### Fixed
Original file line number Diff line number Diff line change 1
- FROM python:3.12.0-bookworm
2
- WORKDIR /app
3
- COPY requirements.txt requirements.txt
1
+ FROM python:3.13.0a5-bookworm
2
+
3
+
4
+ # USER codefresh
5
+ RUN useradd -d /home/codefresh -m -s /usr/bin/bash codefresh
6
+ USER codefresh
7
+ WORKDIR /home/codefresh
8
+
9
+ ENV PYTHONPATH /home/codefresh/.local/lib/python3.13/site-packages/
10
+
11
+ COPY --chown=codefresh requirements.txt requirements.txt
4
12
RUN pip3 install --upgrade pip
5
- RUN pip3 install -r requirements.txt
13
+ RUN pip3 install --user - r requirements.txt
6
14
COPY queries queries/
7
15
COPY argocd_sync.py run.py
8
16
CMD [ "python3" , "run.py" ]
Original file line number Diff line number Diff line change 1
1
backoff == 2.2.1
2
- certifi == 2023.7.22
3
- charset-normalizer == 3.1.0
4
- gql == 3.4 .0
2
+ certifi == 2024.2.2
3
+ charset-normalizer == 3.3.2
4
+ gql == 3.5 .0
5
5
graphql-core == 3.2.3
6
- idna == 3.4
7
- multidict == 6.0.4
8
- requests == 2.28.2
9
- requests-toolbelt == 0.10.1
10
- urllib3 == 1.26.16
11
- yarl == 1.9.2
6
+ idna == 3.6
7
+ multidict == 6.0.5
8
+ requests == 2.31.0
9
+ requests-toolbelt == 1.0.0
10
+ urllib3 == 2.2.1
11
+ yarl == 1.9.4
Original file line number Diff line number Diff line change 1
1
kind : step-type
2
2
metadata :
3
3
name : gitops-argocd-sync
4
- version : 1.4.4
4
+ version : 1.4.5
5
5
isPublic : true
6
6
description : Syncs Argo CD apps managed by our GitOps Runtimes
7
7
sources :
@@ -120,7 +120,7 @@ spec:
120
120
},
121
121
"IMAGE_TAG": {
122
122
"type": "string",
123
- "default": "1.4.4 ",
123
+ "default": "1.4.5 ",
124
124
"description": "OPTIONAL - To overwrite the tag to use"
125
125
}
126
126
}
@@ -157,7 +157,7 @@ spec:
157
157
[[ if .Arguments.CA_BUNDLE ]]
158
158
- echo [[ .Arguments.CA_BUNDLE ]] | base64 -d >/root/bundle.pem
159
159
[[ end ]]
160
- - cd /app
160
+ - cd /home/codefresh
161
161
- python3 run.py
162
162
163
163
delimiters :
You can’t perform that action at this time.
0 commit comments