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

95 Коммитов

Автор SHA1 Сообщение Дата
Filiberto Fuentes f7389ac9c0 Using env variables to get the right version of the extension 2024-01-08 21:05:42 +00:00
root 61b11f9989 Add functionality to disable service and enable it when indicated by the user 2024-01-04 19:53:58 +00:00
root 27c9563d38 Make improvements to service handler. Add unit tests 2024-01-03 20:58:22 +00:00
Filiberto Fuentes 663e7feb89 Install service only when it still does not exist 2023-12-14 17:38:05 +00:00
Filiberto Fuentes 566e2e6dab Clean loggging 2023-12-14 17:25:26 +00:00
Filiberto Fuentes 977707aea3 Add code to enable service to start at system boot 2023-12-14 17:24:44 +00:00
Filiberto Fuentes d5cbe5e896 Revert unwanted change and improve logging 2023-12-12 17:40:31 +00:00
Filiberto Fuentes 049720cd2d Fix working directory of run command. Fix type of message in logs 2023-12-12 17:12:59 +00:00
Filiberto Fuentes bd91ea5789 Add logs to serviceinstall.go. Apply RunCommand actions only when installAsService==true. Add a new go class to pingcontinously ping an API to emulate the behavior of the service always running. 2023-12-11 22:13:01 +00:00
Filiberto Fuentes 9e1232ae8c Rename some functions. Add functionality needed in main.go to install/upgrade/uninstal/etc the run command service 2023-12-07 21:55:01 +00:00
Filiberto Fuentes 74e7763165 Add serviceinstall.go with functionalities to register runcommand as a service 2023-12-06 22:02:48 +00:00
Viv Lingaiah 4c3077276e
Do not write status file under root directory at the start of RC execution (#26)
* Do not write status file under root directory at the start of RC execution

* small change -remove status_file_path method
2023-10-17 10:05:26 -07:00
Viv Lingaiah 792da3dba8
Handle negative cases for TreatFailureAsDeploymentFailure flag (#23)
* Fix TreatFailureAsDeploymentFailure flag

* Handler more cases for treatFailureAsDeploymentFailure

* Add tests related to testFailureAsDeploymentFailure flag
2023-07-17 17:00:20 -07:00
Praneet Sharma c060b84bd0
Fixing bug where TimeoutInSeconds wasn't getting used in running bash command (#22) 2023-06-16 09:03:13 -07:00
norakoiralamsft d8b61c9490
Merge pull request #20 from norakoiralamsft/norakoirala/final-scripts-settings
Clear scripts and settings except for most recent one
2023-05-19 16:16:44 -07:00
Nora Koirala (SHE/HER) 65910d7437 settings and scripts changes 2023-05-11 09:51:22 -07:00
Viv Lingaiah 341f9f68de
Fix error message for outputBlob/errorBlob using managed identity (#19) 2023-05-02 16:10:40 -07:00
Viv Lingaiah 90d6092541
Add TreatFailureAsDeploymentFailure (#18) 2023-04-06 11:04:48 -07:00
Viv Lingaiah 9a18359340
Small change for Architecture variable in shim file (#17) 2023-03-17 18:18:30 -07:00
deeptivaidymsft cb1307f7ad
Merge pull request #12 from Azure/dev/deeptivai/trackDownloadInfoRC
Track Request ID, Response ID, and Response Code + Add response-code-specific error messages
2023-03-06 14:52:45 -08:00
Deepti Vaidyanathan c970d96dff Adds default error string 2023-03-03 21:51:22 +00:00
Deepti Vaidyanathan bfa6c0d67b Fixes/removes tests that would fail in lab, adds tests that mock error codes, and fixes error code grammar 2023-03-03 21:51:22 +00:00
Deepti Vaidyanathan 52cb2fc473 Fixes executables by building under go 1.18 2023-03-03 21:51:08 +00:00
Deepti Vaidyanathan ab7fca48ed Fixes error messages that were misformatted 2023-03-03 21:49:58 +00:00
Viv Lingaiah 4e30759ba7
Increment to version 1.3.3 - Managed identities to download and upload blobs (#13) 2023-02-17 10:43:46 -08:00
Deepti Vaidyanathan 2a458b2a8b Fixes blobWithMsiToken switch statement and tests 2023-02-09 00:39:52 +00:00
Deepti Vaidyanathan 6e14e6e78b Tracks request and response ID and adds enhanced error messages for common status codes 2023-02-09 00:39:52 +00:00
Viv Lingaiah 34c16bc772
Try fix azidentity, appendblob imports, remove vendor dir (#11) 2023-02-08 16:32:42 -08:00
Viv Lingaiah a8acd7e496
[RCv2] Download scripts and write output and error to blobs using managed identities (#3)
* Use managed identities for script blob download

* go get Azure/azure-sdk-for-go/storage/appendblob

* Write to output and error blobs using managed identities, without tests

* Fix GetSequenceNumberFromConfig for MultiConfig

* Add logging for sequence number from config folder

* Fix RunAs RunCommand for Linux (rewrite sort-of) (#4)

* Fix RunAs RunCommand (rewrite sort-of)

* Update executionState for failed Run COmmand

* address feedback

* Address feedback

* Address comment

* Address comment

Co-authored-by: Viv Lingaiah <vivekl@Viv11.redmond.corp.microsoft.com>

* Do not write RunAs password in text file (#5)

Co-authored-by: Viv Lingaiah <vivekl@Viv11.redmond.corp.microsoft.com>

* Increment RunCommand v2 Linux version to 1.3.2 for GA (#6)

Co-authored-by: Viv Lingaiah <vivekl@Viv11.redmond.corp.microsoft.com>

* Support nested directories for output and error blobs (#7)

Co-authored-by: Viv Lingaiah <vivekl@Viv11.redmond.corp.microsoft.com>

* Use managed identities for script blob download

* All manual tests passing

* add test

* Address feedback 0

* Test for system identity vs otherwise

---------

Co-authored-by: Viv Lingaiah <vivekl@Viv11.redmond.corp.microsoft.com>
2023-01-30 14:38:06 -08:00
Viv Lingaiah 6efb77e0fe
Support nested directories for output and error blobs (#7)
Co-authored-by: Viv Lingaiah <vivekl@Viv11.redmond.corp.microsoft.com>
2022-10-31 13:49:48 -07:00
Viv Lingaiah ae64c01b7e
Increment RunCommand v2 Linux version to 1.3.2 for GA (#6)
Co-authored-by: Viv Lingaiah <vivekl@Viv11.redmond.corp.microsoft.com>
2022-10-28 15:05:22 -07:00
Viv Lingaiah 8c53004e02
Do not write RunAs password in text file (#5)
Co-authored-by: Viv Lingaiah <vivekl@Viv11.redmond.corp.microsoft.com>
2022-10-28 13:47:36 -07:00
Viv Lingaiah fcb29c5168
Fix RunAs RunCommand for Linux (rewrite sort-of) (#4)
* Fix RunAs RunCommand (rewrite sort-of)

* Update executionState for failed Run COmmand

* address feedback

* Address feedback

* Address comment

* Address comment

Co-authored-by: Viv Lingaiah <vivekl@Viv11.redmond.corp.microsoft.com>
2022-10-27 13:32:10 -07:00
Viv Lingaiah 63e98f8b38
Merge pull request #2 from Azure/dev/vivekl/fixGetSequenceNumber
Fix Get sequence number from config folder
2022-10-21 02:52:48 +05:30
Viv Lingaiah 2fb356f6d1 Add logging for sequence number from config folder 2022-09-26 05:45:54 -07:00
Viv Lingaiah 3f8c6b3eba Fix GetSequenceNumberFromConfig for MultiConfig 2022-09-05 16:32:40 -07:00
Atanas Koralski 2c5a3e80cb New release version 2021-11-26 23:17:55 -08:00
Atanas Koralski d41e5b2643 Fix blob operaions with SAS 2021-11-26 23:11:45 -08:00
Atanas Koralski 206e76a531 Initial implementation 2021-11-13 00:51:56 -08:00
Microsoft Open Source cae17943dd README.md updated to template 2021-11-12 22:37:05 -08:00
Microsoft Open Source 3a04c8a476 SUPPORT.md committed 2021-11-12 22:37:05 -08:00
Microsoft Open Source 110fffebae SECURITY.md committed 2021-11-12 22:37:04 -08:00
Microsoft Open Source edc8dc07d9 LICENSE updated to template 2021-11-12 22:37:03 -08:00
Microsoft Open Source a33ae7303b CODE_OF_CONDUCT.md committed 2021-11-12 22:37:03 -08:00
Atanas Koralski f9ddc53302
Initial commit 2021-11-12 15:32:29 -08:00