Skip to content

Commit

Permalink
Merge branch 'main' into 1031-support-distribution-of-xarray
Browse files Browse the repository at this point in the history
  • Loading branch information
mrfh92 authored Nov 21, 2023
2 parents 9a6427e + 1263887 commit 83832bd
Show file tree
Hide file tree
Showing 50 changed files with 2,373 additions and 546 deletions.
30 changes: 15 additions & 15 deletions .github/ISSUE_TEMPLATE/vulnerability.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Vulnerability Report"
name: "\U0001F6A8 Vulnerability Report"
description: Report a security vulnerability in our project.
title: "[VULNERABILITY]: "
labels: ["security, High Priority"]
Expand All @@ -14,50 +14,50 @@ body:
attributes:
label: Affected Version(s)
description: List the affected versions of the library.
validations:
required: true
validations:
required: true
- type: textarea
id: severity
attributes:
label: Severity
description: Specify the severity of the vulnerability (e.g., Low/Medium/High/Critical).
validations:
required: true
validations:
required: true
- type: textarea
id: description
attributes:
label: Description
description: Provide a clear and concise description of the security vulnerability.
validations:
required: true
validations:
required: true
- type: textarea
id: steps-to-reproduce
attributes:
label: Steps to Reproduce
description: Outline the steps to reproduce the vulnerability, including any relevant code snippets or configuration settings.
validations:
required: true
validations:
required: true
- type: textarea
id: expected-behavior
attributes:
label: Expected Behavior
description: Explain what you expected to happen when following the steps above.
validations:
required: true
validations:
required: true
- type: textarea
id: actual-behavior
attributes:
label: Actual Behavior
description: Describe what actually happened when you followed the steps above, highlighting the security issue.
validations:
required: true
validations:
required: true
- type: textarea
id: impact
attributes:
label: Impact
description: Discuss the potential impact of this vulnerability, including any possible consequences or risks associated with its exploitation.
validations:
required: true
validations:
required: true
- type: textarea
id: proof-of-concept
attributes:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/bench_trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
-F "variables[PR]=${{ github.event.pull_request.number }}" \
-F "variables[AUTHOR]=${{ github.event.pull_request.assignee.login }}" \
https://codebase.helmholtz.cloud/api/v4/projects/7930/trigger/pipeline
echo sha
- name: Trigger benchmarks (Push main)
id: setup_push
if: ${{ github.event_name == 'push' }}
Expand All @@ -40,9 +39,11 @@ jobs:
-F "ref=main" \
-F "variables[SHA]=$GITHUB_SHA" \
-F "variables[SHORT_SHA]=${SHORT_SHA}" \
-F "variables[BRANCH]=main" \
-F "variables[AUTHOR]=${{ github.event.head_commit.committer.username }}" \
https://codebase.helmholtz.cloud/api/v4/projects/7930/trigger/pipeline
- name: Create status
if: ${{ steps.setup_pr.outcome == 'success' || steps.setup_push.outcome == 'success'}}
run: |
curl -L -X POST \
-H "Accept: application/vnd.github+json" \
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ on:
heat_version:
description: 'Heat version'
required: true
default: '1.2.2'
default: 'latest'
type: string
pytorch_img:
description: 'Base PyTorch Img'
required: true
default: '23.03-py3'
default: '23.05-py3'
type: string
name:
description: 'Output Image name'
required: true
default: 'heat:1.2.2_torch1.13_cu12.1'
default: 'heat:1.3.0_torch2.0.0_cu12.1'
type: string
jobs:
build-and-push-img:
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
name: Build
uses: docker/build-push-action@v4
with:
context: docker/
file: docker/Dockerfile.release
build-args: |
HEAT_VERSION=${{ inputs.heat_version }}
PYTORCH_IMG=${{ inputs.pytorch_img}}
Expand All @@ -59,7 +59,7 @@ jobs:
name: Build and push
uses: docker/build-push-action@v4
with:
context: docker/
file: docker/Dockerfile.release
build-args: |
HEAT_VERSION=${{ inputs.heat_version }}
PYTORCH_IMG=${{ inputs.pytorch_img}}
Expand Down
12 changes: 8 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,21 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.0.0
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- id: flake8
- repo: https://github.com/psf/black
rev: 23.9.1
- id: check-toml
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.10.1
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: 6.1.0
hooks:
- id: flake8
- repo: https://github.com/pycqa/pydocstyle
rev: 6.3.0 # pick a git hash / tag to point to
hooks:
Expand Down
Loading

0 comments on commit 83832bd

Please sign in to comment.