Open kenhys opened 1 week ago
Expected to be used with:
ruby make-install-script.rb /work/fluent/fluent-package-builder/fluentd.cdn.cncf.io --channel 5 --verify -d
Template path: /work/fluent/fluent-package-builder/f-p-b.repo/fluent-package/make-install-script.erb
Processing fluent-package 5 ...
Generated: /work/fluent/fluent-package-builder/fluentd.cdn.cncf.io/sh/install-redhat-fluent-package5.sh
[OK] Compared with: https://toolbelt.treasuredata.com/sh/install-redhat-fluent-package5.sh
Generated: /work/fluent/fluent-package-builder/fluentd.cdn.cncf.io/sh/install-amazon2-fluent-package5.sh
[OK] Compared with: https://toolbelt.treasuredata.com/sh/install-amazon2-fluent-package5.sh
Generated: /work/fluent/fluent-package-builder/fluentd.cdn.cncf.io/sh/install-amazon2023-fluent-package5.sh
[OK] Compared with: https://toolbelt.treasuredata.com/sh/install-amazon2023-fluent-package5.sh
Generated: /work/fluent/fluent-package-builder/fluentd.cdn.cncf.io/sh/install-ubuntu-noble-fluent-package5.sh
[OK] Compared with: https://toolbelt.treasuredata.com/sh/install-ubuntu-noble-fluent-package5.sh
Generated: /work/fluent/fluent-package-builder/fluentd.cdn.cncf.io/sh/install-ubuntu-jammy-fluent-package5.sh
[OK] Compared with: https://toolbelt.treasuredata.com/sh/install-ubuntu-jammy-fluent-package5.sh
Generated: /work/fluent/fluent-package-builder/fluentd.cdn.cncf.io/sh/install-ubuntu-focal-fluent-package5.sh
[OK] Compared with: https://toolbelt.treasuredata.com/sh/install-ubuntu-focal-fluent-package5.sh
Generated: /work/fluent/fluent-package-builder/fluentd.cdn.cncf.io/sh/install-debian-bullseye-fluent-package5.sh
[OK] Compared with: https://toolbelt.treasuredata.com/sh/install-debian-bullseye-fluent-package5.sh
Generated: /work/fluent/fluent-package-builder/fluentd.cdn.cncf.io/sh/install-debian-bookworm-fluent-package5.sh
[OK] Compared with: https://toolbelt.treasuredata.com/sh/install-debian-bookworm-fluent-package5.sh
Generated: /work/fluent/fluent-package-builder/fluentd.cdn.cncf.io/sh/install-redhat-fluent-package5-lts.sh
[OK] Compared with: https://toolbelt.treasuredata.com/sh/install-redhat-fluent-package5-lts.sh
Generated: /work/fluent/fluent-package-builder/fluentd.cdn.cncf.io/sh/install-amazon2-fluent-package5-lts.sh
[OK] Compared with: https://toolbelt.treasuredata.com/sh/install-amazon2-fluent-package5-lts.sh
Generated: /work/fluent/fluent-package-builder/fluentd.cdn.cncf.io/sh/install-amazon2023-fluent-package5-lts.sh
[OK] Compared with: https://toolbelt.treasuredata.com/sh/install-amazon2023-fluent-package5-lts.sh
Generated: /work/fluent/fluent-package-builder/fluentd.cdn.cncf.io/sh/install-ubuntu-noble-fluent-package5-lts.sh
[OK] Compared with: https://toolbelt.treasuredata.com/sh/install-ubuntu-noble-fluent-package5-lts.sh
Generated: /work/fluent/fluent-package-builder/fluentd.cdn.cncf.io/sh/install-ubuntu-jammy-fluent-package5-lts.sh
[OK] Compared with: https://toolbelt.treasuredata.com/sh/install-ubuntu-jammy-fluent-package5-lts.sh
Generated: /work/fluent/fluent-package-builder/fluentd.cdn.cncf.io/sh/install-ubuntu-focal-fluent-package5-lts.sh
[OK] Compared with: https://toolbelt.treasuredata.com/sh/install-ubuntu-focal-fluent-package5-lts.sh
Generated: /work/fluent/fluent-package-builder/fluentd.cdn.cncf.io/sh/install-debian-bullseye-fluent-package5-lts.sh
[OK] Compared with: https://toolbelt.treasuredata.com/sh/install-debian-bullseye-fluent-package5-lts.sh
Generated: /work/fluent/fluent-package-builder/fluentd.cdn.cncf.io/sh/install-debian-bookworm-fluent-package5-lts.sh
[OK] Compared with: https://toolbelt.treasuredata.com/sh/install-debian-bookworm-fluent-package5-lts.sh
3, 4, and 5 was supported.
2, 2.5 was supported.
It might better to refactor more.
And need to archive current install script.
Supported to make installation scripts archive.
Still 2.5 target is broken.
How to verify
it creates installation script backup under toolbelt/*
It checks installation script under PATH_TO_REPOSITORY and verify it with https://toolbelt.treasuredata.com
It checks installation script under PATH_TO_REPOSITORY and verify it with locally backup installation script.
Currently, fluent-package install script is hosted on https://toolbelt.treasuredata.com and maintained under private repository.
It rely on deploying commercial cloud service and if we lost access to that private repository, can't manage them anymore. As a workaround, support to generate similar install script and upload it as static file.