diff options
Diffstat (limited to '.github/workflows/ci_pipeline.yml')
-rw-r--r-- | .github/workflows/ci_pipeline.yml | 45 |
1 files changed, 40 insertions, 5 deletions
diff --git a/.github/workflows/ci_pipeline.yml b/.github/workflows/ci_pipeline.yml index 159cdf85..d7ba7bba 100644 --- a/.github/workflows/ci_pipeline.yml +++ b/.github/workflows/ci_pipeline.yml @@ -191,6 +191,13 @@ jobs: command: deb args: -p tedge_agent + - name: Build tedge_watchdog debian package + uses: actions-rs/cargo@v1 + # https://github.com/marketplace/actions/rust-cargo + with: + command: deb + args: -p tedge_watchdog + - name: Build c8y_log_plugin debian package uses: actions-rs/cargo@v1 # https://github.com/marketplace/actions/rust-cargo @@ -310,6 +317,9 @@ jobs: - name: Strip tedge_agent run: arm-linux-gnueabihf-strip target/${{ matrix.target }}/release/tedge_agent || aarch64-linux-gnu-strip target/${{ matrix.target }}/release/tedge_agent + - name: Strip tedge_watchdog + run: arm-linux-gnueabihf-strip target/${{ matrix.target }}/release/tedge_watchdog || aarch64-linux-gnu-strip target/${{ matrix.target }}/release/tedge_watchdog + - name: Strip tedge_apt_plugin run: arm-linux-gnueabihf-strip target/${{ matrix.target }}/release/tedge_apt_plugin || aarch64-linux-gnu-strip target/${{ matrix.target }}/release/tedge_apt_plugin @@ -343,6 +353,13 @@ jobs: command: deb args: -p tedge_agent --no-strip --no-build --target=${{ matrix.target }} + - name: build tedge_watchdog debian package for target + uses: actions-rs/cargo@v1 + # https://github.com/marketplace/actions/rust-cargo + with: + command: deb + args: -p tedge_watchdog --no-strip --no-build --target=${{ matrix.target }} + - name: build tedge_apt_plugin debian package for target uses: actions-rs/cargo@v1 # https://github.com/marketplace/actions/rust-cargo @@ -444,7 +461,7 @@ jobs: continue-on-error: true - name: purge - run: sudo dpkg -P c8y_configuration_plugin tedge_agent c8y_log_plugin tedge_mapper tedge_apt_plugin tedge_apama_plugin tedge mosquitto libmosquitto1 collectd-core + run: sudo dpkg -P c8y_configuration_plugin tedge_agent c8y_log_plugin tedge_mapper tedge_apt_plugin tedge_apama_plugin tedge_watchdog tedge mosquitto libmosquitto1 collectd-core - name: install mosquitto run: sudo apt-get --assume-yes install mosquitto @@ -464,6 +481,9 @@ jobs: - name: install tedge agent package run: sudo dpkg -i ./debian-package_unpack/tedge_agent_*_amd64.deb + - name: install tedge watchdog package + run: sudo dpkg -i ./debian-package_unpack/tedge_watchdog_*_amd64.deb + - name: install tedge plugin packages run: sudo dpkg -i ./debian-package_unpack/tedge_*_plugin_*_amd64.deb @@ -520,6 +540,9 @@ jobs: - name: install tedge agent package run: sudo dpkg -i ./debian-package_unpack/tedge_agent_*_amd64.deb + - name: install tedge watchdog package + run: sudo dpkg -i ./debian-package_unpack/tedge_watchdog_*_amd64.deb + - name: install tedge plugin packages run: sudo dpkg -i ./debian-package_unpack/tedge_*_plugin_*_amd64.deb @@ -587,7 +610,7 @@ jobs: continue-on-error: true - name: purge - run: sudo dpkg -P c8y_configuration_plugin tedge_agent c8y_log_plugin tedge_mapper tedge_apt_plugin tedge_apama_plugin tedge mosquitto-clients mosquitto libmosquitto1 collectd-core collectd + run: sudo dpkg -P c8y_configuration_plugin tedge_agent c8y_log_plugin tedge_mapper tedge_apt_plugin tedge_apama_plugin tedge_watchdog tedge mosquitto-clients mosquitto libmosquitto1 collectd-core collectd - name: install mosquitto run: sudo apt-get --assume-yes install mosquitto @@ -610,6 +633,9 @@ jobs: - name: install tedge agent package run: sudo dpkg -i ./debian-package_unpack/tedge_agent_*_armhf.deb + - name: install tedge watchdog package + run: sudo dpkg -i ./debian-package_unpack/tedge_watchdog_*_armhf.deb + - name: install tedge plugin packages run: sudo dpkg -i ./debian-package_unpack/tedge_*_plugin_*_armhf.deb @@ -711,7 +737,7 @@ jobs: continue-on-error: true - name: purge - run: sudo dpkg -P c8y_configuration_plugin tedge_agent c8y_log_plugin tedge_mapper tedge_apt_plugin tedge_apama_plugin tedge mosquitto-clients mosquitto libmosquitto1 collectd-core collectd + run: sudo dpkg -P c8y_configuration_plugin tedge_agent c8y_log_plugin tedge_mapper tedge_apt_plugin tedge_apama_plugin tedge_watchdog tedge mosquitto-clients mosquitto libmosquitto1 collectd-core collectd - name: install mosquitto run: sudo apt-get --assume-yes install mosquitto @@ -734,6 +760,9 @@ jobs: - name: install tedge agent package run: sudo dpkg -i ./debian-package_unpack/tedge_agent_*_armhf.deb + - name: install tedge watchdog package + run: sudo dpkg -i ./debian-package_unpack/tedge_watchdog_*_armhf.deb + - name: install tedge plugin packages run: sudo dpkg -i ./debian-package_unpack/tedge_*_plugin_*_armhf.deb @@ -836,7 +865,7 @@ jobs: continue-on-error: true - name: purge - run: sudo dpkg -P c8y_configuration_plugin tedge_agent c8y_log_plugin tedge_mapper tedge_apt_plugin tedge_apama_plugin tedge mosquitto-clients mosquitto libmosquitto1 collectd-core collectd + run: sudo dpkg -P c8y_configuration_plugin tedge_agent c8y_log_plugin tedge_mapper tedge_apt_plugin tedge_apama_plugin tedge_watchdog tedge mosquitto-clients mosquitto libmosquitto1 collectd-core collectd - name: install mosquitto run: sudo apt-get --assume-yes install mosquitto @@ -859,6 +888,9 @@ jobs: - name: install tedge agent package run: sudo dpkg -i ./debian-package_unpack/tedge_agent_*_armhf.deb + - name: install tedge watchdog package + run: sudo dpkg -i ./debian-package_unpack/tedge_watchdog_*_armhf.deb + - name: install tedge plugin packages run: sudo dpkg -i ./debian-package_unpack/tedge_*_plugin_*_armhf.deb @@ -961,7 +993,7 @@ jobs: continue-on-error: true - name: purge - run: sudo dpkg -P c8y_configuration_plugin tedge_agent c8y_log_plugin tedge_mapper tedge_apt_plugin tedge_apama_plugin tedge mosquitto-clients mosquitto libmosquitto1 collectd-core collectd + run: sudo dpkg -P c8y_configuration_plugin tedge_agent c8y_log_plugin tedge_mapper tedge_apt_plugin tedge_apama_plugin tedge_watchdog tedge mosquitto-clients mosquitto libmosquitto1 collectd-core collectd - name: install mosquitto run: sudo apt-get --assume-yes install mosquitto @@ -984,6 +1016,9 @@ jobs: - name: install tedge agent package run: sudo dpkg -i ./debian-package_unpack/tedge_agent_*_armhf.deb + - name: install tedge watchdog package + run: sudo dpkg -i ./debian-package_unpack/tedge_watchdog_*_armhf.deb + - name: install tedge plugin packages run: sudo dpkg -i ./debian-package_unpack/tedge_*_plugin_*_armhf.deb |