Skip to content
Merged
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
66 changes: 33 additions & 33 deletions .taskcluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ tasks:
command:
- "/bin/bash"
- "-cx"
- "git clone --quiet ${repository} &&
cd bugbug &&
- "git clone --quiet ${repository} ai-dev &&
Comment thread
suhaibmujahid marked this conversation as resolved.
Resolved
cd ai-dev &&
git -c advice.detachedHead=false checkout ${head_rev} &&
uv sync --locked --package bugbug --only-group test &&
uv run pre-commit run -a --show-diff-on-failure"
Expand All @@ -89,8 +89,8 @@ tasks:
command:
- "/bin/bash"
- "-cx"
- "git clone --quiet ${repository} &&
cd bugbug &&
- "git clone --quiet ${repository} ai-dev &&
cd ai-dev &&
git -c advice.detachedHead=false checkout ${head_rev} &&
python infra/version_check.py"
metadata:
Expand All @@ -109,9 +109,9 @@ tasks:
- "-cx"
- "apt-get -qq update &&
apt-get -qq install -y libhdf5-dev zstd &&
git clone --quiet ${repository} &&
git clone --quiet ${repository} ai-dev &&
curl -L https://github.com/mozilla/rust-code-analysis/releases/download/v0.0.23/rust-code-analysis-linux-web-x86_64.tar.gz | tar -C /usr/bin -xzv &&
cd bugbug &&
cd ai-dev &&
git -c advice.detachedHead=false checkout ${head_rev} &&
cp infra/hgrc /etc/mercurial/hgrc.d/bugbug.rc &&
uv sync --locked --package bugbug --group test --extra nlp --group spawn-pipeline &&
Expand All @@ -134,9 +134,9 @@ tasks:
- "-cx"
- "apt-get -qq update &&
apt-get -qq install -y zstd &&
git clone --quiet ${repository} &&
git clone --quiet ${repository} ai-dev &&
curl -L https://github.com/mozilla/rust-code-analysis/releases/download/v0.0.23/rust-code-analysis-linux-web-x86_64.tar.gz | tar -C /usr/bin -xzv &&
cd bugbug &&
cd ai-dev &&
git -c advice.detachedHead=false checkout ${head_rev} &&
cp infra/hgrc /etc/mercurial/hgrc.d/bugbug.rc &&
uv sync --locked --package bugbug --package bugbug-http-service --group test &&
Expand All @@ -157,8 +157,8 @@ tasks:
command:
- "/bin/bash"
- "-cx"
- "git clone --quiet ${repository} &&
cd bugbug &&
- "git clone --quiet ${repository} ai-dev &&
cd ai-dev &&
git -c advice.detachedHead=false checkout ${head_rev} &&
export COVERAGE_FILE=$(pwd)/.coverage &&
cd libs/agent-tools &&
Expand Down Expand Up @@ -191,8 +191,8 @@ tasks:
command:
- "/bin/bash"
- "-cx"
- "git clone --quiet ${repository} &&
cd bugbug &&
- "git clone --quiet ${repository} ai-dev &&
cd ai-dev &&
git -c advice.detachedHead=false checkout ${head_rev} &&
export COVERAGE_FILE=$(pwd)/.coverage &&
cd services/hackbot-api &&
Expand All @@ -217,8 +217,8 @@ tasks:
command:
- "/bin/bash"
- "-cx"
- "git clone --quiet ${repository} &&
cd bugbug &&
- "git clone --quiet ${repository} ai-dev &&
cd ai-dev &&
git -c advice.detachedHead=false checkout ${head_rev} &&
export COVERAGE_FILE=$(pwd)/.coverage &&
cd agents/bug-fix &&
Expand Down Expand Up @@ -254,8 +254,8 @@ tasks:
- "-cx"
- "apt-get -qq update &&
apt-get -qq install -y libhdf5-dev &&
git clone --quiet ${repository} &&
cd bugbug &&
git clone --quiet ${repository} ai-dev &&
cd ai-dev &&
git -c advice.detachedHead=false checkout ${head_rev} &&
uv build &&
uv venv /tmp/test-venv &&
Expand Down Expand Up @@ -336,16 +336,16 @@ tasks:
command:
- "/bin/sh"
- "-cxe"
- "git clone --quiet ${repository} /bugbug &&
cd /bugbug &&
- "git clone --quiet ${repository} /ai-dev &&
cd /ai-dev &&
git -c advice.detachedHead=false checkout ${head_rev} &&
cd ui/changes &&
npm install --no-progress &&
npm run release"
artifacts:
public/frontend:
expires: { $fromNow: "2 weeks" }
path: /bugbug/ui/changes/dist
path: /ai-dev/ui/changes/dist
type: directory
metadata:
name: bugbug ui build
Expand All @@ -359,8 +359,8 @@ tasks:
command:
- "/bin/sh"
- "-cxe"
- "git clone --quiet ${repository} /bugbug &&
cd /bugbug &&
- "git clone --quiet ${repository} /ai-dev &&
cd /ai-dev &&
git -c advice.detachedHead=false checkout ${head_rev} &&
cd services/hackbot-ui &&
npm ci --no-progress &&
Expand Down Expand Up @@ -424,8 +424,8 @@ tasks:
command:
- "/bin/bash"
- "-cx"
- "git clone --quiet ${repository} /tmp/bugbug &&
cd /tmp/bugbug &&
- "git clone --quiet ${repository} /tmp/ai-dev &&
cd /tmp/ai-dev &&
git -c advice.detachedHead=false checkout ${head_rev} &&
/usr/local/bin/python3 -m pip install --quiet --disable-pip-version-check --target /tmp/pydeps pytest==9.1.0 pytest-asyncio==1.4.0 &&
cd agents/bug-fix &&
Expand Down Expand Up @@ -456,8 +456,8 @@ tasks:
command:
- "/bin/bash"
- "-cx"
- "git clone --quiet ${repository} /tmp/bugbug &&
cd /tmp/bugbug &&
- "git clone --quiet ${repository} /tmp/ai-dev &&
cd /tmp/ai-dev &&
git -c advice.detachedHead=false checkout ${head_rev} &&
/usr/local/bin/python3 -m pip install --quiet --disable-pip-version-check --target /tmp/pydeps pytest==9.1.0 pytest-asyncio==1.4.0 &&
cd agents/bug-fix &&
Expand Down Expand Up @@ -493,8 +493,8 @@ tasks:
command:
- "/bin/bash"
- "-cx"
- "git clone --quiet ${repository} /tmp/bugbug &&
cd /tmp/bugbug &&
- "git clone --quiet ${repository} /tmp/ai-dev &&
cd /tmp/ai-dev &&
git -c advice.detachedHead=false checkout ${head_rev} &&
/usr/local/bin/python3 -m pip install --quiet --disable-pip-version-check --target /tmp/pydeps pytest==9.1.0 pytest-asyncio==1.4.0 &&
cd agents/bug-fix &&
Expand Down Expand Up @@ -529,8 +529,8 @@ tasks:
command:
- "/bin/bash"
- "-cx"
- "git clone --quiet ${repository} /tmp/bugbug &&
cd /tmp/bugbug &&
- "git clone --quiet ${repository} /tmp/ai-dev &&
cd /tmp/ai-dev &&
git -c advice.detachedHead=false checkout ${head_rev} &&
/usr/local/bin/python3 -m pip install --quiet --disable-pip-version-check --target /tmp/pydeps pytest==9.1.0 pytest-asyncio==1.4.0 &&
cd agents/bug-fix &&
Expand Down Expand Up @@ -636,8 +636,8 @@ tasks:
- "-cx"
- "apt-get -qq update &&
apt-get -qq install -y redis-server &&
git clone --quiet ${repository} &&
cd bugbug &&
git clone --quiet ${repository} ai-dev &&
cd ai-dev &&
git -c advice.detachedHead=false checkout ${head_rev} &&
python -c 'import os; print(os.environ.keys())' &&
bash ./scripts/integration_test.sh"
Expand Down Expand Up @@ -667,8 +667,8 @@ tasks:
command:
- "/bin/sh"
- "-cxe"
- "git clone --quiet ${repository} &&
cd bugbug &&
- "git clone --quiet ${repository} ai-dev &&
cd ai-dev &&
git -c advice.detachedHead=false checkout ${head_rev} &&
python infra/set_hook_version.py ${head_branch[10:]} infra/taskcluster-hook-data-pipeline.json &&
taskboot --target . build-hook infra/taskcluster-hook-data-pipeline.json project-bugbug bugbug"
Expand Down
16 changes: 8 additions & 8 deletions infra/data-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2003,8 +2003,8 @@ tasks:
- "-cx"
- "apt-get -qq update &&
apt-get -qq install -y redis-server &&
git clone --quiet ${repository} &&
cd bugbug &&
git clone --quiet ${repository} ai-dev &&
cd ai-dev &&
git -c advice.detachedHead=false checkout ${version} &&
python -c 'import os; print(os.environ.keys())' &&
bash ./scripts/integration_test.sh"
Expand Down Expand Up @@ -2035,8 +2035,8 @@ tasks:
command:
- "/bin/sh"
- "-cxe"
- "git clone --quiet ${repository} &&
cd bugbug &&
- "git clone --quiet ${repository} ai-dev &&
cd ai-dev &&
git -c advice.detachedHead=false checkout ${version} &&
python infra/set_hook_version.py ${version} infra/taskcluster-hook-check-models-start.json &&
taskboot --target . build-hook infra/taskcluster-hook-check-models-start.json project-bugbug bugbug-checks"
Expand Down Expand Up @@ -2066,8 +2066,8 @@ tasks:
command:
- "/bin/sh"
- "-cxe"
- "git clone --quiet ${repository} &&
cd bugbug &&
- "git clone --quiet ${repository} ai-dev &&
cd ai-dev &&
git -c advice.detachedHead=false checkout ${version} &&
python infra/set_hook_version.py ${version} infra/taskcluster-hook-classify-patch.json &&
taskboot --target . build-hook infra/taskcluster-hook-classify-patch.json project-bugbug bugbug-classify-patch"
Expand Down Expand Up @@ -2099,8 +2099,8 @@ tasks:
command:
- "/bin/sh"
- "-cxe"
- "git clone --quiet ${repository} &&
cd bugbug &&
- "git clone --quiet ${repository} ai-dev &&
cd ai-dev &&
git -c advice.detachedHead=false checkout ${version} &&
python infra/set_hook_version.py ${version} infra/taskcluster-hook-landings-risk-report.json &&
taskboot --target . build-hook infra/taskcluster-hook-landings-risk-report.json project-bugbug bugbug-landings-risk-report"
Expand Down
6 changes: 3 additions & 3 deletions infra/landings-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,15 @@ tasks:
command:
- "/bin/sh"
- "-cxe"
- "git clone --quiet ${repository} /bugbug &&
cd /bugbug &&
- "git clone --quiet ${repository} /ai-dev &&
cd /ai-dev &&
git -c advice.detachedHead=false checkout ${version} &&
cd ui/changes &&
npm install --no-progress &&
npm run release"
artifacts:
public/frontend:
path: /bugbug/ui/changes/dist
path: /ai-dev/ui/changes/dist
type: directory
routes:
- notify.email.bugbug-team@mozilla.com.on-failed
Expand Down