Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
72 changes: 0 additions & 72 deletions .coderabbit.yaml

This file was deleted.

17 changes: 12 additions & 5 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
# This is a comment.
# Each line is a file pattern followed by one or more owners.

# These owners will be the default owners for everything in
# the repo. Unless a later match takes precedence
* @psss @lukaszachy @happz @thrix @janhavlin

# Packaging
/pyproject.toml @psss @lukaszachy @happz @thrix @janhavlin @martinhoyer
/tmt.spec @psss @lukaszachy @happz @thrix @janhavlin @martinhoyer

# Provision plugins
/tmt/steps/provision/artemis.py @happz
/tmt/steps/provision/testcloud.py @frantisekz
/tmt/steps/provision/mrack* @dav-pascual
/tmt/steps/provision/testcloud.py @lbrabec

# Report plugins
/tmt/steps/report/polarion.py @KwisatzHaderach
/tmt/steps/report/reportportal.py @4N0body5

# Export plugins
/tmt/export/polarion.py @KwisatzHaderach

# Specific areas
/tmt/trying.py @falconizmi
28 changes: 0 additions & 28 deletions .github/actions/setup-docs-env/action.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/renovate.json

This file was deleted.

45 changes: 15 additions & 30 deletions .github/workflows/doc-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,39 +22,24 @@ jobs:
with:
persist-credentials: false

- uses: ./.github/actions/setup-docs-env
- uses: actions/setup-python@v5
with:
python-version: '3.x'
cache: 'pip'

- name: Cache Hatch environments
uses: actions/cache@v4
with:
path: |
${{ github.workspace }}/.hatch_envs
key: hatch-envs-${{ hashFiles('pyproject.toml') }}

- name: Install hatch
run: pip install hatch

- name: Run sphinx html builder
# -W = warnings as error
run: hatch run docs:html -W

- name: Check GitHub API Rate Limit
id: rate_limit_check
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
API_URL="https://api.github.com/rate_limit"
RESPONSE=$(curl -s -H "Authorization: token $GH_TOKEN" -H "Accept: application/vnd.github.v3+json" $API_URL)
REMAINING_CORE=$(echo "$RESPONSE" | jq -r '.resources.core.remaining')
echo "Remaining core API calls: $REMAINING_CORE"
THRESHOLD=100
echo "remaining_core=$REMAINING_CORE" >> $GITHUB_OUTPUT
echo "threshold=$THRESHOLD" >> $GITHUB_OUTPUT
if [ "$REMAINING_CORE" -lt "$THRESHOLD" ]; then
echo "skip_linkcheck=true" >> $GITHUB_OUTPUT
echo "Low GitHub API core rate limit ($REMAINING_CORE remaining). Skipping linkcheck."
else
echo "skip_linkcheck=false" >> $GITHUB_OUTPUT
echo "Sufficient GitHub API core rate limit ($REMAINING_CORE remaining)."
fi
shell: bash

- name: Run sphinx linkcheck
if: steps.rate_limit_check.outputs.skip_linkcheck == 'false'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: hatch run docs:linkcheck

- name: Report Skipped Linkcheck
if: steps.rate_limit_check.outputs.skip_linkcheck == 'true'
run: |
echo "::warning title=Linkcheck Skipped Due to Rate Limit::The Sphinx documentation link check was skipped because the remaining GitHub API core rate limit (${{ steps.rate_limit_check.outputs.remaining_core }} remaining) was below the threshold (${{ steps.rate_limit_check.outputs.threshold }}). The link check will be performed when the rate limit resets."
4 changes: 0 additions & 4 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ jobs:
env:
SKIP: no-commit-to-branch
steps:
# Required because of https://github.com/hadolint/hadolint/issues/886
- run: |
wget -O /usr/local/bin/hadolint https://github.com/hadolint/hadolint/releases/latest/download/hadolint-Linux-x86_64
chmod +x /usr/local/bin/hadolint
- uses: actions/checkout@v4
with:
persist-credentials: false
Expand Down
39 changes: 0 additions & 39 deletions .github/workflows/publish-images.yml

This file was deleted.

5 changes: 2 additions & 3 deletions .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,16 @@ jobs:
name: Differential ShellCheck
uses: redhat-plumbers-in-action/differential-shellcheck@v4
with:
# Keep exclusions in sync with shellcheck-py hook in .pre-commit-config.yaml
exclude-path: |
tests/**
examples/**
examples/**/test.sh
tmt/steps/execute/scripts/*.sh.j2
tmt/templates/**
token: ${{ secrets.GITHUB_TOKEN }}

- if: ${{ always() }}
name: Upload artifact with ShellCheck defects in SARIF format
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: Differential ShellCheck SARIF
path: ${{ steps.ShellCheck.outputs.sarif }}
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,15 @@

/tmp/
docs/code/autodocs/*.rst
docs/code/template-extensions.rst
docs/code/template-filters.rst
docs/plugins/discover.rst
docs/plugins/execute.rst
docs/plugins/finish.rst
docs/plugins/prepare.rst
docs/plugins/provision.rst
docs/plugins/report.rst
docs/plugins/prepare-feature.rst
docs/plugins/test-checks.rst
docs/plugins/hardware-matrix.rst
docs/guide/test-runner-guest-compatibility-matrix.inc.rst
docs/_build
docs/spec
docs/stories
Expand Down
13 changes: 0 additions & 13 deletions .hadolint.yaml

This file was deleted.

Loading
Loading