diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index 23dbeb1..0000000 --- a/.drone.yml +++ /dev/null @@ -1,167 +0,0 @@ -- kind: pipeline - name: Build Docker Images - platform: - arch: arm64 - os: linux - steps: - - commands: - - git diff-tree --no-commit-id --name-only HEAD -r - image: cr.wks/debian-stable - name: git log - - - image: plugins/docker - name: debian-stable - settings: - cache_from: cr.wks/debian-stable:latest - context: _CI-CD/debian-stable - dockerfile: _CI-CD/debian-stable/Dockerfile - experimental: "true" - insecure: "true" - purge: "false" - registry: http://cr.wks - repo: cr.wks/debian-stable - tags: - - latest - - image: plugins/docker - name: debian-stable-build-essential - settings: - cache_from: cr.wks/debian-stable-build-essential:latest - context: _CI-CD/debian-stable-build-essential - dockerfile: _CI-CD/debian-stable-build-essential/Dockerfile - experimental: "true" - insecure: "true" - purge: "false" - registry: http://cr.wks - repo: cr.wks/debian-stable-build-essential - tags: - - latest - - image: plugins/docker - name: debian-stable-openwrt - settings: - cache_from: cr.wks/debian-stable-openwrt:latest - context: _CI-CD/debian-stable-openwrt - dockerfile: _CI-CD/debian-stable-openwrt/Dockerfile - experimental: "true" - insecure: "true" - purge: "false" - registry: http://cr.wks - repo: cr.wks/debian-stable-openwrt - tags: - - latest - - image: plugins/docker - name: debian-golang - settings: - cache_from: cr.wks/debian-golang:latest - context: _CI-CD/debian-golang - dockerfile: _CI-CD/debian-golang/Dockerfile - experimental: "true" - insecure: "true" - purge: "false" - registry: http://cr.wks - repo: cr.wks/debian-golang - tags: - - latest - - image: plugins/docker - name: debian-stable-php-fpm - settings: - cache_from: cr.wks/debian-stable-php-fpm:latest - context: _CI-CD/debian-stable-php-fpm - dockerfile: _CI-CD/debian-stable-php-fpm/Dockerfile - experimental: "true" - insecure: "true" - purge: "false" - registry: http://cr.wks - repo: cr.wks/debian-stable-php-fpm - tags: - - latest - - image: plugins/docker - name: distcc - settings: - cache_from: cr.wks/distcc:latest - context: _CI-CD/distcc - dockerfile: _CI-CD/distcc/Dockerfile - experimental: "true" - insecure: "true" - purge: "false" - registry: http://cr.wks - repo: cr.wks/distcc - tags: - - latest - - image: plugins/docker - name: debian-testing - settings: - cache_from: cr.wks/debian-testing:latest - context: _CI-CD/debian-testing - dockerfile: _CI-CD/debian-testing/Dockerfile - experimental: "true" - insecure: "true" - purge: "false" - registry: http://cr.wks - repo: cr.wks/debian-testing - tags: - - latest - - - image: plugins/docker - name: rompr - settings: - cache_from: cr.wks/rompr:latest - context: apps/rompr - dockerfile: apps/rompr/Dockerfile - experimental: "true" - insecure: "true" - purge: "false" - registry: http://cr.wks - repo: cr.wks/rompr - tags: - - latest - - image: plugins/docker - name: apt-cacher-ng - settings: - cache_from: cr.wks/apt-cacher-ng:latest - context: apps/apt-cacher-ng - dockerfile: apps/apt-cacher-ng/Dockerfile - experimental: "true" - insecure: "true" - purge: "false" - registry: http://cr.wks - repo: cr.wks/apt-cacher-ng - tags: - - latest - - image: plugins/docker - name: curl - settings: - cache_from: cr.wks/curl:latest - context: apps/curl - dockerfile: apps/curl/Dockerfile - experimental: "true" - insecure: "true" - purge: "false" - registry: http://cr.wks - repo: cr.wks/curl - tags: - - latest - - image: plugins/docker - name: mosquitto - settings: - cache_from: cr.wks/mosquitto:latest - context: apps/mosquitto - dockerfile: apps/mosquitto/Dockerfile - experimental: "true" - insecure: "true" - purge: "false" - registry: http://cr.wks - repo: cr.wks/mosquitto - tags: - - latest - - image: plugins/docker - name: mosquitto-prometheus-exporter - settings: - cache_from: cr.wks/mosquitto-prometheus-exporter:latest - context: apps/mosquitto-prometheus-exporter - dockerfile: apps/mosquitto-prometheus-exporter/Dockerfile - experimental: "true" - insecure: "true" - purge: "false" - registry: http://cr.wks - repo: cr.wks/mosquitto-prometheus-exporter - tags: - - latest - type: docker diff --git a/_CI-CD/debian-stable/bla b/_CI-CD/debian-stable/bla new file mode 100644 index 0000000..e69de29 diff --git a/apps/almond-cloud/Dockerfile b/_apps/almond-cloud/Dockerfile similarity index 100% rename from apps/almond-cloud/Dockerfile rename to _apps/almond-cloud/Dockerfile diff --git a/apps/almond-cloud/deployment.yaml b/_apps/almond-cloud/deployment.yaml similarity index 100% rename from apps/almond-cloud/deployment.yaml rename to _apps/almond-cloud/deployment.yaml diff --git a/apps/almond-cloud/start.sh b/_apps/almond-cloud/start.sh similarity index 100% rename from apps/almond-cloud/start.sh rename to _apps/almond-cloud/start.sh diff --git a/apps/almond-cloud/tekton-image-build.yaml b/_apps/almond-cloud/tekton-image-build.yaml similarity index 100% rename from apps/almond-cloud/tekton-image-build.yaml rename to _apps/almond-cloud/tekton-image-build.yaml diff --git a/apps/apt-cacher-ng/Dockerfile b/_apps/apt-cacher-ng/Dockerfile similarity index 100% rename from apps/apt-cacher-ng/Dockerfile rename to _apps/apt-cacher-ng/Dockerfile diff --git a/apps/apt-cacher-ng/live-deployment.yaml b/_apps/apt-cacher-ng/live-deployment.yaml similarity index 100% rename from apps/apt-cacher-ng/live-deployment.yaml rename to _apps/apt-cacher-ng/live-deployment.yaml diff --git a/apps/authelia/README.md b/_apps/authelia/README.md similarity index 100% rename from apps/authelia/README.md rename to _apps/authelia/README.md diff --git a/apps/authelia/configMaps/configuration.yml b/_apps/authelia/configMaps/configuration.yml similarity index 100% rename from apps/authelia/configMaps/configuration.yml rename to _apps/authelia/configMaps/configuration.yml diff --git a/apps/authelia/deployment.yaml b/_apps/authelia/deployment.yaml similarity index 100% rename from apps/authelia/deployment.yaml rename to _apps/authelia/deployment.yaml diff --git a/apps/codetogether.yaml b/_apps/codetogether.yaml similarity index 100% rename from apps/codetogether.yaml rename to _apps/codetogether.yaml diff --git a/apps/curl/Dockerfile b/_apps/curl/Dockerfile similarity index 100% rename from apps/curl/Dockerfile rename to _apps/curl/Dockerfile diff --git a/apps/docker-registry/README.md b/_apps/docker-registry/README.md similarity index 100% rename from apps/docker-registry/README.md rename to _apps/docker-registry/README.md diff --git a/apps/docker-registry/docker-registry-ui.yaml b/_apps/docker-registry/docker-registry-ui.yaml similarity index 100% rename from apps/docker-registry/docker-registry-ui.yaml rename to _apps/docker-registry/docker-registry-ui.yaml diff --git a/apps/docker-registry/registry-deployment.yaml b/_apps/docker-registry/registry-deployment.yaml similarity index 100% rename from apps/docker-registry/registry-deployment.yaml rename to _apps/docker-registry/registry-deployment.yaml diff --git a/apps/dolibarr/Dockerfile b/_apps/dolibarr/Dockerfile similarity index 100% rename from apps/dolibarr/Dockerfile rename to _apps/dolibarr/Dockerfile diff --git a/apps/dolibarr/README.md b/_apps/dolibarr/README.md similarity index 100% rename from apps/dolibarr/README.md rename to _apps/dolibarr/README.md diff --git a/apps/dolibarr/deployment.yaml b/_apps/dolibarr/deployment.yaml similarity index 100% rename from apps/dolibarr/deployment.yaml rename to _apps/dolibarr/deployment.yaml diff --git a/apps/dolibarr/entrypoint.sh b/_apps/dolibarr/entrypoint.sh similarity index 100% rename from apps/dolibarr/entrypoint.sh rename to _apps/dolibarr/entrypoint.sh diff --git a/apps/dolibarr/nginx-site.configmap.conf b/_apps/dolibarr/nginx-site.configmap.conf similarity index 100% rename from apps/dolibarr/nginx-site.configmap.conf rename to _apps/dolibarr/nginx-site.configmap.conf diff --git a/apps/dolibarr/tekton.yaml b/_apps/dolibarr/tekton.yaml similarity index 100% rename from apps/dolibarr/tekton.yaml rename to _apps/dolibarr/tekton.yaml diff --git a/apps/gitea.yaml b/_apps/gitea.yaml similarity index 100% rename from apps/gitea.yaml rename to _apps/gitea.yaml diff --git a/apps/grav/Dockerfile b/_apps/grav/Dockerfile similarity index 100% rename from apps/grav/Dockerfile rename to _apps/grav/Dockerfile diff --git a/apps/grav/README.md b/_apps/grav/README.md similarity index 100% rename from apps/grav/README.md rename to _apps/grav/README.md diff --git a/apps/grav/deployment.yaml b/_apps/grav/deployment.yaml similarity index 100% rename from apps/grav/deployment.yaml rename to _apps/grav/deployment.yaml diff --git a/apps/grav/docker-entrypoint.sh b/_apps/grav/docker-entrypoint.sh similarity index 100% rename from apps/grav/docker-entrypoint.sh rename to _apps/grav/docker-entrypoint.sh diff --git a/apps/grav/etc_php-fpm/www.conf b/_apps/grav/etc_php-fpm/www.conf similarity index 100% rename from apps/grav/etc_php-fpm/www.conf rename to _apps/grav/etc_php-fpm/www.conf diff --git a/apps/grav/nginx.conf.yaml b/_apps/grav/nginx.conf.yaml similarity index 100% rename from apps/grav/nginx.conf.yaml rename to _apps/grav/nginx.conf.yaml diff --git a/apps/grav/supervisor.conf b/_apps/grav/supervisor.conf similarity index 100% rename from apps/grav/supervisor.conf rename to _apps/grav/supervisor.conf diff --git a/apps/mariadb/README.md b/_apps/mariadb/README.md similarity index 100% rename from apps/mariadb/README.md rename to _apps/mariadb/README.md diff --git a/apps/mariadb/mariadb-deployment.yaml b/_apps/mariadb/mariadb-deployment.yaml similarity index 100% rename from apps/mariadb/mariadb-deployment.yaml rename to _apps/mariadb/mariadb-deployment.yaml diff --git a/apps/mariadb/mariadb-prometheus/Dockerfile b/_apps/mariadb/mariadb-prometheus/Dockerfile similarity index 100% rename from apps/mariadb/mariadb-prometheus/Dockerfile rename to _apps/mariadb/mariadb-prometheus/Dockerfile diff --git a/apps/mariadb/mariadb/Dockerfile b/_apps/mariadb/mariadb/Dockerfile similarity index 100% rename from apps/mariadb/mariadb/Dockerfile rename to _apps/mariadb/mariadb/Dockerfile diff --git a/apps/mariadb/mariadb/docker-entrypoint.sh b/_apps/mariadb/mariadb/docker-entrypoint.sh similarity index 100% rename from apps/mariadb/mariadb/docker-entrypoint.sh rename to _apps/mariadb/mariadb/docker-entrypoint.sh diff --git a/apps/mariadb/tekton-image-build-mariadb-prometheus-exporter.yaml b/_apps/mariadb/tekton-image-build-mariadb-prometheus-exporter.yaml similarity index 100% rename from apps/mariadb/tekton-image-build-mariadb-prometheus-exporter.yaml rename to _apps/mariadb/tekton-image-build-mariadb-prometheus-exporter.yaml diff --git a/apps/mariadb/tekton-image-build-mariadb.yaml b/_apps/mariadb/tekton-image-build-mariadb.yaml similarity index 100% rename from apps/mariadb/tekton-image-build-mariadb.yaml rename to _apps/mariadb/tekton-image-build-mariadb.yaml diff --git a/apps/mosquitto-prometheus-exporter/Dockerfile b/_apps/mosquitto-prometheus-exporter/Dockerfile similarity index 100% rename from apps/mosquitto-prometheus-exporter/Dockerfile rename to _apps/mosquitto-prometheus-exporter/Dockerfile diff --git a/apps/mosquitto/Dockerfile b/_apps/mosquitto/Dockerfile similarity index 100% rename from apps/mosquitto/Dockerfile rename to _apps/mosquitto/Dockerfile diff --git a/apps/mosquitto/deployment.yaml b/_apps/mosquitto/deployment.yaml similarity index 100% rename from apps/mosquitto/deployment.yaml rename to _apps/mosquitto/deployment.yaml diff --git a/apps/mosquitto/docker-entrypoint.sh b/_apps/mosquitto/docker-entrypoint.sh similarity index 100% rename from apps/mosquitto/docker-entrypoint.sh rename to _apps/mosquitto/docker-entrypoint.sh diff --git a/apps/nextcloud/Dockerfile b/_apps/nextcloud/Dockerfile similarity index 100% rename from apps/nextcloud/Dockerfile rename to _apps/nextcloud/Dockerfile diff --git a/apps/nextcloud/README.md b/_apps/nextcloud/README.md similarity index 100% rename from apps/nextcloud/README.md rename to _apps/nextcloud/README.md diff --git a/apps/nextcloud/config.php b/_apps/nextcloud/config.php similarity index 100% rename from apps/nextcloud/config.php rename to _apps/nextcloud/config.php diff --git a/apps/nextcloud/deployment.yaml b/_apps/nextcloud/deployment.yaml similarity index 100% rename from apps/nextcloud/deployment.yaml rename to _apps/nextcloud/deployment.yaml diff --git a/apps/nextcloud/nginx-site.configmap.conf b/_apps/nextcloud/nginx-site.configmap.conf similarity index 100% rename from apps/nextcloud/nginx-site.configmap.conf rename to _apps/nextcloud/nginx-site.configmap.conf diff --git a/apps/nextcloud/post-start.sh b/_apps/nextcloud/post-start.sh similarity index 100% rename from apps/nextcloud/post-start.sh rename to _apps/nextcloud/post-start.sh diff --git a/apps/nextcloud/tekton.yaml b/_apps/nextcloud/tekton.yaml similarity index 100% rename from apps/nextcloud/tekton.yaml rename to _apps/nextcloud/tekton.yaml diff --git a/apps/nodered-deployment.yaml b/_apps/nodered-deployment.yaml similarity index 100% rename from apps/nodered-deployment.yaml rename to _apps/nodered-deployment.yaml diff --git a/apps/ntopng.yaml b/_apps/ntopng.yaml similarity index 100% rename from apps/ntopng.yaml rename to _apps/ntopng.yaml diff --git a/apps/pihole-deployment.yaml b/_apps/pihole-deployment.yaml similarity index 100% rename from apps/pihole-deployment.yaml rename to _apps/pihole-deployment.yaml diff --git a/apps/piwigo/Dockerfile b/_apps/piwigo/Dockerfile similarity index 100% rename from apps/piwigo/Dockerfile rename to _apps/piwigo/Dockerfile diff --git a/apps/piwigo/deployment.yaml b/_apps/piwigo/deployment.yaml similarity index 100% rename from apps/piwigo/deployment.yaml rename to _apps/piwigo/deployment.yaml diff --git a/apps/piwigo/remote_sync.pl b/_apps/piwigo/remote_sync.pl similarity index 100% rename from apps/piwigo/remote_sync.pl rename to _apps/piwigo/remote_sync.pl diff --git a/apps/postgresql-deploy.yaml b/_apps/postgresql-deploy.yaml similarity index 100% rename from apps/postgresql-deploy.yaml rename to _apps/postgresql-deploy.yaml diff --git a/apps/redis.yaml b/_apps/redis.yaml similarity index 100% rename from apps/redis.yaml rename to _apps/redis.yaml diff --git a/apps/rompr/Dockerfile b/_apps/rompr/Dockerfile similarity index 100% rename from apps/rompr/Dockerfile rename to _apps/rompr/Dockerfile diff --git a/apps/rompr/README.md b/_apps/rompr/README.md similarity index 100% rename from apps/rompr/README.md rename to _apps/rompr/README.md diff --git a/apps/rompr/files/nginx_default b/_apps/rompr/files/nginx_default similarity index 100% rename from apps/rompr/files/nginx_default rename to _apps/rompr/files/nginx_default diff --git a/apps/rompr/files/run-httpd b/_apps/rompr/files/run-httpd similarity index 100% rename from apps/rompr/files/run-httpd rename to _apps/rompr/files/run-httpd diff --git a/apps/smarthome/Containerfile b/_apps/smarthome/Containerfile similarity index 100% rename from apps/smarthome/Containerfile rename to _apps/smarthome/Containerfile diff --git a/apps/smarthome/home-assistant.yaml b/_apps/smarthome/home-assistant.yaml similarity index 100% rename from apps/smarthome/home-assistant.yaml rename to _apps/smarthome/home-assistant.yaml diff --git a/apps/smarthome/socat/Containerfile b/_apps/smarthome/socat/Containerfile similarity index 100% rename from apps/smarthome/socat/Containerfile rename to _apps/smarthome/socat/Containerfile diff --git a/apps/smarthome/supervisor.conf b/_apps/smarthome/supervisor.conf similarity index 100% rename from apps/smarthome/supervisor.conf rename to _apps/smarthome/supervisor.conf diff --git a/apps/smarthome/zwave2mqtt.yaml b/_apps/smarthome/zwave2mqtt.yaml similarity index 100% rename from apps/smarthome/zwave2mqtt.yaml rename to _apps/smarthome/zwave2mqtt.yaml diff --git a/bin/.find_changes.sh.swp b/bin/.find_changes.sh.swp new file mode 100644 index 0000000..510115f Binary files /dev/null and b/bin/.find_changes.sh.swp differ diff --git a/bin/find_changes.sh b/bin/find_changes.sh index 88b0bdd..7796656 100755 --- a/bin/find_changes.sh +++ b/bin/find_changes.sh @@ -1,16 +1,14 @@ #!/bin/bash declare -A CH - - - CH=() +i=0 while read line; do WHAT=$(dirname ${line}) - echo "LIN: ${line} WHAT: ${WHAT}" - echo $CH -done < <(git diff-tree --no-commit-id --name-only HEAD -r) -echo ${CH} - + #echo "LIN: ${line} WHAT: ${WHAT}" + CH[$i]=$WHAT + i=$((i++)) +done < <(git diff-tree --no-commit-id --name-only HEAD -r| egrep '^_') +echo "UNIQ:" UNIQ=$(echo ${CH} |sort |uniq) -echo ${UNIQ} \ No newline at end of file +echo ${UNIQ}