Граф коммитов

133 Коммитов

Автор SHA1 Сообщение Дата
vikas0212git a4cb022586 update docker rm command 2021-06-11 16:40:49 -07:00
vikas0212git 969b458e3d Rename template yaml file and add docker cleanup command 2021-06-11 15:22:19 -07:00
vikas0212git ff46384fce Remove docker cleanup code from task 2021-06-11 12:55:53 -07:00
vikas0212git e9a3945d93 Move cleanup task to run before running test 2021-06-11 12:53:33 -07:00
vikas0212git fef73bba20 Revert changes from install-edge-runtime.sh, add another job to pipeline for MS hosted Ubuntu agent and add another template to run cleanup of pakages from self hosted VMs 2021-06-11 12:47:08 -07:00
vikas0212git 1b8649fc5a Add -y to apt purge command 2021-06-10 14:34:28 -07:00
vikas0212git aea3ce0bee Add sudo for purge command 2021-06-10 14:30:22 -07:00
vikas0212git 2ca65dd89c Enable setup task in pipeline, and add purge of aziot-edge package if exist 2021-06-10 14:23:17 -07:00
vikas0212git 684341e585 Enable setup task in pipeline, and add purge of aziot-edge package if exist 2021-06-10 14:21:43 -07:00
Vikas 7a8de8822b Test by commenting out setup task 2021-06-10 13:36:34 -07:00
vikas0212git 1824d77823 Fixing typo 2021-05-28 15:21:23 -07:00
vikas0212git dc4dc78674 Update task to run self hosted agent and move setup task to template 2021-05-28 15:19:05 -07:00
Haitham Shami c4eaaefe94
User/hshami/client unique (#32)
* code

* print errors from run

* use redirect output

* collect more info on e2e failures

* fg install for edge-runtime

* more logging

* desperation

* desperation - 2

* nm

* use existing sources list?

* PR feedback - pass 1

* latest PR comments

* the quiet choice
2021-05-28 11:18:09 -07:00
Mariana Mihova 634c93385a
E2E runs should not trigger telemetry (#30) 2021-05-26 15:44:18 -07:00
Mariana Mihova a65f9c5c04
Calculate runtime duration (#29)
* Calculate runtime duration

* Pass duration as parameter
2021-05-26 14:30:22 -07:00
Cindy Deng 1504643031
Merge pull request #27 from Azure/user/xinzed/telemetry-setup
User/xinzed/telemetry setup
2021-05-26 13:07:44 -07:00
Cindy Deng f38b1e3dd3 more PR comments 2021-05-26 12:07:28 -07:00
Cindy Deng c8652aa6be forgot to remove echo and changed instrument key to team app insight 2021-05-26 11:53:08 -07:00
Cindy Deng f40ef60b30 address PR comments 2021-05-26 11:44:26 -07:00
Cindy Deng 36bbe44dec Merge branch 'main' into user/xinzed/telemetry-setup 2021-05-26 10:05:39 -07:00
Cindy Deng c0dca0e13e some PR changes 2021-05-26 10:05:10 -07:00
Haitham Shami d894d67306
fix opt-in flag (#28)
* fix opt-in flag

* no eol in log_xyz
2021-05-26 10:02:16 -07:00
Cindy Deng 5bc214b16e merge from main 2021-05-25 16:23:26 -07:00
Cindy Deng 953897d558 add appinsight telemetry function 2021-05-25 16:22:34 -07:00
Haitham Shami 93a358a44c
User/hshami/error cdes etc (#26)
* 1- error codes. 2- long running process is protected from ctrl-c, 3- interrupt handlers, 4- capture std output and std error

* added missing brackets

* two more long running commands

* never mind

* append, do not replace

* apt-get

* true==1

* improved logg details

* improved logg details

* fix spacing per PR
2021-05-25 13:40:33 -07:00
Haitham Shami 236507aafb
User/hshami/fix check runtime existing (#25)
* handle case where edge runtime is already installed

* break down the key steps

* fix exit code log_info
2021-05-21 15:07:47 -07:00
Haitham Shami 22caead206
add telemetry flag machinery (#24)
* add telemetry flag machinery

* ut

* PR feedback

* update pipeline to include new ut

* perf pipeline issue?

* 1-reduce noise caused by Azure VM, and 2-address PR feedback

* wget failed?
2021-05-19 12:49:51 -07:00
Haitham Shami f822049d6b
echo green (#23)
* echo green

* PR comment
2021-05-19 09:43:11 -07:00
Mariana Mihova 033bb4d6b4
Fix E2E pipeline and increment the version (#17)
* Add parameters to script call

* fix e2e yml and some output

* fix source paths

* fix source paths

* line endings to Unix

* add unit test output + remove setup step for unit test pipeline

* Test local files

* Add copyrights

* Remove empty unit test files from yml

* Fix psot install validation bug

* Fix e2e cd location

* Quote angle brackets

* Allow for changes to propagate

* Set test result correctly on success

* Publish logs as artifacts

* Address PR feedback

* Remove log publishing

* Fix unit test source

* Fix unit test source

* Ubuntu 20.04 is not supported by this script
2021-05-18 20:55:37 -07:00
Mariana Mihova 769d4903cf
rpi os version update (#22)
* rpi os version update

* PR feedback
2021-05-17 16:38:26 -07:00
Haitham Shami 0c97af9eb7
Usr/hshami/pre bug bash (#21)
* dos 2 unix test scripts

* firt bug - version string is in the wrong location

* fix printf

* fix typo per PR feedback
2021-05-17 13:33:37 -07:00
Haitham Shami d402302281
dos 2 unix test scripts (#20) 2021-05-17 11:28:18 -07:00
Haitham Shami f56d95b67c
update command line argument parser (#19)
* update command line argument parser

* update with PR feedback
2021-05-17 10:47:19 -07:00
Cindy Deng d7cd9f85e3
Merge pull request #18 from Azure/user/xinzed/install-edge
validate existing edge installation
2021-05-14 16:19:48 -07:00
Cindy Deng 7cf4536970 merge with main 2021-05-14 16:12:56 -07:00
Cindy Deng 9a1a504220 check if edge is already installed 2021-05-14 16:09:54 -07:00
Mariana Mihova f017e3d005
post install validation (#16)
* post install validation

* case insensitive comparison + unit tests

* PR feedback
2021-05-14 15:23:24 -07:00
Cindy Deng a2bd84dbd9
Install Edge Runtime Core Logic (#14)
* string replacement init

* string substitution for connection string

* replace DPS section

* tested on ubuntu

* bug fix: make sure to prepare_apt no matter if a container management exist or not

* fixes based on side discussions

* put back get_platform

* raspbian is happy

* only supporting stretch

* simplify

* silly mistakes

* to production

* fix dos 2 unix

* remove ()

Co-authored-by: Haitham Shami <hshami@microsoft.com>
2021-05-14 13:35:46 -07:00
Haitham Shami f339a3c50f ensure that required paramerts are provided 2021-05-14 10:28:24 -07:00
Haitham Shami 4e2ac9ca0c move using utils until after it has been downloaded 2021-05-14 09:47:09 -07:00
Haitham Shami f2f4434d43 remove () 2021-05-14 06:27:04 -07:00
Haitham Shami e5eb1e6bbc fix dos 2 unix 2021-05-14 06:23:23 -07:00
Haitham Shami ac46938a6f merge with main 2021-05-14 06:13:34 -07:00
Haitham Shami 15a8c17f76
Usr/hshami/mis fixes from prs (#15)
* fixes based on side discussions

* put back get_platform

* raspbian is happy

* only supporting stretch

* simplify

* silly mistakes

* to production
2021-05-14 05:44:53 -07:00
Haitham Shami 0f4cccc13f latest 2021-05-14 05:41:07 -07:00
Haitham Shami db4d9e430b to production 2021-05-13 18:40:09 -07:00
Haitham Shami 58eec6f076 silly mistakes 2021-05-13 18:34:30 -07:00
Haitham Shami 62f8d76576 simplify 2021-05-13 18:21:52 -07:00
Haitham Shami 155a997029 only supporting stretch 2021-05-13 18:12:51 -07:00
Haitham Shami 08cb245650 raspbian is happy 2021-05-13 18:07:32 -07:00