Skip to content

Commit 576b4d5

Browse files
committed
[DOP-25348] Generate SBOM during release
1 parent 47eb0c2 commit 576b4d5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
- name: Generate SBOM
7070
run: |
7171
pip install cyclonedx-bom
72-
cyclonedx-py poetry --extras server,scheduler,worker --without dev,test,docs > sbom.spdx.json
72+
cyclonedx-py poetry --extras server,scheduler,worker --without dev,test,docs > sbom.cyclonedx.json
7373
7474
- name: Get changelog
7575
run: |
@@ -129,4 +129,4 @@ jobs:
129129
dist/*.tar.gz
130130
dist/*.whl
131131
docs/_static/openapi.json
132-
sbom.spdx.json
132+
sbom.cyclonedx.json

docker/Dockerfile.server

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ COPY ./docker/entrypoint_server.sh /app/entrypoint.sh
3232
RUN chmod +x /app/entrypoint.sh \
3333
&& chmod +r -R /app/syncmaster/server/static
3434
ENTRYPOINT ["/app/entrypoint.sh"]
35+
EXPOSE 8000
3536
HEALTHCHECK --interval=30s --timeout=5s --start-period=5s --retries=3 CMD ["curl", "-f", "http://localhost:8000/monitoring/ping"]
3637

3738

0 commit comments

Comments
 (0)