Граф коммитов

20 Коммитов

Автор SHA1 Сообщение Дата
Jacob Ronstadt 555447e80f
Update build-codeql.yaml setup-python to use node20
Signed-off-by: Jacob Ronstadt <147542405+jacob-ronstadt@users.noreply.github.com>
2024-03-07 12:06:36 -08:00
Jacob Ronstadt 07fa8f4d94
Update build-codeql.yaml to use node20
Signed-off-by: Jacob Ronstadt <147542405+jacob-ronstadt@users.noreply.github.com>
2024-03-07 10:53:08 -08:00
Jacob Ronstadt a87eb74275
Update github action to verify qlpack version and auto-publish package (#128)
* update github action

* remove jobs from action for faster testing

* github action job updates

* github action job updates

* github action job updates

* test change of qls file without changing qlpack version

* bug fix

* test change of qls file without changing qlpack version

* test empty commit after fail of qlpack version test

* test update of qlpack version

* test update of qlpack and qls

* test gh action

* fix action file

* fix action file

* update github action

* test change of qls file without changing qlpack version

* test github action

* test github action

* test github action

* test github action

* test github action

* test github action

* update qls

* test

* test github action

* test github action

* test github action

* test github action

* test github action

* update qlpack. should pass test

* update qlpack but not version. should fail test

* update qls and update qlpack but not version. should fail test

* update qlpack version but decrement version. should fail test

* update qlpack version and add publish job to workflow file

* back to just one job

* bug fix

* bug fix

* bug fix

* bug fix

* bug fix

* add publish

* fix publish

* bug fix

* bug fix

* add token

* uncomment and change back version

* comment for testing

* increment version

* add permissions to workflow file

* uncomment and change back version

* Update build-codeql.yaml to remove extra trigger branch 

Signed-off-by: Jacob Ronstadt <147542405+jacob-ronstadt@users.noreply.github.com>

* Update windows_mustfix_partial.qls back to original

Signed-off-by: Jacob Ronstadt <147542405+jacob-ronstadt@users.noreply.github.com>

* Update windows_recommended_partial.qls back to original

Signed-off-by: Jacob Ronstadt <147542405+jacob-ronstadt@users.noreply.github.com>

---------

Signed-off-by: Jacob Ronstadt <147542405+jacob-ronstadt@users.noreply.github.com>
2024-03-01 14:43:37 -08:00
NateD-MSFT 4c9cce5e3c Merge branch 'main' into development 2024-02-15 20:19:01 -08:00
Jacob Ronstadt fd81dd5015
Test script updates (#113)
* improve argument parsing and usage

* update gitignore

* update health tracker

* add azure upload/download

* compare with previous azure file

* fix bug

* add blob storage

* upload requirements file

* Update build-codeql.yaml

Signed-off-by: Jacob Ronstadt <147542405+jacob-ronstadt@users.noreply.github.com>

* Update build-codeql.yaml

Signed-off-by: Jacob Ronstadt <147542405+jacob-ronstadt@users.noreply.github.com>

* Update build-codeql.yaml

Signed-off-by: Jacob Ronstadt <147542405+jacob-ronstadt@users.noreply.github.com>

* Update build-codeql.yaml

Signed-off-by: Jacob Ronstadt <147542405+jacob-ronstadt@users.noreply.github.com>

* Update build-codeql.yaml

Signed-off-by: Jacob Ronstadt <147542405+jacob-ronstadt@users.noreply.github.com>

* Update build-codeql.yaml

Signed-off-by: Jacob Ronstadt <147542405+jacob-ronstadt@users.noreply.github.com>

* Update build-codeql.yaml

Signed-off-by: Jacob Ronstadt <147542405+jacob-ronstadt@users.noreply.github.com>

* add codeql path option

* Update build-codeql.yaml

Signed-off-by: Jacob Ronstadt <147542405+jacob-ronstadt@users.noreply.github.com>

* Update build-codeql.yaml

Signed-off-by: Jacob Ronstadt <147542405+jacob-ronstadt@users.noreply.github.com>

* bug fix

* Update build-codeql.yaml

Signed-off-by: Jacob Ronstadt <147542405+jacob-ronstadt@users.noreply.github.com>

* update paths

* bug fix

* udpate paths

* Update build-codeql.yaml

Signed-off-by: Jacob Ronstadt <147542405+jacob-ronstadt@users.noreply.github.com>

* Update build-codeql.yaml

Signed-off-by: Jacob Ronstadt <147542405+jacob-ronstadt@users.noreply.github.com>

* Update build-codeql.yaml

Signed-off-by: Jacob Ronstadt <147542405+jacob-ronstadt@users.noreply.github.com>

* Update build-codeql.yaml

Signed-off-by: Jacob Ronstadt <147542405+jacob-ronstadt@users.noreply.github.com>

* test updates

* udpate paths

* test automation

* Update build-codeql.yaml

Signed-off-by: Jacob Ronstadt <147542405+jacob-ronstadt@users.noreply.github.com>

* update no_build option

* debug messages

* test automation

* more debug

* more debug

* Update build-codeql.yaml

Signed-off-by: Jacob Ronstadt <147542405+jacob-ronstadt@users.noreply.github.com>

* Update build-codeql.yaml

Signed-off-by: Jacob Ronstadt <147542405+jacob-ronstadt@users.noreply.github.com>

* add codeql version check

* Update build-codeql.yaml

Signed-off-by: Jacob Ronstadt <147542405+jacob-ronstadt@users.noreply.github.com>

* more debug

* test remove src dir in subprocess

* remove debug output

* Update build-codeql.yaml

Signed-off-by: Jacob Ronstadt <147542405+jacob-ronstadt@users.noreply.github.com>

* fix script to run from test dir or root dir

* add arg checks

* add arg checks

* Update build-codeql.yaml

Signed-off-by: Jacob Ronstadt <147542405+jacob-ronstadt@users.noreply.github.com>

* Update build-codeql.yaml

Signed-off-by: Jacob Ronstadt <147542405+jacob-ronstadt@users.noreply.github.com>

* check for container name arg if comparing

* Update build-codeql.yaml

Signed-off-by: Jacob Ronstadt <147542405+jacob-ronstadt@users.noreply.github.com>

* fix function params

* Update build-codeql.yaml

Signed-off-by: Jacob Ronstadt <147542405+jacob-ronstadt@users.noreply.github.com>

* bug fix

* fix blob upload

* testing blob upload

* Update build-codeql.yaml

Signed-off-by: Jacob Ronstadt <147542405+jacob-ronstadt@users.noreply.github.com>

* more testing

* more testing

* Update build-codeql.yaml

Signed-off-by: Jacob Ronstadt <147542405+jacob-ronstadt@users.noreply.github.com>

* error handling

* bug fix

* error handling updates

* bug fix

* add more info to results excel

* add more info to results excel

* fix existing_database flag if output folder doesnt exist in AnalysisFiles

---------

Signed-off-by: Jacob Ronstadt <147542405+jacob-ronstadt@users.noreply.github.com>
2024-02-15 20:10:31 -08:00
jacob-ronstadt 5422afda1c fix yaml file 2024-02-01 10:31:49 -08:00
NateD-MSFT aac26c9403 Update GitHub workflow to CodeQL 2.15.4. 2024-01-08 12:46:19 -08:00
NateD-MSFT 45e474f024
Update to CodeQL version v2.15.1. (#89)
Update to CodeQL v2.15.1.
2023-10-26 17:49:58 -07:00
NateD-MSFT b1cc5852f2
Update to CodeQL version 2.14.4 (#82)
* Update to CodeQL 2.14.4

Update cpp-all to 0.9.2, cpp-queries to 0.7.4

* Update README.md

* Update build-codeql.yaml

Signed-off-by: NateD-MSFT <34494373+NateD-MSFT@users.noreply.github.com>

---------

Signed-off-by: NateD-MSFT <34494373+NateD-MSFT@users.noreply.github.com>
2023-10-10 17:06:57 -07:00
NateD-MSFT 3272a59397
Update CodeQL pack references to match CLI 2.11.5. (#56)
* Update CodeQL packs to match CLI 2.11.0.

* Further bump to match 2.11.5

* Remove continue-on-error for codeql pack install

It looks like this was hiding a failure in the pack install step.

Signed-off-by: NateD-MSFT <34494373+NateD-MSFT@users.noreply.github.com>

* Align build-codeql.yaml with development branch

Signed-off-by: NateD-MSFT <34494373+NateD-MSFT@users.noreply.github.com>

* Remove redundant "recursive" parameter.

Signed-off-by: NateD-MSFT <34494373+NateD-MSFT@users.noreply.github.com>

---------

Signed-off-by: NateD-MSFT <34494373+NateD-MSFT@users.noreply.github.com>
2023-02-09 16:19:27 -08:00
Laura Gonzalez 38a8941d32 adds install pack command location 2023-01-24 14:25:50 -08:00
Laura Gonzalez 193acd0c13 updates workflow to use codeql cli v2.11.5 2023-01-24 14:11:55 -08:00
NateD-MSFT 70eceba761 Update CA ported query suite. 2022-11-23 15:02:49 -08:00
NateD-MSFT c89be5d58e
Update our CI to run on development branch PRs (#27)
* Update CI build to run on dev branch.

* Use query names instead of absolute paths

* Fix path for building all queries in CI
2022-08-25 16:04:44 -07:00
NateD-MSFT 54e94be85f
Query/suite location refactoring for modern CodeQL (#15) 2022-03-15 22:29:58 +00:00
NateD-MSFT c8d1660077
Update CodeQL CLI and queries to match LGTM 1.29.0. (#14)
* Update codeql submodule to lgtm/1.29.0

* Fix spacing in README.md

* Update CLI version in build-codeql.yaml

* Update suite and QLPack formats.

* Fix table formatting in README.md.

* Additional clarification in README.md

* Spacing fix in README.md.
2022-03-10 02:12:59 +00:00
NateD-MSFT cf2906335f
Update build-codeql.yaml (#9)
Ensure we build both our suites, not just recommended, to catch any errors in suite consistency.
2021-04-29 20:59:27 +00:00
NateD-MSFT 5bec867609
Build driver recommended suite (#8)
The current workflow only builds the queries we own.  This update changes the workflow to build the entire recommended suite, including queries from the main repo, to help catch any issues where upstream changes break us.
2021-04-26 22:37:40 +00:00
NateD-MSFT 3d3f8ace7e
Remove unused queries and update workflow. (#7)
Remove some unused queries that weren't building correctly and update the workflow to build all Windows queries in the repo, not just the ones present in suites.
2021-04-10 03:30:17 +00:00
NateD-MSFT 0db2bbc176
Add build action for the CodeQL queries in the recommended suite. (#5)
This PR creates a GitHub action that builds all CodeQL queries in the windows_driver_recommended.qls suite, which covers all queries we are currently officially supporting to be run as part of certification.

This action attempts to clone this repo and its submodules, fetch v2.5.0 of the CodeQL CLI, and then run codeql-compile on the aforementioned suite.
2021-04-01 22:59:32 -07:00