-
Notifications
You must be signed in to change notification settings - Fork 12
36 lines (27 loc) · 1.23 KB
/
main.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
31
32
33
34
35
36
name: CI
on: [pull_request]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
#- uses: actions/checkout@v1 no need to checkout the code.
# install helm
- name: Helm tool installer
uses: Azure/setup-helm@v1
with:
version: v3.2.4
# add a test repo on the current commit
- name: install helm repo incubator
run: helm repo add incubator https://raw.githubusercontent.com/Talend/helm-charts-public/$GITHUB_SHA/incubator
- name: install helm repo stable
run: helm repo add stable https://raw.githubusercontent.com/Talend/helm-charts-public/$GITHUB_SHA/stable
- name: install helm repo released
run: helm repo add stable https://raw.githubusercontent.com/Talend/helm-charts-public/$GITHUB_SHA/released
# perform some update, I think this is not required as the previous add should detect issues but it does not cost much :)
- name: update the test helm repo
run: helm repo update
#Reference Documentation :
# https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions
# https://help.github.com/en/actions/automating-your-workflow-with-github-actions/using-environment-variables