Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
73278a7
Move from alpine to debian image
ddelpiano Jan 25, 2024
f446bd9
CH-95: remove alpine base, migration script that perform migration of…
ddelpiano Feb 10, 2024
4c03f53
Merge branch 'develop' of https://github.com/metacell/cloud-harness i…
ddelpiano Feb 10, 2024
4963712
changes as per PR review
ddelpiano Feb 13, 2024
35ec13a
adding script to setup.py
ddelpiano Feb 13, 2024
fcb9a05
required files for unit test
ddelpiano Feb 16, 2024
963384e
ignoring files for unit test to avoid to commit changes on these
ddelpiano Feb 16, 2024
002d379
fixing pr
ddelpiano Feb 16, 2024
d7a7f52
sarif v2 is deprecated
ddelpiano Feb 16, 2024
df87193
fixing sarif check
ddelpiano Feb 23, 2024
52d927c
fixing sarif check 2
ddelpiano Feb 23, 2024
ee064c9
changes per PR review
ddelpiano Jul 28, 2024
d3782ff
Merge branch 'develop' into feature/CH-95
filippomc Jul 30, 2024
4c8f137
Merge branch 'develop' of https://github.com/metacell/cloud-harness i…
ddelpiano Sep 24, 2024
5752e3f
Merge branch 'feature/CH-95' of https://github.com/metacell/cloud-har…
ddelpiano Sep 24, 2024
b2abdfa
CH-95: review changes
ddelpiano Sep 26, 2024
1173465
CH-95: fixing linter issues
ddelpiano Sep 26, 2024
4c69e0b
Merge branch 'develop' into feature/CH-95
Feb 20, 2025
1f74399
Merge branch 'develop' into feature/CH-95
filippomc Jun 5, 2025
ef30b69
Regenerate test pipeline
filippomc Jun 5, 2025
f23dd65
CH-95 fix unit tests
filippomc Jun 5, 2025
213b94a
(chore) fix linting
filippomc Jun 5, 2025
920896a
CH-95 fix unit tests
filippomc Jun 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/trivy-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,14 @@ jobs:
DOCKER_BUILDKIT=1 docker build -t cloudharness-base:${{ github.sha }} . -f ./infrastructure/base-images/cloudharness-base/Dockerfile

- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@2a2157eb22c08c9a1fac99263430307b8d1bc7a2
uses: aquasecurity/trivy-action@master
with:
image-ref: 'cloudharness-base:${{ github.sha }}'
format: 'template'
template: '@/contrib/sarif.tpl'
format: 'sarif'
output: 'trivy-results.sarif'
severity: 'CRITICAL,HIGH'

- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v1
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: 'trivy-results.sarif'
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,7 @@ skaffold.yaml
.hypothesis
__pycache__
.env
tools/deployment-cli-tools/tests/resources/migration
tools/deployment-cli-tools/tests/resources/migration.bak
/.venv
.history
.history
5 changes: 2 additions & 3 deletions applications/common/server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ ENV MODULE_NAME=common

ENV WORKERS=2
ENV PORT=8080
RUN apk update
RUN apk add postgresql-dev
RUN apt update && apt install -y postgresql

COPY ./requirements.txt /usr/src/app/

Expand All @@ -18,4 +17,4 @@ COPY . /usr/src/app
ENV FLASK_ENV=production
ENV APP_SETTINGS=common.config.ProductionConfig
RUN pip3 install -e /usr/src/app
ENTRYPOINT gunicorn --workers=$WORKERS --bind=0.0.0.0:$PORT $MODULE_NAME.__main__:app
ENTRYPOINT gunicorn --workers=$WORKERS --bind=0.0.0.0:$PORT $MODULE_NAME.__main__:app
6 changes: 3 additions & 3 deletions applications/workflows/tasks/extract-download/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM alpine
RUN apk update
RUN apk add file unzip wget
ARG CLOUDHARNESS_BASE
FROM $CLOUDHARNESS_BASE as base
RUN apt update && apt install -y file unzip wget

ADD . /

Expand Down
Loading
Loading