Marco Gario
3f5bb98d7e
# This is a combination of 4 commits.
...
# This is the 1st commit message:
Add logic to download codeql platform-language pkg
* Add `bundleName` argument to `getCodeQLBundleDownloadURL`
* Add `languages` argument to `setupCodeQL`.
The logic now tries to find the platform-language pkg before defaulting
to the full bundle. We keep the toolcache clean by adding the pl version
to the tool version.
# The commit message #2 will be skipped:
# Add simple fallback logic for download
# The commit message #3 will be skipped:
# wip linter
# The commit message #4 will be skipped:
# linter
2020-09-09 13:52:06 +02:00
Marco Gario
7951f91d00
Add logic to download codeql platform-language pkg
...
* Add `bundleName` argument to `getCodeQLBundleDownloadURL`
* Add `languages` argument to `setupCodeQL`.
The logic now tries to find the platform-language pkg before defaulting
to the full bundle. We keep the toolcache clean by adding the pl version
to the tool version.
2020-09-09 13:50:48 +02:00
Marco Gario
408e376177
Add test for bundle with platform and language
2020-09-09 13:50:27 +02:00
Marco Gario
e4c39c9b06
Add CI for testing small bundles
2020-09-09 13:50:27 +02:00
Robert
506e641669
Merge pull request #167 from github/windows_tracing
...
Fix tracing on windows for the runner, and when using multiple self-hosted actions runners
2020-09-08 11:28:42 +01:00
Robert Brignull
7d9c81f55c
Print final process we choose
2020-09-07 17:23:35 +01:00
Robert Brignull
212f4484d3
Merge branch 'main' into windows_tracing
2020-09-07 17:08:59 +01:00
Robert
556aed46b0
Merge pull request #170 from github/windows_message
...
Print path to file instead of file contents
2020-09-07 16:23:49 +01:00
Robert Brignull
c68937100c
Merge branch 'main' into windows_message
2020-09-07 16:01:09 +01:00
Robert
8c43427531
Merge pull request #169 from github/codeql_download_info
...
Print that we are downloading codeql and it may take a while
2020-09-07 14:32:37 +01:00
Robert
1a772a2b9e
Merge branch 'main' into codeql_download_info
2020-09-07 13:37:20 +01:00
Robert Brignull
694fa2d961
add options to specify process name or level to trace
2020-09-07 13:36:47 +01:00
Robert Brignull
789059e604
Merge branch 'main' into windows_tracing
2020-09-07 12:49:20 +01:00
Robert
0e9b8f4a47
Merge pull request #168 from github/runner_refs
...
make inputting refs easier
2020-09-07 12:19:56 +01:00
Robert Brignull
9782622366
Print path to file instead of file contents
2020-09-02 19:58:03 +01:00
Robert Brignull
32eb1c4c34
Print that we are downloading codeql and it may take a while
2020-09-02 18:02:49 +01:00
Robert Brignull
ebb41156ee
make inputting refs easier
2020-09-02 18:00:46 +01:00
Robert Brignull
48df01325b
add alternative script for in runner mode
2020-09-02 15:50:37 +01:00
Robert Brignull
5c0bd22d01
set -ExecutionPolicy Bypass
2020-09-02 15:50:23 +01:00
Robert Brignull
2dbd7e8dc1
Fix tracing when there are multiple self-hosted runners
2020-09-02 15:28:50 +01:00
Robert
68c6069f0b
Merge pull request #162 from github/runner_analyze
...
Convert init, autobuild, and analyze actions to CLI / runner mode
2020-09-01 15:01:36 +01:00
Robert Brignull
b4d142e980
whitelist @actions/exec/lib/toolrunner
2020-09-01 14:44:38 +01:00
Robert Brignull
4c00c68d14
Add --ram and --threads args
2020-09-01 14:27:56 +01:00
Robert Brignull
09fb3ec514
Remove a call to getActionsApiClient
2020-09-01 14:01:21 +01:00
Robert Brignull
8a821a9c35
Add logger to checkoutExternalRepository
2020-09-01 13:53:59 +01:00
Robert Brignull
1548b771cb
Merge remote-tracking branch 'origin/main' into runner_analyze
2020-08-28 17:28:14 +01:00
Robert Brignull
a0b54fc7ab
fix tests
2020-08-28 17:28:05 +01:00
Robert Brignull
aa7e2fe91b
automatically import env in autobuild
2020-08-28 17:22:26 +01:00
Robert Brignull
c3d6602e8a
use ToolRunner directly instead of exec wrapper
2020-08-28 16:59:34 +01:00
Robert
5bd2832b32
Merge pull request #164 from github/npm_test_os
...
Run `npm test` on linux and macos
2020-08-28 16:57:28 +01:00
Robert
b1d719eeeb
fix tests on non-linux
2020-08-28 15:13:14 +01:00
Robert
da1c00f5c8
Run npm test on all operating systems
2020-08-28 15:10:47 +01:00
Robert Brignull
80e2c4fe4a
improve error message when config is not found
2020-08-28 09:43:25 +01:00
Robert Brignull
37bac22443
Make runner arg descriptions more consistent
2020-08-28 09:35:37 +01:00
Robert Brignull
57f03d3bd0
Remove hash from temp dir
2020-08-28 09:27:28 +01:00
Robert Brignull
6c8f96d781
Log that we're clearing the temp dir
2020-08-27 16:45:41 +01:00
Robert Brignull
3dfaa88a1d
Remove process of auth
2020-08-27 16:45:28 +01:00
Robert Brignull
1fd45d7407
address review comments
2020-08-27 16:34:09 +01:00
Robert Brignull
6f422a4303
add debug mode to limit output
2020-08-27 14:26:44 +01:00
Robert Brignull
f80d660e33
check environment before running autobuild or analyze
2020-08-27 14:22:16 +01:00
Robert Brignull
a542021200
make --language optional to autobuild and detect dominant language
2020-08-27 14:08:54 +01:00
Robert Brignull
b42ed69542
Update temp dir and tools dir
2020-08-27 14:08:41 +01:00
Marco Gario
8229390c1d
Merge pull request #163 from github/codeql_bundle_20200826
...
CodeQL Bundle: 20200826
2020-08-27 14:54:09 +02:00
Robert Brignull
39b361ed69
Remove dependence of GITHUB_REPOSITORY env var
2020-08-27 11:06:14 +01:00
Robert Brignull
688df282cd
fix exporting env vars on linux
2020-08-26 16:40:58 +01:00
Robert Brignull
e9bfa56061
inline inject-tracer.ps1
2020-08-26 16:20:36 +01:00
Robert Brignull
1f2bd10757
add newline to output
2020-08-26 16:20:36 +01:00
Robert Brignull
1c004b9275
inline tracer-env.js
2020-08-26 16:20:36 +01:00
Robert Brignull
f5d645fc73
Fix use of wrong URL
2020-08-26 16:20:36 +01:00
Robert Brignull
3ffe4b7421
Add code to output required env to files
2020-08-26 16:20:36 +01:00