mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 17:50:20 +00:00
Skip upload release artifacts to bucket
This commit is contained in:
parent
c385f4f382
commit
18f0901fcd
3 changed files with 10 additions and 20 deletions
8
.github/workflows/staging.yml
vendored
8
.github/workflows/staging.yml
vendored
|
@ -567,7 +567,7 @@ jobs:
|
|||
- build-docs
|
||||
environment: staging
|
||||
runs-on:
|
||||
- linux-x86_64
|
||||
- ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
@ -604,10 +604,6 @@ jobs:
|
|||
run: |
|
||||
tree -a artifacts/release
|
||||
|
||||
- name: Upload Release Artifacts
|
||||
run: |
|
||||
tools release upload-artifacts ${{ needs.prepare-workflow.outputs.salt-version }} artifacts/release
|
||||
|
||||
- name: Upload PyPi Artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
@ -647,7 +643,7 @@ jobs:
|
|||
- pkg-download-tests
|
||||
environment: staging
|
||||
runs-on:
|
||||
- linux-x86_64
|
||||
- ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
|
|
@ -88,7 +88,7 @@ concurrency:
|
|||
- build-docs
|
||||
environment: <{ gh_environment }>
|
||||
runs-on:
|
||||
- linux-x86_64
|
||||
- ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
@ -133,12 +133,13 @@ concurrency:
|
|||
name: Salt-${{ needs.prepare-workflow.outputs.salt-version }}.pdf
|
||||
path: artifacts/release
|
||||
|
||||
#}
|
||||
|
||||
- name: Upload Release Artifacts
|
||||
run: |
|
||||
tools release upload-artifacts ${{ needs.prepare-workflow.outputs.salt-version }} artifacts/release
|
||||
|
||||
#}
|
||||
|
||||
- name: Upload PyPi Artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
@ -171,7 +172,7 @@ concurrency:
|
|||
<%- endfor %>
|
||||
environment: <{ gh_environment }>
|
||||
runs-on:
|
||||
- linux-x86_64
|
||||
- ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
|
15
tools/ci.py
15
tools/ci.py
|
@ -27,17 +27,6 @@ if sys.version_info < (3, 11):
|
|||
else:
|
||||
from typing import NotRequired, TypedDict # pylint: disable=no-name-in-module
|
||||
|
||||
# try:
|
||||
# import boto3
|
||||
# except ImportError:
|
||||
# print(
|
||||
# "\nPlease run 'python -m pip install -r "
|
||||
# "requirements/static/ci/py{}.{}/tools.txt'\n".format(*sys.version_info),
|
||||
# file=sys.stderr,
|
||||
# flush=True,
|
||||
# )
|
||||
# raise
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
# Define the command group
|
||||
|
@ -1716,6 +1705,8 @@ def workflow_config(
|
|||
**_.as_dict(),
|
||||
)
|
||||
for _ in TEST_SALT_LISTING[platform] # type: ignore
|
||||
if _.arch != "arm64"
|
||||
or os.environ.get("LINUX_ARM_RUNNER", "0") != "0"
|
||||
]
|
||||
else:
|
||||
test_matrix[platform] += [
|
||||
|
@ -1724,6 +1715,8 @@ def workflow_config(
|
|||
**_.as_dict(),
|
||||
)
|
||||
for _ in TEST_SALT_LISTING[platform] # type: ignore
|
||||
if _.arch != "arm64"
|
||||
or os.environ.get("LINUX_ARM_RUNNER", "0") != "0"
|
||||
]
|
||||
ctx.info(f"{'==== test matrix ====':^80s}")
|
||||
ctx.info(f"{pprint.pformat(test_matrix)}")
|
||||
|
|
Loading…
Add table
Reference in a new issue