Title: Need to support running in root privilege on Linux Travis CI similar as in AppVeyor · Issue #5645 · PowerShell/PowerShell · GitHub
Open Graph Title: Need to support running in root privilege on Linux Travis CI similar as in AppVeyor · Issue #5645 · PowerShell/PowerShell
X Title: Need to support running in root privilege on Linux Travis CI similar as in AppVeyor · Issue #5645 · PowerShell/PowerShell
Description: We need to support running tests in root privilege on Linux Travis CI in a similar way as our windows tests running in AppVeyor. For windows tests, we have a tag RequireAdminOnWindows to indicate the tests that need admin privilege. We r...
Open Graph Description: We need to support running tests in root privilege on Linux Travis CI in a similar way as our windows tests running in AppVeyor. For windows tests, we have a tag RequireAdminOnWindows to indicate t...
X Description: We need to support running tests in root privilege on Linux Travis CI in a similar way as our windows tests running in AppVeyor. For windows tests, we have a tag RequireAdminOnWindows to indicate t...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/5645
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Need to support running in root privilege on Linux Travis CI similar as in AppVeyor","articleBody":"We need to support running tests in root privilege on Linux Travis CI in a similar way as our windows tests running in AppVeyor. For windows tests, we have a tag `RequireAdminOnWindows` to indicate the tests that need admin privilege. We run those tests in an admin `pwsh` session, and then we use `runas` to remove admin privilege and run the rest tests.\r\n\r\nWith `sudo: required` in `.travis.yml`, Travis CI Linux builds run in regular user privilege by default, but you can get the root privilege using `sudo` with no need to provide a password (see the [documentation](https://docs.travis-ci.com/user/installing-dependencies/#Installing-Snap-Packages)). So we should be able to support a similar tag like `RequireAdminOnWindows` on Linux.","author":{"url":"https://github.com/daxian-dbw","@type":"Person","name":"daxian-dbw"},"datePublished":"2017-12-07T01:10:16.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/5645/PowerShell/issues/5645"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c3008228-ea2b-ff58-9c09-b7c71ea5467e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D72C:21FDDF:17D22B4:228A508:6A54D232 |
| html-safe-nonce | 2e6128e60a859f9195b9a041057e835402a3364b1179135182fe5cc84d3f1872 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzJDOjIxRkRERjoxN0QyMkI0OjIyOEE1MDg6NkE1NEQyMzIiLCJ2aXNpdG9yX2lkIjoiMTU5MzYzNjM3Mjc0MDM2MjgwMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3bfdc90bd0734b4abbf9e4a84725ba90d242d965f2e2619750f59363c3553c7a |
| hovercard-subject-tag | issue:279964276 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/5645/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a88cefa5851718204ce380e0ae3d91b8c7e4962d91e1e65bc7bd0190099b7677/PowerShell/PowerShell/issues/5645 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a88cefa5851718204ce380e0ae3d91b8c7e4962d91e1e65bc7bd0190099b7677/PowerShell/PowerShell/issues/5645 |
| og:image:alt | We need to support running tests in root privilege on Linux Travis CI in a similar way as our windows tests running in AppVeyor. For windows tests, we have a tag RequireAdminOnWindows to indicate t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | daxian-dbw |
| hostname | github.com |
| expected-hostname | github.com |
| None | a556215b071af6609619e2bbe6f00bdfbf0812ad723b1ae6c301858a7a829f54 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 840b5d20d5a883c23cf56f5240b2c343d6cc0867 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width