Skip to content
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

add thoth security analysis #722

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,10 @@ repos:
hooks:
- id: requre-purge
stages: [manual, push]
# run this with `pre-commit run thoth-pre-commit-hook --verbose --hook-stage manual`
- repo: https://github.com/thoth-station/thoth-pre-commit-hook
rev: v0.1.3
hooks:
- id: thoth-pre-commit-hook
# args: [--json, --no-wait]
stages: [manual]
77 changes: 77 additions & 0 deletions .thoth.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# This is Thoth's configuration file placed in a root of a repo
# (named as .thoth.yaml) used by Thamos CLI as well as by Thoth bots. Please
# adjust values listed below as desired.

# A remote Thoth service to talk to:
host: khemenu.thoth-station.ninja

# Configure TLS verification for communication with remote Thoth instance:
tls_verify: true

# Format of requirements file, supported are "pip" and "pipenv":
requirements_format: pip
# A path to overlays directory relative to this configuration file. If null provided, no overlays are used.
# Read more about overlays in the README: https://github.com/thoth-station/thamos#overlays-directory
overlays_dir: null
# Allow or disable managing virtual environment for each overlay.
virtualenv: false

runtime_environments:
- name: "fedora-37"
# Operating system for which the recommendations should be created:
operating_system:
name: fedora
version: "37"
# Labels to be used during the resolution (key-value pairs).
labels:
# Hardware information for the recommendation engine:
hardware:
# Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz
cpu_family: 6
cpu_model: 142
gpu_model: null
# Software configuration of runtime environment:
python_version: "3.11"
cuda_version: null
# Recommendation type - one of:
# * testing
# * stable
# * latest
# * performance
# * security
# See https://thoth-station.ninja/recommendation-types/
recommendation_type: security
# Platform used for running the application - corresponds to sysconfig.get_platform() call (e.g. 'linux-x86_64')
platform: linux-x86_64
# Additional options:
openblas_version: null
openmpi_version: null
cudnn_version: null
mkl_version: null
# Base container image used to run the application.
base_image: null

#
# Configuration of bots:
#
managers:
- name: pipfile-requirements
- name: info
- name: version
configuration:
# A list of maintainers (GitHub or GitLab accounts) of this repository:
maintainers: []
# A list of assignees to which the opened pull requests and issues should
# be assigned to:
assignees: []
# Labels for issues and pull requests:
labels:
- bot
# Automatically maintain a changelog file stating features of new
# releases:
changelog_file: true
# Use AI/ML to group messages in a smart way.
changelog_smart: true
- name: update
configuration:
labels: [bot]