|
| 1 | +on: |
| 2 | + schedule: |
| 3 | + % - cron: "25 5 15 * *" |
| 4 | + |
| 5 | +name: fullBuild_AFG_GRL |
| 6 | +jobs: |
| 7 | + gbBuild_AFG_AZE: |
| 8 | + runs-on: ubuntu-latest |
| 9 | + strategy: |
| 10 | + fail-fast: false |
| 11 | + max-parallel: 1 |
| 12 | + matrix: |
| 13 | + ISO: ["AFG","AGO","ALB","AND","ARE","ARG","ARM","ATA","ATG","AUS","AUT","AZE"] |
| 14 | + ADM: ["ADM0", "ADM1", "ADM2", "ADM3", "ADM4", "ADM5"] |
| 15 | + TYPE: ["gbOpen", "gbAuthoritative", "gbHumanitarian"] |
| 16 | + steps: |
| 17 | + - name: Check if build needed |
| 18 | + id: buildCheck |
| 19 | + continue-on-error: true |
| 20 | + run: | |
| 21 | + git clone https://github.com/wmgeolab/geoBoundaryBot |
| 22 | + python geoBoundaryBot/gbBuildCheck.py ${{secrets.DRTOKEN}} ${{matrix.ISO}} ${{matrix.ADM}} ${{matrix.TYPE}} |
| 23 | + |
| 24 | + - name: Create Build Call |
| 25 | + if: steps.buildCheck.outcome == 'success' |
| 26 | + uses: aurelien-baudet/[email protected] |
| 27 | + with: |
| 28 | + workflow: yDISPATCH_gBLayer |
| 29 | + repo: wmgeolab/geoBoundaries |
| 30 | + token: ${{ secrets.DRTOKEN }} |
| 31 | + inputs: '{ "bType": "${{matrix.TYPE}}", "ISO": "${{matrix.ISO}}", "ADM":"${{matrix.ADM}}"}' |
| 32 | + wait-for-completion-timeout: 10m |
| 33 | + wait-for-completion-interval: 20s |
| 34 | + |
| 35 | + gbBuild_BDI_BOL: |
| 36 | + if: always() |
| 37 | + needs: gbBuild_AFG_AZE |
| 38 | + runs-on: ubuntu-latest |
| 39 | + strategy: |
| 40 | + max-parallel: 1 |
| 41 | + fail-fast: false |
| 42 | + matrix: |
| 43 | + ISO: ["BDI", "BEL", "BEN", "BFA", "BGD", "BGR", "BHR", "BHS", "BIH", "BLR", "BLZ", "BOL"] |
| 44 | + ADM: ["ADM0", "ADM1", "ADM2", "ADM3", "ADM4", "ADM5"] |
| 45 | + TYPE: ["gbOpen", "gbAuthoritative", "gbHumanitarian"] |
| 46 | + steps: |
| 47 | + - name: Check if build needed |
| 48 | + id: buildCheck |
| 49 | + continue-on-error: true |
| 50 | + run: | |
| 51 | + git clone https://github.com/wmgeolab/geoBoundaryBot |
| 52 | + python geoBoundaryBot/gbBuildCheck.py ${{secrets.DRTOKEN}} ${{matrix.ISO}} ${{matrix.ADM}} ${{matrix.TYPE}} |
| 53 | + |
| 54 | + - name: Create Build Call |
| 55 | + if: steps.buildCheck.outcome == 'success' |
| 56 | + uses: aurelien-baudet/[email protected] |
| 57 | + with: |
| 58 | + workflow: yDISPATCH_gBLayer |
| 59 | + repo: wmgeolab/geoBoundaries |
| 60 | + token: ${{ secrets.DRTOKEN }} |
| 61 | + inputs: '{ "bType": "${{matrix.TYPE}}", "ISO": "${{matrix.ISO}}", "ADM":"${{matrix.ADM}}"}' |
| 62 | + wait-for-completion-timeout: 10m |
| 63 | + wait-for-completion-interval: 20s |
| 64 | + |
| 65 | + gbBuild_BRA_CMR: |
| 66 | + if: always() |
| 67 | + needs: gbBuild_BDI_BOL |
| 68 | + runs-on: ubuntu-latest |
| 69 | + strategy: |
| 70 | + max-parallel: 1 |
| 71 | + fail-fast: false |
| 72 | + matrix: |
| 73 | + ISO: ["BRA", "BRB", "BRN", "BTN", "BWA", "CAF", "CAN", "CHE", "CHL", "CHN", "CIV", "CMR"] |
| 74 | + ADM: ["ADM0", "ADM1", "ADM2", "ADM3", "ADM4", "ADM5"] |
| 75 | + TYPE: ["gbOpen", "gbAuthoritative", "gbHumanitarian"] |
| 76 | + steps: |
| 77 | + - name: Check if build needed |
| 78 | + id: buildCheck |
| 79 | + continue-on-error: true |
| 80 | + run: | |
| 81 | + git clone https://github.com/wmgeolab/geoBoundaryBot |
| 82 | + python geoBoundaryBot/gbBuildCheck.py ${{secrets.DRTOKEN}} ${{matrix.ISO}} ${{matrix.ADM}} ${{matrix.TYPE}} |
| 83 | + |
| 84 | + - name: Create Build Call |
| 85 | + if: steps.buildCheck.outcome == 'success' |
| 86 | + uses: aurelien-baudet/[email protected] |
| 87 | + with: |
| 88 | + workflow: yDISPATCH_gBLayer |
| 89 | + repo: wmgeolab/geoBoundaries |
| 90 | + token: ${{ secrets.DRTOKEN }} |
| 91 | + inputs: '{ "bType": "${{matrix.TYPE}}", "ISO": "${{matrix.ISO}}", "ADM":"${{matrix.ADM}}"}' |
| 92 | + wait-for-completion-timeout: 10m |
| 93 | + wait-for-completion-interval: 20s |
| 94 | + |
| 95 | + gbBuild_COD_DMA: |
| 96 | + if: always() |
| 97 | + needs: gbBuild_BRA_CMR |
| 98 | + runs-on: ubuntu-latest |
| 99 | + strategy: |
| 100 | + max-parallel: 1 |
| 101 | + fail-fast: false |
| 102 | + matrix: |
| 103 | + ISO: ["COD", "COG", "COL", "COM", "CPV", "CRI", "CUB", "CYP", "CZE", "DEU", "DJI", "DMA"] |
| 104 | + ADM: ["ADM0", "ADM1", "ADM2", "ADM3", "ADM4", "ADM5"] |
| 105 | + TYPE: ["gbOpen", "gbAuthoritative", "gbHumanitarian"] |
| 106 | + steps: |
| 107 | + - name: Check if build needed |
| 108 | + id: buildCheck |
| 109 | + continue-on-error: true |
| 110 | + run: | |
| 111 | + git clone https://github.com/wmgeolab/geoBoundaryBot |
| 112 | + python geoBoundaryBot/gbBuildCheck.py ${{secrets.DRTOKEN}} ${{matrix.ISO}} ${{matrix.ADM}} ${{matrix.TYPE}} |
| 113 | + |
| 114 | + - name: Create Build Call |
| 115 | + if: steps.buildCheck.outcome == 'success' |
| 116 | + uses: aurelien-baudet/[email protected] |
| 117 | + with: |
| 118 | + workflow: yDISPATCH_gBLayer |
| 119 | + repo: wmgeolab/geoBoundaries |
| 120 | + token: ${{ secrets.DRTOKEN }} |
| 121 | + inputs: '{ "bType": "${{matrix.TYPE}}", "ISO": "${{matrix.ISO}}", "ADM":"${{matrix.ADM}}"}' |
| 122 | + wait-for-completion-timeout: 10m |
| 123 | + wait-for-completion-interval: 20s |
| 124 | + |
| 125 | + gbBuild_DNK_FRA: |
| 126 | + if: always() |
| 127 | + needs: gbBuild_COD_DMA |
| 128 | + runs-on: ubuntu-latest |
| 129 | + strategy: |
| 130 | + max-parallel: 1 |
| 131 | + fail-fast: false |
| 132 | + matrix: |
| 133 | + ISO: ["DNK", "DOM", "DZA", "ECU", "EGY", "ERI", "ESP", "EST", "ETH", "FIN", "FJI", "FRA"] |
| 134 | + ADM: ["ADM0", "ADM1", "ADM2", "ADM3", "ADM4", "ADM5"] |
| 135 | + TYPE: ["gbOpen", "gbAuthoritative", "gbHumanitarian"] |
| 136 | + steps: |
| 137 | + - name: Check if build needed |
| 138 | + id: buildCheck |
| 139 | + continue-on-error: true |
| 140 | + run: | |
| 141 | + git clone https://github.com/wmgeolab/geoBoundaryBot |
| 142 | + python geoBoundaryBot/gbBuildCheck.py ${{secrets.DRTOKEN}} ${{matrix.ISO}} ${{matrix.ADM}} ${{matrix.TYPE}} |
| 143 | +
|
| 144 | + - name: Create Build Call |
| 145 | + if: steps.buildCheck.outcome == 'success' |
| 146 | + uses: aurelien-baudet/[email protected] |
| 147 | + with: |
| 148 | + workflow: yDISPATCH_gBLayer |
| 149 | + repo: wmgeolab/geoBoundaries |
| 150 | + token: ${{ secrets.DRTOKEN }} |
| 151 | + inputs: '{ "bType": "${{matrix.TYPE}}", "ISO": "${{matrix.ISO}}", "ADM":"${{matrix.ADM}}"}' |
| 152 | + wait-for-completion-timeout: 10m |
| 153 | + wait-for-completion-interval: 20s |
| 154 | + |
| 155 | + gbBuild_FSM_GRL: |
| 156 | + if: always() |
| 157 | + needs: gbBuild_DNK_FRA |
| 158 | + runs-on: ubuntu-latest |
| 159 | + strategy: |
| 160 | + max-parallel: 1 |
| 161 | + fail-fast: false |
| 162 | + matrix: |
| 163 | + ISO: ["FSM", "GAB", "GBR", "GEO", "GHA", "GIN", "GMB", "GNB", "GNQ", "GRC", "GRD", "GRL"] |
| 164 | + ADM: ["ADM0", "ADM1", "ADM2", "ADM3", "ADM4", "ADM5"] |
| 165 | + TYPE: ["gbOpen", "gbAuthoritative", "gbHumanitarian"] |
| 166 | + steps: |
| 167 | + - name: Check if build needed |
| 168 | + id: buildCheck |
| 169 | + continue-on-error: true |
| 170 | + run: | |
| 171 | + git clone https://github.com/wmgeolab/geoBoundaryBot |
| 172 | + python geoBoundaryBot/gbBuildCheck.py ${{secrets.DRTOKEN}} ${{matrix.ISO}} ${{matrix.ADM}} ${{matrix.TYPE}} |
| 173 | +
|
| 174 | + - name: Create Build Call |
| 175 | + if: steps.buildCheck.outcome == 'success' |
| 176 | + uses: aurelien-baudet/[email protected] |
| 177 | + with: |
| 178 | + workflow: yDISPATCH_gBLayer |
| 179 | + repo: wmgeolab/geoBoundaries |
| 180 | + token: ${{ secrets.DRTOKEN }} |
| 181 | + inputs: '{ "bType": "${{matrix.TYPE}}", "ISO": "${{matrix.ISO}}", "ADM":"${{matrix.ADM}}"}' |
| 182 | + wait-for-completion-timeout: 10m |
| 183 | + wait-for-completion-interval: 20s |
| 184 | + |
0 commit comments