feat(apps): Unraid Port - digits (#2437)
* feat(apps): Unraid Port - digits * need alphabetic * fix questions * submit port fix * whoops * decrease timeout * add apps user in CI to prevent issues * sudo * slight tweak * Update charts/dev/server-7daystodie/values.yaml * add configmap * mount it as well * again * subpath * shoot * fix object name * hmm * 66 to 55 * simplify code a bit * get LS details * get status * try something else * hmm * try cmd * whoops * bashlist * test * use script * againnn * more quotes * non double command * quoted * enter.sh * groupmod * try setting in args * try without groupadd * whoops again * Apply suggestions from code review * trigger precommit * use tccr * exclude in ci * whoops
This commit is contained in:
@@ -96,19 +96,19 @@ runs:
|
||||
echo "Discovering changed charts since '$latest_tag'..."
|
||||
changed_charts=()
|
||||
readarray -t changed_charts <<< "$(lookup_changed_charts "$latest_tag")"
|
||||
|
||||
|
||||
CHARTS=()
|
||||
for CHARTPATH in "${changed_charts[@]}"
|
||||
do
|
||||
IFS='/' read -r -a path_parts <<< "${CHARTPATH}"
|
||||
CHARTS+=("${path_parts[1]}/${path_parts[2]}")
|
||||
done
|
||||
|
||||
|
||||
# Remove duplicates
|
||||
CHARTS=( `printf "%s\n" "${CHARTS[@]}" | sort -u` )
|
||||
# Set output to changed charts
|
||||
printf "::set-output name=addedOrModified::%s\n" "${CHARTS[*]}"
|
||||
|
||||
|
||||
echo "Number of detected changed charts: ${#CHARTS[@]}"
|
||||
if [ ${#CHARTS[@]} -eq 0 ] || [ "${CHARTS[0]}" = " " ] || [ "${CHARTS[0]}" = "/" ]; then
|
||||
echo "No Changed Charts detected since latest tag..."
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
remote: origin
|
||||
target-branch: master
|
||||
helm-extra-args: --timeout 600s
|
||||
helm-extra-args: --timeout 240s
|
||||
chart-yaml-schema: .github/chart_schema.yaml
|
||||
chart-dirs:
|
||||
- charts/incubator
|
||||
@@ -34,6 +34,7 @@ excluded-charts:
|
||||
- charts/incubator/zigbee2mqtt
|
||||
- zigbee2mqtt
|
||||
- incubator/zigbee2mqtt
|
||||
- charts/dev/server-7daystodie
|
||||
chart-repos:
|
||||
- truecharts-old=https://truecharts.org
|
||||
- truecharts=https://charts.truecharts.org
|
||||
|
||||
@@ -10,7 +10,7 @@ chart-dirs:
|
||||
- charts/dev
|
||||
- charts/games
|
||||
- charts/enterprise
|
||||
excluded-charts:
|
||||
excluded-charts: []
|
||||
chart-repos:
|
||||
- truecharts-old=https://truecharts.org
|
||||
- truecharts=https://charts.truecharts.org
|
||||
|
||||
@@ -59,8 +59,8 @@ jobs:
|
||||
id: list-changed
|
||||
if: inputs.chartChangesDetected == 'true'
|
||||
run: |
|
||||
EXCLUDED=$(yq eval -o=json '.excluded-charts // []' .github/ct-install.yaml)
|
||||
CHARTS=$(ct list-changed --config .github/ct-install.yaml)
|
||||
EXCLUDED=$(yq eval -o=json '.excluded-charts // []' .github/ct-lint.yaml)
|
||||
CHARTS=$(ct list-changed --config .github/ct-lint.yaml)
|
||||
CHARTS_JSON=$(echo "${CHARTS}" | jq -R -s -c 'split("\n")[:-1]')
|
||||
OUTPUT_JSON=$(echo "{\"excluded\": ${EXCLUDED}, \"all\": ${CHARTS_JSON}}" | jq -c '.all-.excluded')
|
||||
OUTPUT_JSON1=$(echo $OUTPUT_JSON | jq -r -c '.[:250]')
|
||||
|
||||
@@ -144,7 +144,7 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # tag=v3
|
||||
if: |
|
||||
steps.collect-changes.outputs.changesDetectedAfterTag == 'true'
|
||||
steps.collect-changes.outputs.changesDetectedAfterTag == 'true'
|
||||
with:
|
||||
fetch-depth: 1
|
||||
repository: truecharts/catalog
|
||||
|
||||
Reference in New Issue
Block a user