-
Notifications
You must be signed in to change notification settings - Fork 381
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AFAIK we anyway run self-hosted runners from root due to all those problems like [1]. No reason to include the hack into every workflow file. If we'll going to start runners from a non-root user, it is better to pass `--user $PROPER_UID` to all docker jobs instead, see [2]: at least it does not require to place a boilerplate into all workflow files. Didn't touch perf_* jobs: don't want to dig inside this part of the infrastructure ATM. It reverts PR #5953. [1]: actions/checkout#211 [2]: actions/runner#691
- Loading branch information
1 parent
fd6f78e
commit bf2a600
Showing
39 changed files
with
0 additions
and
232 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,12 +43,6 @@ jobs: | |
runs-on: ubuntu-20.04-self-hosted | ||
|
||
steps: | ||
# Permissions correction is needed for self-host runners, | ||
# where work path is saved between different workflows runs. | ||
- name: correct permissions in working directory | ||
shell: bash | ||
run: | | ||
sudo chown -R $(id -u):$(id -g) . | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,12 +43,6 @@ jobs: | |
runs-on: graviton | ||
|
||
steps: | ||
# Permissions correction is needed for self-host runners, | ||
# where work path is saved between different workflows runs. | ||
- name: correct permissions in working directory | ||
shell: bash | ||
run: | | ||
sudo chown -R $(id -u):$(id -g) . | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,12 +43,6 @@ jobs: | |
runs-on: ubuntu-20.04-self-hosted | ||
|
||
steps: | ||
# Permissions correction is needed for self-host runners, | ||
# where work path is saved between different workflows runs. | ||
- name: correct permissions in working directory | ||
shell: bash | ||
run: | | ||
sudo chown -R $(id -u):$(id -g) . | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,12 +43,6 @@ jobs: | |
runs-on: graviton | ||
|
||
steps: | ||
# Permissions correction is needed for self-host runners, | ||
# where work path is saved between different workflows runs. | ||
- name: correct permissions in working directory | ||
shell: bash | ||
run: | | ||
sudo chown -R $(id -u):$(id -g) . | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,12 +43,6 @@ jobs: | |
runs-on: ubuntu-20.04-self-hosted | ||
|
||
steps: | ||
# Permissions correction is needed for self-host runners, | ||
# where work path is saved between different workflows runs. | ||
- name: correct permissions in working directory | ||
shell: bash | ||
run: | | ||
sudo chown -R $(id -u):$(id -g) . | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,12 +43,6 @@ jobs: | |
runs-on: graviton | ||
|
||
steps: | ||
# Permissions correction is needed for self-host runners, | ||
# where work path is saved between different workflows runs. | ||
- name: correct permissions in working directory | ||
shell: bash | ||
run: | | ||
sudo chown -R $(id -u):$(id -g) . | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,12 +43,6 @@ jobs: | |
runs-on: ubuntu-20.04-self-hosted | ||
|
||
steps: | ||
# Permissions correction is needed for self-host runners, | ||
# where work path is saved between different workflows runs. | ||
- name: correct permissions in working directory | ||
shell: bash | ||
run: | | ||
sudo chown -R $(id -u):$(id -g) . | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,12 +43,6 @@ jobs: | |
runs-on: graviton | ||
|
||
steps: | ||
# Permissions correction is needed for self-host runners, | ||
# where work path is saved between different workflows runs. | ||
- name: correct permissions in working directory | ||
shell: bash | ||
run: | | ||
sudo chown -R $(id -u):$(id -g) . | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,12 +43,6 @@ jobs: | |
runs-on: ubuntu-20.04-self-hosted | ||
|
||
steps: | ||
# Permissions correction is needed for self-host runners, | ||
# where work path is saved between different workflows runs. | ||
- name: correct permissions in working directory | ||
shell: bash | ||
run: | | ||
sudo chown -R $(id -u):$(id -g) . | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,12 +46,6 @@ jobs: | |
runs-on: ubuntu-20.04-self-hosted | ||
|
||
steps: | ||
# Permissions correction is needed for self-host runners, | ||
# where work path is saved between different workflows runs. | ||
- name: correct permissions in working directory | ||
shell: bash | ||
run: | | ||
sudo chown -R $(id -u):$(id -g) . | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,12 +43,6 @@ jobs: | |
runs-on: ubuntu-20.04-self-hosted | ||
|
||
steps: | ||
# Permissions correction is needed for self-host runners, | ||
# where work path is saved between different workflows runs. | ||
- name: correct permissions in working directory | ||
shell: bash | ||
run: | | ||
sudo chown -R $(id -u):$(id -g) . | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,12 +43,6 @@ jobs: | |
runs-on: ubuntu-20.04-self-hosted | ||
|
||
steps: | ||
# Permissions correction is needed for self-host runners, | ||
# where work path is saved between different workflows runs. | ||
- name: correct permissions in working directory | ||
shell: bash | ||
run: | | ||
sudo chown -R $(id -u):$(id -g) . | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,12 +43,6 @@ jobs: | |
runs-on: ubuntu-20.04-self-hosted | ||
|
||
steps: | ||
# Permissions correction is needed for self-host runners, | ||
# where work path is saved between different workflows runs. | ||
- name: correct permissions in working directory | ||
shell: bash | ||
run: | | ||
sudo chown -R $(id -u):$(id -g) . | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,12 +43,6 @@ jobs: | |
runs-on: ubuntu-20.04-self-hosted | ||
|
||
steps: | ||
# Permissions correction is needed for self-host runners, | ||
# where work path is saved between different workflows runs. | ||
- name: correct permissions in working directory | ||
shell: bash | ||
run: | | ||
sudo chown -R $(id -u):$(id -g) . | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,12 +43,6 @@ jobs: | |
runs-on: graviton | ||
|
||
steps: | ||
# Permissions correction is needed for self-host runners, | ||
# where work path is saved between different workflows runs. | ||
- name: correct permissions in working directory | ||
shell: bash | ||
run: | | ||
sudo chown -R $(id -u):$(id -g) . | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,12 +43,6 @@ jobs: | |
runs-on: ubuntu-20.04-self-hosted | ||
|
||
steps: | ||
# Permissions correction is needed for self-host runners, | ||
# where work path is saved between different workflows runs. | ||
- name: correct permissions in working directory | ||
shell: bash | ||
run: | | ||
sudo chown -R $(id -u):$(id -g) . | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,12 +43,6 @@ jobs: | |
runs-on: graviton | ||
|
||
steps: | ||
# Permissions correction is needed for self-host runners, | ||
# where work path is saved between different workflows runs. | ||
- name: correct permissions in working directory | ||
shell: bash | ||
run: | | ||
sudo chown -R $(id -u):$(id -g) . | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,12 +45,6 @@ jobs: | |
runs-on: ubuntu-20.04-self-hosted | ||
|
||
steps: | ||
# Permissions correction is needed for self-host runners, | ||
# where work path is saved between different workflows runs. | ||
- name: correct permissions in working directory | ||
shell: bash | ||
run: | | ||
sudo chown -R $(id -u):$(id -g) . | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,12 +43,6 @@ jobs: | |
runs-on: ubuntu-20.04-self-hosted | ||
|
||
steps: | ||
# Permissions correction is needed for self-host runners, | ||
# where work path is saved between different workflows runs. | ||
- name: correct permissions in working directory | ||
shell: bash | ||
run: | | ||
sudo chown -R $(id -u):$(id -g) . | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,12 +43,6 @@ jobs: | |
runs-on: ubuntu-20.04-self-hosted | ||
|
||
steps: | ||
# Permissions correction is needed for self-host runners, | ||
# where work path is saved between different workflows runs. | ||
- name: correct permissions in working directory | ||
shell: bash | ||
run: | | ||
sudo chown -R $(id -u):$(id -g) . | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,12 +46,6 @@ jobs: | |
runs-on: ubuntu-20.04-self-hosted | ||
|
||
steps: | ||
# Permissions correction is needed for self-host runners, | ||
# where work path is saved between different workflows runs. | ||
- name: correct permissions in working directory | ||
shell: bash | ||
run: | | ||
sudo chown -R $(id -u):$(id -g) . | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,12 +45,6 @@ jobs: | |
runs-on: ubuntu-20.04-self-hosted | ||
|
||
steps: | ||
# Permissions correction is needed for self-host runners, | ||
# where work path is saved between different workflows runs. | ||
- name: correct permissions in working directory | ||
shell: bash | ||
run: | | ||
sudo chown -R $(id -u):$(id -g) . | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,12 +46,6 @@ jobs: | |
runs-on: ubuntu-20.04-self-hosted | ||
|
||
steps: | ||
# Permissions correction is needed for self-host runners, | ||
# where work path is saved between different workflows runs. | ||
- name: correct permissions in working directory | ||
shell: bash | ||
run: | | ||
sudo chown -R $(id -u):$(id -g) . | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,12 +46,6 @@ jobs: | |
runs-on: ubuntu-20.04-self-hosted | ||
|
||
steps: | ||
# Permissions correction is needed for self-host runners, | ||
# where work path is saved between different workflows runs. | ||
- name: correct permissions in working directory | ||
shell: bash | ||
run: | | ||
sudo chown -R $(id -u):$(id -g) . | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,12 +46,6 @@ jobs: | |
runs-on: ubuntu-20.04-self-hosted | ||
|
||
steps: | ||
# Permissions correction is needed for self-host runners, | ||
# where work path is saved between different workflows runs. | ||
- name: correct permissions in working directory | ||
shell: bash | ||
run: | | ||
sudo chown -R $(id -u):$(id -g) . | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,12 +46,6 @@ jobs: | |
runs-on: ubuntu-20.04-self-hosted | ||
|
||
steps: | ||
# Permissions correction is needed for self-host runners, | ||
# where work path is saved between different workflows runs. | ||
- name: correct permissions in working directory | ||
shell: bash | ||
run: | | ||
sudo chown -R $(id -u):$(id -g) . | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,12 +16,6 @@ jobs: | |
runs-on: ubuntu-20.04-self-hosted | ||
|
||
steps: | ||
# Permissions correction is needed for self-host runners, | ||
# where work path is saved between different workflows runs. | ||
- name: correct permissions in working directory | ||
shell: bash | ||
run: | | ||
sudo chown -R $(id -u):$(id -g) . | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
Oops, something went wrong.