@@ -46,25 +46,30 @@ jobs:
4646 needs : [check-deploy]
4747 runs-on : ubuntu-24.04
4848 steps :
49+ - name : Create GitHub deployment
50+ if : needs.check-deploy.outputs.pr-contains-string == 'true'
51+ uses : chrnorm/deployment-action@v2
52+ with :
53+ token : ${{ secrets.RENKUBOT_GITHUB_TOKEN }}
54+ environment : pull_request
55+ environment-url : " https://ci-renku-${{ github.event.number }}.dev.azure.renku.ch"
56+
4957 - name : Azure login
5058 uses : azure/login@v2
5159 with :
5260 client-id : ${{ secrets.CI_RENKU_AZURE_CLIENT_ID }}
5361 tenant-id : ${{ secrets.CI_RENKU_AZURE_TENANT_ID }}
5462 subscription-id : ${{ secrets.CI_RENKU_AZURE_SUBSCRIPTION_ID }}
63+
5564 - uses : azure/aks-set-context@v4
5665 with :
5766 resource-group : " renku-dev"
5867 cluster-name : " aks-switzerlandnorth-renku-dev"
59- - name : Create GitHub deployment
60- if : needs.check-deploy.outputs.pr-contains-string == 'true'
61- uses : chrnorm/deployment-action@v2
62- with :
63- token : ${{ secrets.RENKUBOT_GITHUB_TOKEN }}
64- environment : pull_request
65- environment-url : " https://ci-renku-${{ github.event.number }}.dev.azure.renku.ch"
68+
6669 - uses : actions/checkout@v4.1.7
70+
6771 - run : ls $KUBECONFIG
72+
6873 - name : renku build and deploy
6974 if : needs.check-deploy.outputs.pr-contains-string == 'true'
7075 uses : SwissDataScienceCenter/renku-actions/deploy-renku@v1.15.1
@@ -89,13 +94,15 @@ jobs:
8994 amalthea : " ${{ needs.check-deploy.outputs.amalthea }}"
9095 amalthea_sessions : " ${{ needs.check-deploy.outputs.amalthea-sessions }}"
9196 extra_values : " ${{ needs.check-deploy.outputs.extra-values }}"
97+
9298 - name : Check existing renkubot comment
9399 if : needs.check-deploy.outputs.pr-contains-string == 'true'
94100 uses : peter-evans/find-comment@v3
95101 id : findcomment
96102 with :
97103 issue-number : ${{ github.event.pull_request.number }}
98104 comment-author : " RenkuBot"
105+
99106 - name : Create comment pre deploy
100107 if : ${{ steps.findcomment.outputs.comment-id == 0 &&
101108 needs.check-deploy.outputs.pr-contains-string == 'true' }}
@@ -104,7 +111,7 @@ jobs:
104111 token : ${{ secrets.RENKUBOT_GITHUB_TOKEN }}
105112 issue-number : ${{ github.event.pull_request.number }}
106113 body : |
107- You can access the deployment of this PR at https://ci-renku-${{ github.event.number }}.dev.renku.ch
114+ You can access the deployment of this PR at https://ci-renku-${{ github.event.number }}.dev.azure. renku.ch
108115
109116 cypress-acceptance-tests :
110117 name : Cypress tests on Azure
0 commit comments