Skip to content

Commit

Permalink
Move rebuilder script
Browse files Browse the repository at this point in the history
  • Loading branch information
tstellar committed Jan 3, 2025
1 parent 96e6f5c commit d32e21d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/mass-rebuild-reporter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v4
with:
sparse-checkout: |
.github/workflows/rebuilder.py
scripts/rebuilder.py
sparse-checkout-cone-mode: false


Expand Down Expand Up @@ -50,13 +50,13 @@ jobs:
id: new-rebuild
run: |
sudo dnf install -y python3-dnf python3-copr
if python3 .github/workflows/rebuilder.py rebuild-in-progress; then
if python3 scripts/rebuilder.py rebuild-in-progress; then
echo "completed=false" >> $GITHUB_OUTPUT
exit 0
fi
last_rebuild=$(date +%s -d "${{ steps.last-report.outputs.result }}")
current_snapshot=$(date +%s -d "$(python3 .github/workflows/rebuilder.py get-snapshot-date)")
current_snapshot=$(date +%s -d "$(python3 scripts/rebuilder.py get-snapshot-date)")
echo "last_rebuild: $last_rebuild current_snapshot: $current_snapshot"
Expand All @@ -70,7 +70,7 @@ jobs:
if: steps.new-rebuild.outputs.completed == 'true'
id: regressions
run: |
python3 .github/workflows/rebuilder.py get-regressions --start-date ${{ steps.last-report.outputs.result }} > regressions
python3 scripts/rebuilder.py get-regressions --start-date ${{ steps.last-report.outputs.result }} > regressions
echo "REGRESSIONS=$(cat regressions)" >> $GITHUB_OUTPUT
- name: Create Report
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mass-rebuild-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v4
with:
sparse-checkout: |
.github/workflows/rebuilder.py
scripts/rebuilder.py
sparse-checkout-cone-mode: false

- name: Setup Copr config file
Expand All @@ -33,4 +33,4 @@ jobs:
- name: Start rebuild
run: |
sudo dnf install -y python3-dnf python3-copr
python3 .github/workflows/rebuilder.py rebuild
python3 scripts/rebuilder.py rebuild
File renamed without changes.

0 comments on commit d32e21d

Please sign in to comment.