Delete triage-party (#7602)

This commit is contained in:
jonathanmetzman 2022-04-21 14:37:55 -04:00 committed by GitHub
parent c9d66436e1
commit e455f4ff84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 227 deletions

View File

@ -1,13 +0,0 @@
# triage-party
This folder contains the triage party config and deploy script for the oss-fuzz instance of [triage-party](https://github.com/google/triage-party).
To make changes to triage party, you'll need to:
1. Make changes to the [config](oss-fuzz.yaml)
1. Deploy a new revision to Cloud Run via [deploy.sh](deploy.sh):
```
GITHUB_TOKEN_PATH=[path to file containing github token] DB_PASS=[CloudSQL database password] ./deploy.sh
```
Visit https://triage-party-pahypmb2lq-uc.a.run.app to join the party!

View File

@ -1,42 +0,0 @@
# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
set -eux
export PROJECT=oss-fuzz
export IMAGE=gcr.io/oss-fuzz-base/triage-party
export SERVICE_NAME=triage-party
export CONFIG_FILE=config/examples/oss-fuzz.yaml
# Copy triage-party into tmp dir, and copy config into correct spot
readonly clean_repo=$(mktemp -d)
git clone --depth 1 https://github.com/google/triage-party.git "${clean_repo}"
cp ./oss-fuzz.yaml "${clean_repo}"/${CONFIG_FILE}
cd "${clean_repo}"
docker build -t "${IMAGE}" --build-arg "CFG=./${CONFIG_FILE}" .
docker push "${IMAGE}" || exit 2
readonly token="$(cat "${GITHUB_TOKEN_PATH}")"
gcloud beta run deploy "${SERVICE_NAME}" \
--project "${PROJECT}" \
--image "${IMAGE}" \
--set-env-vars="GITHUB_TOKEN=${token},PERSIST_BACKEND=cloudsql,PERSIST_PATH=tp:${DB_PASS}@tcp(oss-fuzz/us-central1/triage-party)/tp" \
--allow-unauthenticated \
--region us-central1 \
--memory 384Mi \
--platform managed

View File

@ -1,172 +0,0 @@
settings:
name: oss-fuzz
repos:
- https://github.com/google/oss-fuzz
collections:
- id: Fuzzing Issues
name: Fuzzing Issues
dedup: true
description: >
Status of issues across oss-fuzz repos
rules:
# People who need a response
- fuzz-issue-updated-support
# fuzzing issues
- fuzz-bugs
- fuzz-priority
# Issues needing reprioritization
- fuzz-many-reactions
- fuzz-many-commenters
- fuzz-issue-zombies
# People with questions
- fuzz-issue-has-question
- id: PRs - fuzzing
name: OSS Fuzz PRs
description: >
Status of PRs in OSS-Fuzz
rules:
- prs-fuzz
- fuzz-pr-approved-stale
- fuzz-pr-unapproved-stale
rules:
### Pull requests
prs-fuzz:
name: "OSS Fuzz PRs"
type: pull_request
resolution: "Review requests or mark them as do-not-merge/work-in-progress"
filters:
- title: "!.*(WIP|wip).*"
- tag: "!(changes-requested|draft|approved)"
repos:
- https://github.com/google/oss-fuzz
# PR's needing closure
fuzz-pr-approved-stale:
name: "Pull requests: Approved and getting old"
resolution: "Merge PR"
type: pull_request
filters:
- label: "approved"
- updated: +2d
- responded: +1d
repos:
- https://github.com/google/oss-fuzz
fuzz-pr-unapproved-stale:
name: "Pull Requests: Stale"
resolution: "Add comment and/or close PR"
type: pull_request
filters:
- created: +3d
- updated: +2d
- responded: +1d
- tag: "!draft"
repos:
- https://github.com/google/oss-fuzz
pr-approved-stale:
name: "Pull requests: Approved and getting old"
resolution: "Merge PR"
type: pull_request
filters:
- label: "approved"
- updated: +5d
- responded: +2d
pr-unapproved-stale:
name: "Pull Requests: Stale"
type: pull_request
resolution: "Add comment and/or close PR"
filters:
- created: +20d
- updated: +5d
- responded: +2d
### Fuzzing Issues
fuzz-bugs:
name: "Fuzzing bugs that have not been commented on for 6 months"
resolution: "comment a status update"
type: issue
filters:
- label: "bug"
- responded: +180d
- tag: "!member-last"
repos:
- https://github.com/google/oss-fuzz
fuzz-priority:
name: "Fuzzing priority issues that have not been commented on for 6 months"
resolution: "comment a status update"
type: issue
filters:
- label: "priority"
- responded: +180d
- tag: "!member-last"
repos:
- https://github.com/google/oss-fuzz
fuzz-many-reactions:
name: "many reactions, low priority"
resolution: "Upgrade to priority"
filters:
- reactions: ">3"
- reactions-per-month: ">0.75"
- label: "!priority"
repos:
- https://github.com/google/oss-fuzz
fuzz-many-commenters:
name: "many commenters, low priority"
resolution: "Upgrade to priority"
filters:
- commenters: ">2"
- commenters-per-month: ">1.9"
- created: "+30d"
- label: "!priority"
repos:
- https://github.com/google/oss-fuzz
fuzz-issue-zombies:
name: "Screaming into the void"
resolution: "Reopen, or ask folks to open a new issue"
type: issue
filters:
- state: closed
- updated: -7d
- tag: recv
- comments-while-closed: ">1"
repos:
- https://github.com/google/oss-fuzz
# People with questions
fuzz-issue-has-question:
name: "Overdue answers for a question"
resolution: "Add a comment"
type: issue
filters:
- tag: recv-q
- tag: "!member-last"
- tag: "!contributor-last"
- responded: +6d
repos:
- https://github.com/google/oss-fuzz
fuzz-issue-updated-support:
name: "Open support requests"
resolution: "Add a comment"
type: issue
filters:
- tag: recv
- tag: "!member-last"
- tag: "!contributor-last"
- responded: +6d
repos:
- https://github.com/google/oss-fuzz