@@ -207,7 +207,14 @@ jobs:
207207 REPLICATED_API_TOKEN : ${{ secrets.WG_EASY_REPLICATED_API_TOKEN }}
208208 REPLICATED_APP : ${{ secrets.WG_EASY_REPLICATED_APP }}
209209
210- - name : Run replicated-release task
210+ - name : run release-prepare task
211+ run : task release-prepare
212+ timeout-minutes : 15
213+ env :
214+ REPLICATED_API_TOKEN : ${{ secrets.WG_EASY_REPLICATED_API_TOKEN }}
215+ REPLICATED_APP : ${{ secrets.WG_EASY_REPLICATED_APP }}
216+
217+ - name : Run release-create task
211218 run : |
212219 BRANCH_NAME="${{ github.head_ref || github.ref_name }}"
213220 CHANNEL_NAME=$(echo "$BRANCH_NAME" | tr '[:upper:]' '[:lower:]')
@@ -285,10 +292,10 @@ jobs:
285292 run : |
286293 BRANCH_NAME="${{ github.head_ref || github.ref_name }}"
287294 CUSTOMER_EMAIL="${{ secrets.WG_EASY_CUSTOMER_EMAIL }}"
288-
295+
289296 # Get customer license ID from previous step
290297 LICENSE_ID=$(task customer-get-license CUSTOMER_NAME="$BRANCH_NAME" | grep -o '[A-Za-z0-9]\{27\}' | head -1)
291-
298+
292299 # Login to Replicated registry
293300 helm registry login registry.replicated.com --username "$CUSTOMER_EMAIL" --password "$LICENSE_ID"
294301 timeout-minutes : 5
@@ -300,10 +307,10 @@ jobs:
300307 run : |
301308 BRANCH_NAME="${{ github.head_ref || github.ref_name }}"
302309 CHANNEL_NAME=$(echo "$BRANCH_NAME" | tr '[:upper:]' '[:lower:]')
303-
310+
304311 # Get customer license ID
305312 LICENSE_ID=$(task customer-get-license CUSTOMER_NAME="$BRANCH_NAME" | grep -o '[A-Za-z0-9]\{27\}' | head -1)
306-
313+
307314 # Use taskfile helm-install with replicated helmfile environment
308315 task helm-install
309316 timeout-minutes : 10
0 commit comments