Changeset 28cbc6 in git
- Timestamp:
- Mar 12, 2021, 8:43:28 PM (2 years ago)
- Branches:
- (u'spielwiese', 'd1ec153efbb92b07a03c829a7f893fe854f169d2')
- Children:
- 13931df67b112b94db6834f223c42dc3923219ff
- Parents:
- e8b3aec485e98942b3d941dda954621000368a5a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
.github/workflows/ci-sage.yml
re8b3ae r28cbc6 58 58 SAGE_REPO: sagemath/sage 59 59 SAGE_REF: develop 60 # Temporarily test onthe branch from sage ticket for singular 4.2 upgrade61 SAGE_TRAC_GIT: git://trac.sagemath.org/sage.git62 SAGE_TRAC_ COMMAND: try60 # Temporarily test with the branch from sage ticket for singular 4.2 upgrade 61 # (this is a no-op after that ticket is merged) 62 SAGE_TRAC_GIT: https://github.com/sagemath/sagetrac-mirror.git 63 63 SAGE_TICKET: 25993 64 64 REMOVE_PATCHES: "*" … … 113 113 repository: ${{ env.SAGE_REPO }} 114 114 ref: ${{ env.SAGE_REF }} 115 fetch-depth: 2000 115 116 if: env.SAGE_REPO != '' 116 117 - name: Check out git-trac-command … … 123 124 shell: bash {0} 124 125 run: | 125 if [ ! -d .git ]; then git init; fi; git remote add trac ${{ env.SAGE_TRAC_GIT }} && x=1 && while [ $x -le 5 ]; do x=$(( $x + 1 )); sleep $(( $RANDOM % 60 + 1 )); if git-trac-command/git-trac ${{ env.SAGE_TRAC_COMMAND }} $SAGE_TICKET; then exit 0; fi; sleep 40; done; exit 1 126 git config --global user.email "ci-sage@example.com" 127 git config --global user.name "ci-sage workflow" 128 if [ ! -d .git ]; then git init; fi; git remote add trac ${{ env.SAGE_TRAC_GIT }} && x=1 && while [ $x -le 5 ]; do x=$(( $x + 1 )); sleep $(( $RANDOM % 60 + 1 )); if git-trac-command/git-trac fetch $SAGE_TICKET; then git merge FETCH_HEAD || echo "(ignored)"; exit 0; fi; sleep 40; done; exit 1 126 129 if: env.SAGE_TRAC_GIT != '' 127 130 - uses: actions/download-artifact@v2 … … 209 212 repository: ${{ env.SAGE_REPO }} 210 213 ref: ${{ env.SAGE_REF }} 214 fetch-depth: 2000 211 215 if: env.SAGE_REPO != '' 212 216 - name: Check out git-trac-command … … 220 224 # Random sleep and retry to limit the load on trac.sagemath.org 221 225 run: | 222 if [ ! -d .git ]; then git init; fi; git remote add trac ${{ env.SAGE_TRAC_GIT }} && x=1 && while [ $x -le 5 ]; do x=$(( $x + 1 )); sleep $(( $RANDOM % 60 + 1 )); if git-trac-command/git-trac ${{ env.SAGE_TRAC_COMMAND }} $SAGE_TICKET; then exit 0; fi; sleep 40; done; exit 1 226 git config --global user.email "ci-sage@example.com" 227 git config --global user.name "ci-sage workflow" 228 if [ ! -d .git ]; then git init; fi; git remote add trac ${{ env.SAGE_TRAC_GIT }} && x=1 && while [ $x -le 5 ]; do x=$(( $x + 1 )); sleep $(( $RANDOM % 60 + 1 )); if git-trac-command/git-trac fetch $SAGE_TICKET; then git merge FETCH_HEAD || echo "(ignored)"; exit 0; fi; sleep 40; done; exit 1 223 229 if: env.SAGE_TRAC_GIT != '' 224 230 - uses: actions/download-artifact@v2 … … 289 295 repository: ${{ env.SAGE_REPO }} 290 296 ref: ${{ env.SAGE_REF }} 297 fetch-depth: 2000 291 298 if: env.SAGE_REPO != '' 292 299 - name: Check out git-trac-command … … 299 306 shell: bash {0} 300 307 run: | 301 if [ ! -d .git ]; then git init; fi; git remote add trac ${{ env.SAGE_TRAC_GIT }} && x=1 && while [ $x -le 5 ]; do x=$(( $x + 1 )); sleep $(( $RANDOM % 60 + 1 )); if git-trac-command/git-trac ${{ env.SAGE_TRAC_COMMAND }} $SAGE_TICKET; then exit 0; fi; sleep 40; done; exit 1 308 git config --global user.email "ci-sage@example.com" 309 git config --global user.name "ci-sage workflow" 310 if [ ! -d .git ]; then git init; fi; git remote add trac ${{ env.SAGE_TRAC_GIT }} && x=1 && while [ $x -le 5 ]; do x=$(( $x + 1 )); sleep $(( $RANDOM % 60 + 1 )); if git-trac-command/git-trac fetch $SAGE_TICKET; then git merge FETCH_HEAD || echo "(ignored)"; exit 0; fi; sleep 40; done; exit 1 302 311 if: env.SAGE_TRAC_GIT != '' 303 312 - uses: actions/download-artifact@v2 … … 378 387 repository: ${{ env.SAGE_REPO }} 379 388 ref: ${{ env.SAGE_REF }} 389 fetch-depth: 2000 380 390 if: env.SAGE_REPO != '' 381 391 - name: Check out git-trac-command … … 388 398 shell: bash {0} 389 399 run: | 390 if [ ! -d .git ]; then git init; fi; git remote add trac ${{ env.SAGE_TRAC_GIT }} && x=1 && while [ $x -le 5 ]; do x=$(( $x + 1 )); sleep $(( $RANDOM % 60 + 1 )); if git-trac-command/git-trac ${{ env.SAGE_TRAC_COMMAND }} $SAGE_TICKET; then exit 0; fi; sleep 40; done; exit 1 400 git config --global user.email "ci-sage@example.com" 401 git config --global user.name "ci-sage workflow" 402 if [ ! -d .git ]; then git init; fi; git remote add trac ${{ env.SAGE_TRAC_GIT }} && x=1 && while [ $x -le 5 ]; do x=$(( $x + 1 )); sleep $(( $RANDOM % 60 + 1 )); if git-trac-command/git-trac fetch $SAGE_TICKET; then git merge FETCH_HEAD || echo "(ignored)"; exit 0; fi; sleep 40; done; exit 1 391 403 if: env.SAGE_TRAC_GIT != '' 392 404 - uses: actions/download-artifact@v2
Note: See TracChangeset
for help on using the changeset viewer.