Skip to content

Commit

Permalink
Task #4111576: Add TFS upgrade script (#279)
Browse files Browse the repository at this point in the history
  • Loading branch information
Miryam-Schwartz authored Nov 27, 2024
1 parent 22cf5b8 commit 2507093
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/fluentd_telemetry_plugin/build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ COPY utils/ ${BASE_PATH}/utils/
COPY ufm_sdk_tools/ ${BASE_PATH}/ufm_sdk_tools/

COPY ${SRC_BASE_DIR}/conf/supervisord.conf /etc/supervisor/conf.d/
COPY ${SRC_BASE_DIR}/scripts/init.sh ${SRC_BASE_DIR}/scripts/deinit.sh /
COPY ${SRC_BASE_DIR}/scripts/init.sh ${SRC_BASE_DIR}/scripts/deinit.sh ${SRC_BASE_DIR}/scripts/upgrade.sh /
COPY ${SRC_BASE_DIR}/conf/tfs_httpd_proxy.conf ${SRC_BASE_DIR}/conf/fluentd_telemetry_plugin.cfg ${SRC_BASE_DIR}/conf/fluentd.conf ${BASE_PATH}/

COPY ${SRC_BASE_DIR}/lib/libfluent-bit.so ${SRC_BASE_DIR}/lib/libraw_msgpack_api.so ${TELEMETRY_BASE_PATH}/collectx/lib/
Expand Down
3 changes: 3 additions & 0 deletions plugins/fluentd_telemetry_plugin/scripts/upgrade.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
python3 /opt/ufm/ufm_plugin_tfs/ufm_sdk_tools/src/config_parser_utils/merge_configuration_files.py /config/fluentd_telemetry_conf.cfg /opt/ufm/ufm_plugin_tfs/fluentd_telemetry_plugin/conf/fluentd_telemetry_plugin.cfg
exit $?

0 comments on commit 2507093

Please sign in to comment.