-
-
Notifications
You must be signed in to change notification settings - Fork 54
Capec scripts #2054
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Capec scripts #2054
Changes from all commits
1805397
39fcbb2
ca273ec
9793bbf
bf077c3
2e4d7e1
7409bb2
509c618
f5e6b74
2aa8400
062b036
69e3d65
6fa8fa4
46c04b6
e814e1f
d768c12
60f003a
286fcbb
712c252
ebd678b
94adcac
0b9c86a
5a2d087
6952670
58a2825
3e1085f
6ca87b6
c9a901e
dd74ecd
020188f
f5ada75
ce8af4d
ad0fd36
4817ee1
bf645e6
9cf2794
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,20 @@ | ||
| FROM gcr.io/oss-fuzz-base/base-builder-python:v1@sha256:c0021e88f13312e7706c49e6348fe442b641ff46d032d9846131a60b68dea50d | ||
| RUN apt-get update && apt-get install -y make autoconf automake libtool curl gcc libc-dev software-properties-common | ||
| RUN add-apt-repository ppa:deadsnakes/ppa -y | ||
| FROM gcr.io/oss-fuzz-base/base-builder-python:ubuntu-24-04@sha256:79f6e0ac4506a75757099bfea8cfd52d1bb0e2f92ca21c64755151b655ce23e1 | ||
| RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
| autoconf \ | ||
| automake \ | ||
| curl \ | ||
| gcc \ | ||
| libc-dev \ | ||
| libtool \ | ||
| make \ | ||
| libxml2-dev \ | ||
| libxslt-dev \ | ||
| python3-dev \ | ||
| python3-venv \ | ||
| && apt-get clean && rm -rf /var/lib/apt/lists/* | ||
| # Atheris only supports python 3.11 https://github.com/google/atheris/blob/master/README.md#installation-instructions | ||
| RUN apt upgrade -y && apt-get install -y python3.10 python3.10-dev python3.10-distutils libxml2-dev libxslt-dev | ||
| RUN apt-get install -y python3-pip | ||
| RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python3.10 | ||
| RUN python3.10 -m pip install --upgrade wheel setuptools setuptools_scm PyInstaller==6.13.0 | ||
| RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python3 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| RUN python3 -m pip install --upgrade wheel setuptools setuptools_scm PyInstaller==6.18.0 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| COPY . $SRC/cornucopia | ||
| WORKDIR $SRC/cornucopia | ||
| COPY .clusterfuzzlite/build.sh $SRC/ | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,24 @@ | ||
| * text=auto | ||
| output/*.docx filter=lfs diff=lfs merge=lfs -text | ||
| output/*.idml filter=lfs diff=lfs merge=lfs -text | ||
| resources/fonts/Atkinson-Hyperlegible-Font-Print-and-Web-2020-0514.zip filter=lfs diff=lfs merge=lfs -text | ||
| resources/fonts/fivo_sans.zip filter=lfs diff=lfs merge=lfs -text | ||
| *.py text eol=lf | ||
| *.ts text eol=lf | ||
| *.json text eol=lf | ||
| *.yaml text eol=lf | ||
| *.lock text eol=lf | ||
| *.txt text eol=lf | ||
| *.md text eol=lf | ||
| *.sh text eol=lf | ||
| *.ini text eol=lf | ||
| *.json text eol=lf | ||
| *.config text eol=lf | ||
| *.eex text eol=lf | ||
| *.ex text eol=lf | ||
| *.exs text eol=lf | ||
| *.css text eol=lf | ||
| *.scss text eol=lf | ||
| *.toml text eol=lf | ||
| *.gitignore text eol=lf | ||
| Dockerfile text eol=lf |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,6 +13,15 @@ jobs: | |
| hardening: | ||
| name: Harden runner | ||
| uses: ./.github/workflows/hardening.yaml | ||
| call-run-tests: | ||
| call-run-converter-tests: | ||
| name: Build and run Converter Tests | ||
| needs: hardening | ||
| uses: ./.github/workflows/run-tests.yaml | ||
| uses: ./.github/workflows/run-tests.yaml | ||
| call-run-website-tests: | ||
| name: Build and run Website Tests | ||
| needs: hardening | ||
| uses: ./.github/workflows/build-website.yaml | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| call-run-build-copi-tests: | ||
| name: Build and run COPI Tests | ||
| needs: hardening | ||
| uses: ./.github/workflows/copi-build.yaml | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| FROM python:alpine3.20@sha256:40a4559d3d6b2117b1fbe426f17d55b9100fa40609733a1d0c3f39e2151d4b33 AS pipenv | ||
| FROM python:3.12.12-alpine3.22@sha256:d82291d418d5c47f267708393e40599ae836f2260b0519dd38670e9d281657f5 AS pipenv | ||
| RUN apk add --no-cache shadow | ||
| # UID of current user who runs the build | ||
| ARG user_id | ||
|
|
@@ -26,6 +26,7 @@ RUN apk add --no-cache \ | |
| make | ||
| COPY --chown=builder:union requirements.txt ./ | ||
| RUN pip install -r requirements.txt --require-hashes | ||
| RUN pip install pipenv | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Found 3 issues: |
||
| USER builder | ||
| # Install Python dependencies so they are cached | ||
| ARG workdir | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sort these package names alphanumerically. [radarlint-iac:docker:S7018]