|
56 | 56 | env: |
57 | 57 | BOT_TOKEN: ${{ secrets.AUTOTICK_BOT_TOKEN }} |
58 | 58 |
|
59 | | - - name: run migrations |
| 59 | + - name: prep for bot run |
60 | 60 | if: success() && ! env.CI_SKIP |
61 | 61 | timeout-minutes: 210 |
62 | 62 | run: | |
|
66 | 66 | pushd cf-graph |
67 | 67 |
|
68 | 68 | conda-forge-tick prep-auto-tick |
| 69 | + env: |
| 70 | + BOT_TOKEN: ${{ secrets.AUTOTICK_BOT_TOKEN }} |
| 71 | + RUN_ID: ${{ github.run_id }} |
| 72 | + MEMORY_LIMIT_GB: 7 |
| 73 | + CF_TICK_GRAPH_DATA_BACKENDS: "${{ vars.CF_TICK_GRAPH_DATA_BACKENDS }}" |
| 74 | + MONGODB_CONNECTION_STRING: ${{ secrets.MONGODB_CONNECTION_STRING }} |
| 75 | + # emptied at the beginning and end of each run, used by Python tempdir |
| 76 | + TMPDIR: ${{ runner.temp }} |
| 77 | + |
| 78 | + - name: deploy for prep |
| 79 | + if: github.ref == 'refs/heads/main' && always() && ! env.CI_SKIP |
| 80 | + run: | |
| 81 | + export RUN_URL="https://github.com/regro/cf-scripts/actions/runs/${RUN_ID}" |
| 82 | +
|
| 83 | + pushd cf-graph |
| 84 | +
|
69 | 85 | conda-forge-tick deploy-to-github --git-only --dirs-to-deploy=pr_json,version_pr_info,pr_info |
70 | | - conda-forge-tick auto-tick |
| 86 | + env: |
| 87 | + BOT_TOKEN: ${{ secrets.AUTOTICK_BOT_TOKEN }} |
| 88 | + RUN_ID: ${{ github.run_id }} |
71 | 89 |
|
| 90 | + - name: run migrations |
| 91 | + if: success() && ! env.CI_SKIP |
| 92 | + timeout-minutes: 210 |
| 93 | + run: | |
| 94 | + export TIMEOUT=7200 |
| 95 | + export RUN_URL="https://github.com/regro/cf-scripts/actions/runs/${RUN_ID}" |
| 96 | +
|
| 97 | + pushd cf-graph |
| 98 | +
|
| 99 | + conda-forge-tick auto-tick |
72 | 100 | env: |
73 | 101 | BOT_TOKEN: ${{ secrets.AUTOTICK_BOT_TOKEN }} |
74 | 102 | RUN_ID: ${{ github.run_id }} |
|
90 | 118 | pushd cf-graph |
91 | 119 |
|
92 | 120 | export RUN_URL="https://github.com/regro/cf-scripts/actions/runs/${RUN_ID}" |
93 | | - conda-forge-tick deploy-to-github --dirs-to-ignore=pr_json |
| 121 | + conda-forge-tick deploy-to-github --dirs-to-ignore=pr_json --no-pull |
94 | 122 | env: |
95 | 123 | BOT_TOKEN: ${{ secrets.AUTOTICK_BOT_TOKEN }} |
96 | 124 | RUN_ID: ${{ github.run_id }} |
|
0 commit comments