Skip to content

Commit

Permalink
chore(ci): update renku actions to v1.6.0 (#2805)
Browse files Browse the repository at this point in the history
* use renku actions v1.6.0
* change CI action conditions and remove unnecessary fields

---------

Co-authored-by: Lorenzo <[email protected]>
  • Loading branch information
RenkuBot and lorenzo-cavazzi authored Sep 20, 2023
1 parent 1513705 commit 2d4200e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/acceptance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,10 @@ jobs:
renku-graph: ${{ steps.deploy-comment.outputs.renku-graph}}
renku-notebooks: ${{ steps.deploy-comment.outputs.renku-notebooks}}
test-enabled: ${{ steps.deploy-comment.outputs.test-enabled}}
test-cypress-enabled: ${{ steps.deploy-comment.outputs.test-cypress-enabled}}
persist: ${{ steps.deploy-comment.outputs.persist}}
extra-values: ${{ steps.deploy-comment.outputs.extra-values}}
steps:
- id: deploy-comment
uses: SwissDataScienceCenter/renku-actions/check-pr-description@v1.5.2
uses: SwissDataScienceCenter/renku-actions/check-pr-description@v1.6.0
with:
string: /deploy
pr_ref: ${{ github.event.number }}
Expand Down Expand Up @@ -66,7 +64,7 @@ jobs:
body: |
You can access the deployment of this PR at https://renku-ci-ui-${{ github.event.number }}.dev.renku.ch
- name: Build and deploy
uses: SwissDataScienceCenter/renku-actions/deploy-renku@v1.5.2
uses: SwissDataScienceCenter/renku-actions/deploy-renku@v1.6.0
env:
RANCHER_PROJECT_ID: ${{ secrets.CI_RANCHER_PROJECT }}
DOCKER_PASSWORD: ${{ secrets.RENKU_DOCKER_PASSWORD }}
Expand Down Expand Up @@ -95,21 +93,17 @@ jobs:
if: github.event.action != 'closed' && needs.check-deploy.outputs.pr-contains-string == 'true' && needs.check-deploy.outputs.test-enabled == 'true'
runs-on: ubuntu-22.04
steps:
- uses: SwissDataScienceCenter/renku-actions/test-renku@v1.5.2
- uses: SwissDataScienceCenter/renku-actions/test-renku@v1.6.0
with:
kubeconfig: ${{ secrets.RENKUBOT_DEV_KUBECONFIG }}
renku-release: renku-ci-ui-${{ github.event.number }}
gitlab-token: ${{ secrets.DEV_GITLAB_TOKEN }}
persist: "${{ needs.check-deploy.outputs.persist }}"
s3-results-access-key: ${{ secrets.ACCEPTANCE_TESTS_BUCKET_ACCESS_KEY }}
s3-results-secret-key: ${{ secrets.ACCEPTANCE_TESTS_BUCKET_SECRET_KEY }}
test-timeout-mins: "60"

cypress-acceptance-tests:
if: |
github.event.action != 'closed' &&
needs.check-deploy.outputs.pr-contains-string == 'true' &&
(needs.check-deploy.outputs.test-enabled == 'true' || needs.check-deploy.outputs.test-cypress-enabled == 'true')
if: github.event.action != 'closed' && needs.check-deploy.outputs.pr-contains-string == 'true' && needs.check-deploy.outputs.test-enabled == 'true'
needs: [check-deploy, deploy-pr]
runs-on: ubuntu-22.04

Expand All @@ -128,7 +122,7 @@ jobs:
steps:
- name: Extract Renku repository reference
run: echo "RENKU_REFERENCE=`echo '${{ needs.check-deploy.outputs.renku }}' | cut -d'@' -f2`" >> $GITHUB_ENV
- uses: SwissDataScienceCenter/renku-actions/test-renku-cypress@v1.5.2
- uses: SwissDataScienceCenter/renku-actions/test-renku-cypress@v1.6.0
with:
e2e-target: ${{ matrix.tests }}
renku-reference: ${{ env.RENKU_REFERENCE }}
Expand Down Expand Up @@ -156,7 +150,7 @@ jobs:
body: |
Tearing down the temporary RenkuLab deplyoment for this PR.
- name: renku teardown
uses: SwissDataScienceCenter/renku-actions/cleanup-renku-ci-deployments@v1.5.2
uses: SwissDataScienceCenter/renku-actions/cleanup-renku-ci-deployments@v1.6.0
env:
HELM_RELEASE_REGEX: "^renku-ci-ui-${{ github.event.number }}$"
GITLAB_TOKEN: ${{ secrets.DEV_GITLAB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-and-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ jobs:
echo "GIT_USER=Renku Bot" >> $GITHUB_ENV
echo "[email protected]" >> $GITHUB_ENV
- name: Push chart and images
uses: SwissDataScienceCenter/renku-actions/publish-chart@v1.5.2
uses: SwissDataScienceCenter/renku-actions/publish-chart@v1.6.0
env:
GITHUB_TOKEN: ${{ secrets.RENKUBOT_GITHUB_TOKEN }}
CHART_NAME: renku-ui
Expand All @@ -197,7 +197,7 @@ jobs:
- name: Wait for chart to get published
run: sleep 120
- name: Update ui version
uses: SwissDataScienceCenter/renku-actions/update-component-version@v1.5.2
uses: SwissDataScienceCenter/renku-actions/update-component-version@v1.6.0
env:
GITHUB_TOKEN: ${{ secrets.RENKUBOT_GITHUB_TOKEN }}
CHART_NAME: renku-ui

0 comments on commit 2d4200e

Please sign in to comment.