Skip to content

Commit a2eeb1e

Browse files
chore: clean up internal refs in workflows (#72)
Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com>
1 parent d4b4bca commit a2eeb1e

6 files changed

Lines changed: 3 additions & 280 deletions

File tree

‎.github/ISSUE_TEMPLATE/bug.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ body:
3434
- type: dropdown
3535
id: severity
3636
attributes:
37-
label: '🚦 Defines the severity of the bug. In the case of class-3, [specific information must be added](https://github.com/ansys-internal/QP-2-Template/blob/main/.github/ISSUE_TEMPLATE/class3.md)'
37+
label: '🚦 Defines the severity of the bug. In the case of class-3, specific information must be added.'
3838
options:
3939
- "Class 1 - Crash/Major data loss"
4040
- "Class 2 - Serious problem"

‎.github/ISSUE_TEMPLATE/story.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ body:
2828
attributes:
2929
label: Additional Links
3030
description: Links to Test Cases / Features / Other User Stories
31-
placeholder: "[Issue #1](https://github.com/ansys-internal/QP-2-Template)"
31+
placeholder:
3232
validations:
3333
required: false
3434

‎.github/workflows/build_and_package.yml‎

Lines changed: 0 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -212,75 +212,12 @@ jobs:
212212
name: test-logs
213213
path: tests/artifacts/smoke
214214

215-
# --- SAF smoke tests ---
216-
# - name: Install SAF CLI
217-
# run: pip install ansys-saf-cli
218-
219-
# - name: Clone saf-visor-poc
220-
# uses: actions/checkout@v4
221-
# with:
222-
# repository: ansys-internal/saf-visor-poc
223-
# token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
224-
# path: saf-visor-poc
225-
226-
# - name: Install saf-visor-poc dependencies
227-
# env:
228-
# POETRY_HTTP_BASIC_SOLUTIONS_PRIVATE_PYPI_USERNAME: ${{ secrets.SOLUTIONS_PRIVATE_PYPI_USERNAME }}
229-
# POETRY_HTTP_BASIC_SOLUTIONS_PRIVATE_PYPI_PASSWORD: ${{ secrets.SOLUTIONS_PRIVATE_PYPI_PASSWORD }}
230-
# working-directory: saf-visor-poc
231-
# run: |
232-
# poetry run saf install .
233-
234-
# - name: Run SAF smoke tests
235-
# continue-on-error: true
236-
# env:
237-
# DISPLAY: ":99"
238-
# VTK_DEFAULT_RENDER_WINDOW_OFFSCREEN: "1"
239-
# run: |
240-
# set -o pipefail
241-
# mkdir -p tests/artifacts/saf-smoke/reports
242-
# poetry run pytest tests/e2e/smoke/test_smoke_saf_visor.py \
243-
# --saf-project-dir "${{ github.workspace }}/saf-visor-poc" \
244-
# --html=tests/artifacts/saf-smoke/reports/saf-smoke-tests.html \
245-
# --self-contained-html \
246-
# --junitxml=tests/artifacts/saf-smoke/reports/saf-smoke-junit.xml \
247-
# --verbose \
248-
# | tee tests/artifacts/saf-smoke/reports/saf-smoke-result.log
249-
250-
# - name: Check SAF smoke test results
251-
# if: always()
252-
# id: check_saf
253-
# env:
254-
# MISSING_XML_MODE: error
255-
# DETECT_ERRORS: "true"
256-
# run: |
257-
# bash .github/scripts/check_junit_results.sh \
258-
# "saf-smoke:tests/artifacts/saf-smoke/reports/saf-smoke-junit.xml"
259-
260-
# - name: Upload SAF smoke test logs
261-
# if: always()
262-
# uses: actions/upload-artifact@v4
263-
# with:
264-
# name: saf-smoke-logs
265-
# path: tests/artifacts/saf-smoke
266-
267215
- name: Upload Python package
268216
uses: actions/upload-artifact@v4
269217
with:
270218
name: visor
271219
path: dist/*.whl
272220

273-
- name: Release to Azure Solutions PyPI
274-
if: |
275-
(github.event_name == 'schedule' && github.ref == 'refs/heads/main') ||
276-
(github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v'))
277-
uses: ansys-internal/solution-applications-actions/release-to-private-pypi@v18
278-
with:
279-
python-version: ${{ env.MAIN_PYTHON_VERSION }}
280-
twine-repository-url: https://pkgs.dev.azure.com/ansys-solutions/_packaging/ansys-solutions/pypi/upload/
281-
twine-username: "TOKEN"
282-
twine-password: ${{ secrets.SOLUTIONS_PRIVATE_PYPI_UPLOAD_TOKEN }}
283-
284221
- name: "Upload artifacts to PyPI"
285222
if: (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v'))
286223
uses: pypa/gh-action-pypi-publish@ba38be9e461d3875417946c167d0b5f3d385a247 # v1.14.1
@@ -293,18 +230,6 @@ jobs:
293230
outputs:
294231
package_version: ${{ steps.set_package_version.outputs.package_version }}
295232

296-
sbom:
297-
name: Generate and Publish SBOM
298-
needs: build
299-
if: |
300-
(github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v'))
301-
uses: ansys-internal/saf-github-workflow-templates/.github/workflows/_sbom.yml@v4
302-
with:
303-
package_type: poetry
304-
sbom-name: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && format('viewer-visor/{0}', github.ref_name) || 'viewer-visor' }}
305-
publish: true
306-
secrets: inherit
307-
308233
docker:
309234
needs: build
310235
if: |

‎.github/workflows/generate_legal_notice.yml‎

Lines changed: 0 additions & 164 deletions
This file was deleted.

‎.github/workflows/python-tests.yml‎

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -140,45 +140,6 @@ jobs:
140140
mkdir -p tests/artifacts/smoke/reports
141141
poetry run pytest tests/e2e/smoke -m "not saf" --html=tests/artifacts/smoke/reports/smoke-tests.html --self-contained-html --junitxml=tests/artifacts/smoke/reports/smoke-junit.xml --verbose | tee tests/artifacts/smoke/reports/smoke-result.log
142142
143-
# SAF-related steps temporarily disabled
144-
# # saf-visor-poc currently only supports Python 3.11 and 3.12
145-
# - name: Install SAF CLI
146-
# if: matrix.python-version == '3.11' || matrix.python-version == '3.12'
147-
# run: pip install ansys-saf-cli
148-
149-
# - name: Clone saf-visor-poc
150-
# if: matrix.python-version == '3.11' || matrix.python-version == '3.12'
151-
# uses: actions/checkout@v4
152-
# with:
153-
# repository: ansys-internal/saf-visor-poc
154-
# token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
155-
# path: saf-visor-poc
156-
157-
# - name: Install saf-visor-poc dependencies
158-
# if: matrix.python-version == '3.11' || matrix.python-version == '3.12'
159-
# env:
160-
# POETRY_HTTP_BASIC_SOLUTIONS_PRIVATE_PYPI_USERNAME: ${{ secrets.SOLUTIONS_PRIVATE_PYPI_USERNAME }}
161-
# POETRY_HTTP_BASIC_SOLUTIONS_PRIVATE_PYPI_PASSWORD: ${{ secrets.SOLUTIONS_PRIVATE_PYPI_PASSWORD }}
162-
# working-directory: saf-visor-poc
163-
# run: poetry run saf install .
164-
165-
# - name: Run SAF smoke tests
166-
# if: matrix.python-version == '3.11' || matrix.python-version == '3.12'
167-
# continue-on-error: true
168-
# env:
169-
# DISPLAY: ":99"
170-
# VTK_DEFAULT_RENDER_WINDOW_OFFSCREEN: "1"
171-
# run: |
172-
# set -o pipefail
173-
# mkdir -p tests/artifacts/saf-smoke/reports
174-
# poetry run pytest tests/e2e/smoke/test_smoke_saf_visor.py \
175-
# --saf-project-dir "${{ github.workspace }}/saf-visor-poc" \
176-
# --html=tests/artifacts/saf-smoke/reports/saf-smoke-tests.html \
177-
# --self-contained-html \
178-
# --junitxml=tests/artifacts/saf-smoke/reports/saf-smoke-junit.xml \
179-
# --verbose \
180-
# | tee tests/artifacts/saf-smoke/reports/saf-smoke-result.log
181-
182143
- name: Run Regression tests
183144
continue-on-error: true
184145
env:

‎doc/changelog.d/72.maintenance.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Clean up internal refs in workflows

0 commit comments

Comments
 (0)