File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
containers/understack-tests Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -126,6 +126,7 @@ jobs:
126
126
- name : ironic-nautobot-client
127
127
- name : nova-flavors
128
128
- name : ansible
129
+ - name : understack-tests
129
130
130
131
steps :
131
132
- name : setup docker buildx
@@ -186,6 +187,7 @@ jobs:
186
187
- ironic-nautobot-client
187
188
- nova-flavors
188
189
- ansible
190
+ - understack-tests
189
191
190
192
steps :
191
193
- name : clean up PR container
Original file line number Diff line number Diff line change 1
- FROM python:3.12-slim
1
+ FROM python:3.12-slim AS builder
2
2
ENV UV_PYTHON_DOWNLOADS=never
3
3
ENV UV_COMPILE_BYTECODE=1
4
4
ENV PATH="/code/.venv/bin:/code/.bin:$PATH"
5
5
6
6
WORKDIR /code
7
-
8
7
COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv
9
-
10
8
COPY python/understack-tests/uv.lock python/understack-tests/pyproject.toml /code/
11
9
RUN --mount=type=cache,target=/root/.cache/uv uv sync --verbose --locked --no-dev
12
10
COPY python/understack-tests /code
13
11
12
+
13
+ FROM builder AS prod
14
+ WORKDIR /code
15
+ COPY --from=builder /code /code
14
16
RUN useradd --create-home app
15
17
COPY --chown=app:app containers/understack-tests/rally.conf /home/app/.rally/rally.conf
16
18
USER app
You can’t perform that action at this time.
0 commit comments