-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (29 loc) · 1.2 KB
/
edu-dev-crawler.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: EDU Deploy Crawler to Dev
on:
# cd schulcloud-nextcloud
# gh workflow run edu-dev-crawler.yml --ref <branch-name> (-f EDUSHARING_CRAWLER_HELM_CHART_VERSION=<version> -f EDUSHARING_CRAWLER_IMAGE_TAG=<version>)
workflow_dispatch:
inputs:
EDUSHARING_CRAWLER_HELM_CHART_VERSION:
description: "Select Edusharing crawler Helm Chart version"
required: true
default: "0.1.0"
EDUSHARING_CRAWLER_IMAGE_TAG:
description: "Select Edusharing crawler Image Tag"
required: true
default: "edusharing-crawler-0.4.22"
EDUSHARING_NAMESPACE:
description: "Select valid namespace: 'edusharing', 'edu-2'"
required: true
jobs:
dev_deploy_edusharing_crawlers:
uses: ./.github/workflows/edu-deploy-crawler.yml
with:
CLUSTER: sc-dev-edusharing
NAMESPACE: "${{ inputs.EDUSHARING_NAMESPACE }}"
EDUSHARING_CRAWLER_HELM_CHART_VERSION: "${{ inputs.EDUSHARING_CRAWLER_HELM_CHART_VERSION }}"
EDUSHARING_CRAWLER_IMAGE_TAG: "${{ inputs.EDUSHARING_CRAWLER_IMAGE_TAG }}"
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
KUBECONFIG: ${{ secrets.KUBECONFIG }}
PROXY_CREDENTIALS: ${{ secrets.PROXY_CREDENTIALS }}