Bug 1794594: Remove codeql builds r=freddyb,firefox-build-system-reviewers,nalexander

Differential Revision: https://phabricator.services.mozilla.com/D159433
This commit is contained in:
Tom Ritter 2022-10-17 15:02:39 +00:00
parent 797281a881
commit 8de303c52d
7 changed files with 0 additions and 153 deletions

View file

@ -10,10 +10,6 @@ ifdef CROSS_COMPILE
SKIP = 1
endif
ifdef CODEQL_DIST
SKIP = 1
endif
ifneq ($(SKIP),1)
ifeq ($(OS_TARGET),WINNT)

View file

@ -383,65 +383,6 @@ linux64/debug:
- sysroot-x86_64-linux-gnu
- sysroot-wasm32-wasi
linux64/codeql-cpp:
description: Builds a C++ codeql database
index:
job-name: linux64-codeql-cpp
product: firefox
treeherder:
platform: codeql/all
symbol: linux64-cpp
tier: 2
kind: other
shipping-phase: ship
shipping-product: firefox
worker-type: b-linux-xlarge
worker:
env:
PERFHERDER_EXTRA_OPTIONS: cpp
max-run-time: 86400
artifacts:
- type: file
name: public/codeql/codeql-db-cpp.tar.xz
path: /builds/worker/codeql-db-cpp.tar.xz
run:
using: mozharness
actions: [build]
config:
- builds/releng_base_firefox.py
- builds/releng_base_linux_64_builds.py
script: "mozharness/scripts/fx_desktop_build.py"
job-script: taskcluster/scripts/misc/generate-codeql-db-cpp.sh
secrets: false
custom-build-variant-cfg: debug
mozconfig-variant: debug
tooltool-downloads: public
run-on-projects: []
fetches:
fetch:
- codeql-2.5.7
toolchain:
- linux64-binutils
- linux64-clang
- linux64-cbindgen
- linux64-dump_syms
- linux64-rust
- linux64-rust-size
- linux64-nasm
- linux64-node
- sysroot-x86_64-linux-gnu
- sysroot-wasm32-wasi
notifications:
subject: '{task[shipping-product]} {release_config[version]} build{release_config[build_number]}/{config[params][project]} linux64 codeql-cpp status'
message: '{task[shipping-product]} {release_config[version]} build{release_config[build_number]}/{config[params][project]} linux64 codeql-cpp status'
emails:
by-project:
mozilla-release: ["tom@mozilla.com", "freddy@mozilla.com"]
try: ["{config[params][owner]}"]
default: []
optimization: null
linux64-plain/debug:
description: "Linux64 Debug Plain"
index:

View file

@ -429,15 +429,6 @@ winchecksec:
repo: https://github.com/trailofbits/winchecksec/
revision: 93ffe67dbfc757bf6f440d80b8acf88e652ed60a
codeql-2.5.7:
description: CodeQL query tools
fetch:
type: static-url
url: https://github.com/github/codeql-cli-binaries/releases/download/v2.5.7/codeql-linux64.zip
sha256: b60a5f2929ac69ffdca85b666c50eadde60ad3387bf6953a7bfcd80b59ee4cff
size: 261487494
artifact-name: codeql.zip
sonatype-nexus:
description: Sonatype Nexus Maven repository service
fetch:

View file

@ -1,44 +0,0 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
---
javascript:
description: Builds a JavaScript codeql database
platform: codeql/all
treeherder:
kind: other
symbol: linux64-js
tier: 2
worker-type: b-linux-xlarge
worker:
docker-image: {in-tree: debian11-amd64-build}
max-run-time: 86400
artifacts:
- type: file
name: public/codeql/codeql-db-javascript.tar.xz
path: /builds/worker/codeql-db-javascript.tar.xz
run:
using: run-task
cwd: '{checkout}'
command: >-
taskcluster/scripts/misc/generate-codeql-db-javascript.sh
run-on-projects: []
shipping-phase: ship
shipping-product: firefox
fetches:
fetch:
- codeql-2.5.7
toolchain:
- linux64-node
notifications:
subject: '{task[shipping-product]} {release_config[version]} build{release_config[build_number]}/{config[params][project]} linux64 codeql-javascript status'
message: '{task[shipping-product]} {release_config[version]} build{release_config[build_number]}/{config[params][project]} linux64 codeql-javascript status'
status-types:
- on-completed
- on-failed
- on-exception
emails:
by-project:
mozilla-release: ["tom@mozilla.com", "freddy@mozilla.com"]
try: ["{config[params][owner]}"]
default: []

View file

@ -18,7 +18,6 @@ kind-dependencies:
jobs-from:
- clang.yml
- codeql.yml
- cram.yml
- doc.yml
- file-metadata.yml

View file

@ -1,19 +0,0 @@
#! /bin/bash -vex
set -x -e
####
# Wrapper for building the CodeQL database with the build-linux script
####
cd /builds/worker
$MOZ_FETCHES_DIR/codeql/codeql database create \
--language=cpp \
-J=-Xmx32768M \
--command="${GECKO_PATH}/taskcluster/scripts/builder/build-linux.sh" \
codeql-database
# TODO Switch this to zst per 1637381 when this is used for static analysis jobs
tar cf codeql-db-cpp.tar codeql-database
xz codeql-db-cpp.tar

View file

@ -1,17 +0,0 @@
#! /bin/bash -vex
set -x -e
export PATH=$MOZ_FETCHES_DIR/node/bin:$PATH
cd /builds/worker
$MOZ_FETCHES_DIR/codeql/codeql database create \
--language=javascript \
-J=-Xmx32768M \
--source-root=$GECKO_PATH \
codeql-database
# TODO Switch this to zst per 1637381 when this is used for static analysis jobs
tar cf codeql-db-javascript.tar codeql-database
xz codeql-db-javascript.tar