Skip to content

Commit 81075d6

Browse files
author
Release Manager
committed
gh-35739: .github/workflows/docker.yml: Remove defunct steps that refer to Trac <!-- Please provide a concise, informative and self-explanatory title. --> <!-- Don't put issue numbers in the title. Put it in the Description below. --> <!-- For example, instead of "Fixes #12345", use "Add a new method to multiply two integers" --> ### 📚 Description <!-- Describe your changes here in detail. --> `docker.yml` still had some steps (used by upstream projects that use this reusable workflow) that referred to Trac. As we have taken down Trac, upstream ci-sage workflows would fail (see scipopt/SCIP-SDP#4 (comment)) We remove these steps now. <!-- Why is this change required? What problem does it solve? --> <!-- If this PR resolves an open issue, please link to it here. For example "Fixes #12345". --> <!-- If your change requires a documentation PR, please link it appropriately. --> ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. It should be `[x]` not `[x ]`. --> - [x] The title is concise, informative, and self-explanatory. - [x] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation accordingly. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on - #12345: short description why this is a dependency - #34567: ... --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> URL: #35739 Reported by: Matthias Köppe Reviewer(s): Frédéric Chapoton
2 parents 344128b + ce38828 commit 81075d6

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

.github/workflows/docker.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ on:
105105
default: "$BUILD_TAG"
106106
type: string
107107
#
108-
# For use in upstream CIs
108+
# For use in upstream CIs. sage_trac_* are now ignored and will be removed later.
109109
#
110110
upstream_artifact:
111111
required: false
@@ -163,21 +163,6 @@ jobs:
163163
sudo apt-get --fix-broken --yes remove $(dpkg-query -f '${Package}\n' -W | grep -E '^(ghc-|google-cloud-sdk|google-chrome|firefox|mysql-server|dotnet-sdk|hhvm|mono)') || echo "(error ignored)"
164164
df -h
165165
if: inputs.free_disk_space
166-
- name: Check out git-trac-command
167-
uses: actions/checkout@v3
168-
with:
169-
repository: sagemath/git-trac-command
170-
path: git-trac-command
171-
if: inputs.sage_trac_git != ''
172-
- name: Check out SageMath from trac.sagemath.org
173-
shell: bash {0}
174-
# Random sleep and retry to limit the load on trac.sagemath.org
175-
run: |
176-
git config --global user.email "[email protected]"
177-
git config --global user.name "ci-sage workflow"
178-
if [ ! -d .git ]; then git init; fi; git remote add trac ${{ inputs.sage_trac_git }} && x=1 && while [ $x -le 5 ]; do x=$(( $x + 1 )); sleep $(( $RANDOM % 60 + 1 )); if git-trac-command/git-trac fetch ${{ inputs.sage_trac_ticket }}; then git merge FETCH_HEAD || echo "(ignored)"; exit 0; fi; sleep 40; done; exit 1
179-
if: inputs.sage_trac_git != ''
180-
181166
- name: Download upstream artifact
182167
uses: actions/download-artifact@v3
183168
with:

0 commit comments

Comments
 (0)