Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
drinkataco committed Feb 2, 2024
1 parent cc6272f commit caeaabb
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 39 deletions.
32 changes: 23 additions & 9 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,36 @@ on:
jobs:
package:
runs-on: 'ubuntu-latest'

defaults:
run:
working-directory: './.github/workflows/scripts'

steps:
- uses: 'actions/checkout@v4'

- name: 'Set up Helm'
run: |
curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | sudo tee /usr/share/keyrings/helm.gpg > /dev/null
sudo apt-get install apt-transport-https --yes
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list
sudo apt-get update
sudo apt-get install helm
- name: 'test'
run: 'echo ttttttest'

# - name: 'Set up Helm'
# run: |
# curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | sudo tee /usr/share/keyrings/helm.gpg > /dev/null
# sudo apt-get install apt-transport-https --yes
# echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list
# sudo apt-get update
# sudo apt-get install helm

# - name: 'Automatically update chart versions'
# run: 'GIT_COMMIT=1 ./update_versions.sh'

# - name: 'Package Charts'
# run: './.github/workflows/scripts/'

# - name: 'Update Chart Index'
# run: 'echo TODO'

- name: 'Automatically update chart versions'
run: 'GIT_COMMIT=1 ./update_versions.sh'
# - name: 'Upload Artefacts'
# run: 'echo TODO'

# - name: 'Package Charts'
# run: './.github/workflows/scripts/'
Expand Down
42 changes: 21 additions & 21 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
name: 'Lint Helm'

on:
push:
pull_request:
# push:
# pull_request:

jobs:
lint:
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/checkout@v4'
- uses: 'actions/checkout@v4'

- name: 'Set up Helm'
run: |
curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | sudo tee /usr/share/keyrings/helm.gpg > /dev/null
sudo apt-get install apt-transport-https --yes
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list
sudo apt-get update
sudo apt-get install helm
- name: 'Set up Helm'
run: |
curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | sudo tee /usr/share/keyrings/helm.gpg > /dev/null
sudo apt-get install apt-transport-https --yes
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list
sudo apt-get update
sudo apt-get install helm
- name: 'Update dependencies'
run: |
#!/bin/bash
- name: 'Update dependencies'
run: |
#!/bin/bash
for chart in ./charts/*; do
cd $chart
helm dependency update
cd -
done;
for chart in ./charts/*; do
cd $chart
helm dependency update
cd -
done;
# Lint Helm charts
- name: 'Lint Helm charts'
run: 'make lint'
# Lint Helm charts
- name: 'Lint Helm charts'
run: 'make lint'
18 changes: 9 additions & 9 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
name: 'Test Helm'

on:
push:
pull_request:
# push:
# pull_request:

jobs:
test:
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/checkout@v4'
- uses: 'actions/checkout@v4'

# Set up Helm
- name: 'Set up Helm'
uses: 'azure/setup-helm@v3'
# Set up Helm
- name: 'Set up Helm'
uses: 'azure/setup-helm@v3'

# Test Helm charts
- name: 'Test helm charts'
run: 'make test'
# Test Helm charts
- name: 'Test helm charts'
run: 'make test'

0 comments on commit caeaabb

Please sign in to comment.