Skip to content

Commit

Permalink
Fix CI (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkroepke authored Mar 31, 2022
1 parent 5cd6d70 commit 40f0f23
Show file tree
Hide file tree
Showing 18 changed files with 52 additions and 43 deletions.
29 changes: 0 additions & 29 deletions .github/workflows/chart-testing.yml

This file was deleted.

39 changes: 39 additions & 0 deletions .github/workflows/lint-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
env:
CT_BUILD_ID: '${{ github.run_id }}'

name: Chart Testing
on: [pull_request]
jobs:
build:
name: lint, install
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up chart-testing
uses: helm/[email protected]

- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed --config charts/ct.yaml)
if [[ -n "$changed" ]]; then
echo "::set-output name=changed::true"
fi
- name: Run chart-testing (lint)
run: ct lint --config charts/ct.yaml

- name: Create kind cluster
uses: helm/[email protected]
if: steps.list-changed.outputs.changed == 'true'
with:
version: v0.12.0
kubectl_version: v1.23.5

- name: Run chart-testing (install)
run: ct install --config charts/ct.yaml --excluded-charts keycloak-config-cli
4 changes: 1 addition & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,9 @@ jobs:
- name: Install Helm
uses: azure/[email protected]
with:
version: v3.4.0
version: v3.8.1

- name: Run chart-releaser
uses: helm/[email protected]
with:
charts_dir: stable
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
1 change: 1 addition & 0 deletions charts/ct.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
target-branch: main
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: keycloak-config-cli
description: Import JSON-formatted configuration files into Keycloak - Configuration as Code for Keycloak.
home: https://github.com/adorsys/keycloak-config-cli
version: 1.1.0
appVersion: 4.3.0
version: 1.2.0
appVersion: 5.0.0
maintainers:
- name: jkroepke
email: [email protected]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ fullnameOverride: ""
nameOverride: ""

image:
repository: docker.io/adorsys/keycloak-config-cli
tag: "v{{ .Chart.AppVersion }}-11.0.3"
repository: quay.io/adorsys/keycloak-config-cli
tag: "{{ .Chart.AppVersion }}-17.0.1"
pullPolicy: IfNotPresent
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
##
pullSecrets: []
# - myRegistrKeySecretName
# - myRegistryKeySecretName

# Count of re(!)tries. A value of 2 means 3 tries in total.
backoffLimit: 1
Expand All @@ -35,7 +35,7 @@ resources: {}
env:
KEYCLOAK_URL: http://keycloak:8080
KEYCLOAK_USER: admin
IMPORT_PATH: /config/
IMPORT_FILES_LOCATIONS: /config/

secrets: {}
# KEYCLOAK_PASSWORD:
Expand Down Expand Up @@ -69,7 +69,7 @@ config: {}

existingConfigSecret: ""

# Add additional volumes, e. g. for custom secrets
# Add additional volumes, e.g. for custom secrets
extraVolumes: ""

# Add additional volumes mounts, e. g. for custom secrets
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions charts/values/templates/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
{{- if .Values }}
{{ .Values | toYaml }}
{{- end }}
Empty file added charts/values/values.yaml
Empty file.
2 changes: 0 additions & 2 deletions ci/ct.yaml

This file was deleted.

1 change: 0 additions & 1 deletion stable/values/templates/values.yaml

This file was deleted.

1 change: 0 additions & 1 deletion stable/values/values.yaml

This file was deleted.

0 comments on commit 40f0f23

Please sign in to comment.