-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merge last argo-cd-sync step to gitops-argocd-sync
- Loading branch information
1 parent
f86ae42
commit 4758657
Showing
4 changed files
with
38 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,16 @@ | ||
FROM python:3.12.0-bookworm | ||
WORKDIR /app | ||
COPY requirements.txt requirements.txt | ||
FROM python:3.13.0a5-bookworm | ||
|
||
|
||
# USER codefresh | ||
RUN useradd -d /home/codefresh -m -s /usr/bin/bash codefresh | ||
USER codefresh | ||
WORKDIR /home/codefresh | ||
|
||
ENV PYTHONPATH /home/codefresh/.local/lib/python3.13/site-packages/ | ||
|
||
COPY --chown=codefresh requirements.txt requirements.txt | ||
RUN pip3 install --upgrade pip | ||
RUN pip3 install -r requirements.txt | ||
RUN pip3 install --user -r requirements.txt | ||
COPY queries queries/ | ||
COPY argocd_sync.py run.py | ||
CMD [ "python3", "run.py"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
backoff==2.2.1 | ||
certifi==2023.7.22 | ||
charset-normalizer==3.1.0 | ||
gql==3.4.0 | ||
certifi==2024.2.2 | ||
charset-normalizer==3.3.2 | ||
gql==3.5.0 | ||
graphql-core==3.2.3 | ||
idna==3.4 | ||
multidict==6.0.4 | ||
requests==2.28.2 | ||
requests-toolbelt==0.10.1 | ||
urllib3==1.26.16 | ||
yarl==1.9.2 | ||
idna==3.6 | ||
multidict==6.0.5 | ||
requests==2.31.0 | ||
requests-toolbelt==1.0.0 | ||
urllib3==2.2.1 | ||
yarl==1.9.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters