Raphael Cruzeiro
400b2d879c
Makes the user keychains available to the service ( #847 )
...
Without creating a session, the service is not able to access the keychains for the user specified under `UserName`. This causes any workflow that deals with code signing to fail as the only keychain loaded with be the system one. This should fix #350
2021-10-06 15:37:45 -04:00
Thomas Boop
c4b6d288d4
fix ephemeral runner upgrade on mac/linux ( #1403 )
2021-10-05 10:15:19 +02:00
Thomas Boop
04269f7b1b
Handle keeping previous OSX versions more smoothly on Mac ( #1381 )
...
* Handle macOS upgrade smoothly
* cleanup
* misc cleanup
* final updates
* Update src/Misc/layoutbin/update.sh.template
Co-authored-by: Patrick Ellis <319655+pje@users.noreply.github.com >
* Update src/Misc/layoutbin/update.sh.template
Co-authored-by: Patrick Ellis <319655+pje@users.noreply.github.com >
* Upload telemetry and default to old method as needed
* minor fix
* add one more bit of logging
* some more telemetry
* quote variables to handle spaces
* tiny fix for ubuntu
* remove version and move telemetry to diag
* use full path
Co-authored-by: Patrick Ellis <319655+pje@users.noreply.github.com >
2021-09-29 15:49:31 -04:00
dependabot[bot]
aab936d081
Bump path-parse in /src/Misc/expressionFunc/hashFiles ( #1256 )
...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases )
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7 )
---
updated-dependencies:
- dependency-name: path-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-01 16:48:41 -04:00
Tingluo Huang
1fc159e0df
Temporary fix for macOS runner upgrade crash loop. ( #1304 )
2021-09-01 15:39:17 -04:00
Ferenc Hammerl
e9a8bf29df
Prefer higher libicu versions in installDependencies.sh ( #1228 )
...
* Update libicu dependencies
* Remove redundant comments (methodname is enough)
2021-07-27 14:30:53 +02:00
dependabot[bot]
a65331e887
Bump lodash in /src/Misc/expressionFunc/hashFiles ( #1082 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-26 23:34:52 -04:00
dependabot[bot]
908a082527
Bump hosted-git-info in /src/Misc/expressionFunc/hashFiles ( #1087 )
...
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info ) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases )
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md )
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-26 23:33:21 -04:00
dependabot[bot]
10ba74f59b
Bump glob-parent in /src/Misc/expressionFunc/hashFiles ( #1147 )
...
Bumps [glob-parent](https://github.com/gulpjs/glob-parent ) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases )
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md )
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2 )
---
updated-dependencies:
- dependency-name: glob-parent
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-26 22:55:26 -04:00
Darshan Sen
0a6c34669c
send SIGKILL after 30s in gracefulShutdown() ( #1156 )
...
This resolves the TODO.
Fixes: https://github.com/actions/runner/issues/680
Signed-off-by: Darshan Sen <raisinten@gmail.com >
2021-06-21 12:07:39 -04:00
Ferenc Hammerl
a1bcd5996b
Check if service exists before stopping it (Linux) ( #1135 )
...
* Check if service exists before stopping it
* Remove empty line (formatting)
* Use the same way as status to check service
* Revert formatting change
2021-06-08 13:27:19 +02:00
Yann Soubeyrand
11939832df
Return 1 on service status when service is not installed ( #1018 )
2021-06-04 10:52:13 -04:00
David Wolf
be9632302c
Make FileShare ReadWrite ( #1033 )
...
* Make FileShare ReadWrite
* Update FileAccess to ReadWrite
* Update dotnet-install.ps1
* Update dotnet-install.ps1
* Update dotnet-install.ps1
* Update dotnet-install.sh
2021-04-01 16:54:23 -04:00
Santiago Roman
b76d229da0
Fix usage of /dev/null and ping flag in run.sh ( #968 )
...
- Use /dev/null instead of nul
- Use -c instead of -n as a ping flag to specify number of packets to be
sent
2021-02-04 23:09:27 -05:00
TingluoHuang
0ae09e6713
Revert "update dotnet install script."
...
This reverts commit 2b4d5542aa .
2021-02-04 22:46:15 -05:00
TingluoHuang
2b4d5542aa
update dotnet install script.
2021-02-04 22:32:57 -05:00
Denis Baryshev
6b0f0c00b1
use correct exit code and delay on runner update in run.sh ( #963 )
...
Fix runner update script
2021-02-04 22:12:55 -05:00
Tingluo Huang
09760c0d69
Trace process error in RunnerService.js ( #955 )
2021-02-01 10:03:15 -05:00
Thomas Boop
3fb915450a
Runner v2.276.0 fixes ( #928 )
...
* Revert "always use Fips Cryptography (#896 )"
3b34e203dc
* Revert "Update ldd check with dotnet 5."
4b6ded0a01
* Revert "Update SDK to .NET 5 (#799 )"
fc3ca9bb92
* Update dotnet-install scripts
2021-01-21 13:45:16 -05:00
Tingluo Huang
4b6ded0a01
Update ldd check with dotnet 5.
2021-01-15 09:14:55 -05:00
Tingluo Huang
7ee333b5cd
Adding --check to run a serials network test against GitHub or GHES. ( #900 )
...
* add --check.
2021-01-14 13:26:07 -05:00
Tiago Silva
5ba6a2c78d
Add new ANDROID_SDK_ROOT environment variable ( #892 )
2021-01-05 13:39:47 -05:00
Thomas Boop
a2e32170fd
Disable set-env and add-pathcommands ( #779 )
...
* Disable Old Runner Commands set-env and add-path
* update dotnet install scripts
* update runner version and release notes
2020-11-16 08:20:43 -05:00
shinriyo
9d678cb270
DRY and add sudo ( #687 )
...
remove 3 "redundant" text and put one text for DRY.
and developers always forget `sudo` and annoying `Need to run with sudo privilege` message.
so, add first.
2020-11-02 21:38:35 -05:00
Robin Neatherway
ce92d7a6b5
Change ping .. > nul to sleep ( #647 )
...
* Change `ping .. > nul` to `sleep`
The filename `nul` is a Windows-ism that causes the update script to
create such a file in the current working directory. The `ping`
utility is also an dependency not installed by
`installdependencies.sh`, so it seemed easier to change it to the
standard `sleep` command.
* Update dotnet-install script as requested by test
* Update dotnet-install.ps1
Co-authored-by: Tingluo Huang <tingluohuang@github.com >
2020-10-29 10:15:30 -04:00
dependabot[bot]
9d1c81f018
Bump @actions/core in /src/Misc/expressionFunc/hashFiles ( #729 )
...
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core ) from 1.2.0 to 1.2.6.
- [Release notes](https://github.com/actions/toolkit/releases )
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md )
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-26 23:29:08 -04:00
Josh Soref
7a8abe726a
Improve apt handling ( #708 )
...
* Unify apt/apt-get logic
The previous logic was buggy in that it tried to use `apt` in the `apt-get` branch after deciding that `apt` was unavailable...
* Prefer apt-get over apt
apt does not have a stable cli and using it from scripts yields annoying messages
* Improve English for missing apt-get & apt case
* Fix apt-get/apt fallback behavior for $ patterns
If there's a `$` in the apt install pattern, it will not fail if it selects a thing and decides it isn't interested in installing it.
* Fix spelling of libssl
2020-10-26 23:27:09 -04:00
Łukasz Łaniewski-Wołłk
a9135e61a0
Correcting bug in check of libicu presence ( #695 )
2020-10-26 23:14:17 -04:00
Tingluo Huang
c196103e58
update dotnet install script.
2020-10-26 23:07:57 -04:00
Julio Barba
65e3ec86b4
Set executable bit
2020-08-18 16:09:04 -04:00
Julio Barba
a7f205593a
Update dotnet scripts
2020-08-18 16:03:06 -04:00
Ethan Chiu
976217d6ec
Free up memory from step level outputs in composite action ( #641 )
2020-08-10 14:31:30 -04:00
efyx
bc1fe2cfe0
Fix poor performance of process spawned from svc daemon ( #614 )
2020-07-29 15:20:28 -04:00
dependabot[bot]
32d439070b
Bump lodash in /src/Misc/expressionFunc/hashFiles ( #603 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-20 10:21:01 -04:00
jeffrey
ec9f8f1682
dbl quotes around variable so CD works if path contains spaces ( #602 )
2020-07-20 10:19:37 -04:00
Ethan Chiu
d42c9da2d7
Composite Actions: Support Env Flow ( #557 )
...
* Composite Action Run Steps
* Env Flow => Able to get env variables and overwrite current env variables => but it doesn't 'stick'
* clean up
* Clean up trace messages + add Trace debug in ActionManager
* Add debugging message
* Optimize runtime of code
* Change String to string
* Add comma to Composite
* Change JobSteps to a List, Change Register Step function name
* Add TODO, remove unn. content
* Remove unnecessary code
* Fix unit tests
* Fix env format
* Remove comment
* Remove TODO message for context
* Add verbose trace logs which are only viewable by devs
* Sort usings in Composite Action Handler
* Change 0 to location
* Update context variables in composite action yaml
* Add helpful error message for null steps
* Fix Workflow Step Env overiding Parent Env
* Remove env in composite action scope
* Clean up
* Revert back
* revert back
* add back envToken
* Remove unnecessary code
* Figure out how to handle set-env edge cases
* formatting
* fix unit tests
* Fix windows unit test syntax error
2020-07-08 10:16:51 -04:00
Tingluo Huang
de4490d06d
Restore SELinux context on service file when SELinux is enabled ( #525 )
2020-06-11 15:40:09 -04:00
Tingluo Huang
eaf39bb058
add libicu66 for Ubuntu 20.04 ( #535 )
2020-06-11 12:11:13 -04:00
Tingluo Huang
3c5aef791c
Fix null ref exception in SecretMasker caused by hashfiles timeout. ( #516 )
2020-06-05 23:02:10 -04:00
Tingluo Huang
abf59bdcb6
Fix configure as service with runner name has space. ( #474 )
2020-05-12 16:08:50 -04:00
Jan Pazdziora
97883c8cd5
Fix spelling of RHEL and CentOS. ( #436 )
2020-04-19 16:53:06 -04:00
Tingluo Huang
2bd0b1af0e
launch middle man process on macOS to workaround SIP limit ( #416 )
2020-04-09 16:13:06 -04:00
TingluoHuang
2cdde6cb16
fix L0 test.
2020-04-07 14:04:37 -04:00
TingluoHuang
1f52dfa636
bump dev-dependency version.
2020-04-07 14:00:37 -04:00
dependabot[bot]
83b5742278
Bump acorn from 6.4.0 to 6.4.1 in /src/Misc/expressionFunc/hashFiles ( #371 )
...
Bumps [acorn](https://github.com/acornjs/acorn ) from 6.4.0 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases )
- [Commits](https://github.com/acornjs/acorn/compare/6.4.0...6.4.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-04-07 13:49:48 -04:00
Tingluo Huang
e9ae42693f
change hashFiles() expression to use @actions/glob. ( #268 )
2020-01-19 10:32:13 -05:00
Julio Barba
9448135fcd
Replace a few more instances Agent -> Runner ( #228 )
2019-12-16 11:51:08 -05:00
Tingluo Huang
f3aedd86fd
Update AGENT_ALLOW_RUNASROOT to RUNNER_ALLOW_RUNASROOT ( #227 )
...
* Update config.sh
* Update run.sh
2019-12-16 11:27:46 -05:00
David Kale
181dac1c07
Update node external to 12.13.1 ( #215 )
...
* Update node external to 12.13.1
* Typo
* Typo2
2019-12-12 09:38:48 -05:00
Tingluo Huang
d81a7656a4
Add Proxy Support for self-hosted runner. ( #206 )
2019-12-09 15:15:54 -05:00