forked from opiproject/ansible-opi-dpu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Split req.txt into req-dev.txt for development dependencies
- Split req.txt - Bumped python version (opiproject#91) Signed-off-by: Rishi Mondal <[email protected]> Signed-off-by: Boris Glimcher <[email protected]>
- Loading branch information
Showing
5 changed files
with
18 additions
and
28 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,12 +1,12 @@ | ||
FROM python:3.11 | ||
ARG ANSIBLE_VERSION=stable-2.16 | ||
RUN pip install --no-cache-dir --disable-pip-version-check https://github.com/ansible/ansible/archive/${ANSIBLE_VERSION}.tar.gz | ||
COPY ./requirements.txt /tmp/requirements.txt | ||
RUN pip install --no-cache-dir --disable-pip-version-check --requirement /tmp/requirements.txt | ||
COPY ./requirements.txt ./requirements-dev.txt /tmp/ | ||
RUN pip install --no-cache-dir --disable-pip-version-check --requirement /tmp/requirements.txt --requirement /tmp/requirements-dev.txt | ||
COPY ./requirements.yml /tmp/requirements.yml | ||
RUN ansible-galaxy collection install --ignore-certs --requirements-file /tmp/requirements.yml | ||
COPY . /opt/ | ||
RUN ansible-galaxy collection install -vvv /opt | ||
WORKDIR /opt/roles | ||
ENTRYPOINT ["/usr/local/bin/ansible"] | ||
CMD ["--version"] | ||
CMD ["--version"] |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
antsibull-changelog>=0.25.0 | ||
antsibull-docs>=2.7.0 | ||
ansible-lint>=6.22.2 |
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,4 +1 @@ | ||
python-dateutil>=2.8.2 | ||
antsibull-changelog>=0.25.0 | ||
antsibull-docs>=2.7.0 | ||
ansible-lint>=6.22.2 | ||
python-dateutil>=2.8.2 |