mirror of
https://github.com/saltstack/salt.git
synced 2025-04-10 06:41:40 +00:00
Remove environment variables
This commit is contained in:
parent
88a3dabf7b
commit
4725d274dc
2 changed files with 1 additions and 11 deletions
10
.github/workflows/test-packages-action.yml
vendored
10
.github/workflows/test-packages-action.yml
vendored
|
@ -139,11 +139,8 @@ jobs:
|
|||
docker pull ${{ matrix.container }}
|
||||
|
||||
- name: "Create container ${{ matrix.container }}"
|
||||
#run: |
|
||||
# tools container create ${{ matrix.container }} --name ${{ github.run_id }}_salt-test-pkg
|
||||
run: |
|
||||
/usr/bin/docker create --name ${{ github.run_id }}_salt-test-pkg --workdir /__w/salt/salt --privileged -e "HOME=/github/home" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work":"/__w" -v "/home/runner/work/_temp":"/__w/_temp" -v "/home/runner/work/_actions":"/__w/_actions" -v "/opt/hostedtoolcache":"/__t" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" --entrypoint "/usr/lib/systemd/systemd" ${{ matrix.container }} --systemd --unit rescue.target
|
||||
|
||||
tools container create ${{ matrix.container }} --name ${{ github.run_id }}_salt-test-pkg
|
||||
|
||||
- name: "Start container ${{ matrix.container }}"
|
||||
run: |
|
||||
|
@ -167,11 +164,6 @@ jobs:
|
|||
- name: Run Package Tests
|
||||
run: |
|
||||
docker exec \
|
||||
-e SKIP_REQUIREMENTS_INSTALL=1 \
|
||||
-e RERUN_FAILURES=1 \
|
||||
-e GITHUB_ACTIONS_PIPELINE=1 \
|
||||
-e SKIP_INITIAL_GH_ACTIONS_FAILURES=1 \
|
||||
-e COVERAGE_CONTEXT=${{ matrix.slug }} \
|
||||
${{ github.run_id }}_salt-test-pkg \
|
||||
python3 -m nox --force-color -e ${{ inputs.nox-session }}-pkgs -- ${{ matrix.tests-chunk }} \
|
||||
${{ matrix.version && format('--prev-version={0}', matrix.version) || ''}}
|
||||
|
|
|
@ -79,8 +79,6 @@ def create(ctx: Context, image: str, name: str = ""):
|
|||
"create",
|
||||
f"--name={name}",
|
||||
"--privileged",
|
||||
# "--ulimit",
|
||||
# "\"nofile=262144:262144\"",
|
||||
f"--workdir={workdir}",
|
||||
"-v",
|
||||
"/tmp/:/var/lib/docker",
|
||||
|
|
Loading…
Add table
Reference in a new issue