Commit Graph

1420 Commits

Author SHA1 Message Date
a3f1d59f70 Set autocrlf by default, update affected files (#2261) 2022-08-17 13:07:20 +12:00
2382ce5ca5 migrate webhooks (#2254)
* migrate webhooks

* webhook_logs and webhook_ping

* fix saving uri to db

* fix tests

* fix deploy.py
2022-08-16 12:20:16 -07:00
643e61e0fd fix deploy.py (#2258) 2022-08-16 10:51:18 -07:00
8738ef0044 timer workers fix up (#2257)
* timer workers fix up

* remove unused includes

* revert breaking changes

* update autoscale definition

Co-authored-by: stas <statis@microsoft.com>
2022-08-15 20:20:46 -07:00
90d3ec987b Port TimerWorkers to C# (#2235)
* Port TimerWorkers to C#

* test logs

* ..

* Some VMSS extensions have settings as null

* fix for

Cannot set DoNotRunExtensionsOnOverprovisionedVMs to true on Virtual Machine Scale Set which does not have overprovision enabled.

Co-authored-by: stas <statis@microsoft.com>
2022-08-15 16:54:48 -07:00
32659fe026 Add generic dotnet_crash_report task (#2250) 2022-08-15 12:56:45 -07:00
b4a3905495 Convert the remaining events to the C# (#2253)
Added a new attribute to associate  the enum to the event class
2022-08-15 12:05:04 -07:00
15d92cad52 Retry on "No connection could be made because target machine actively… (#2252)
* Retry on "No connection could be made because target machine actively refused it" when connecting debugger using create_and_connect command

* limit number of retries

Co-authored-by: stas <statis@microsoft.com>
2022-08-15 09:24:26 -07:00
ef0367cb7a Make log sinks a singleton (#2247)
* Make log sinks a singleton, continue passing new log tracer for every invocation

* Remove no longer used code
2022-08-15 14:42:24 +00:00
dcb3096d79 Bump to Rust 1.63 (#2243)
* Bump to Rust 1.63

* Fix clippy warnings

* Suppress clippy warning

* More clippy fixes

* Print cargo-license version

* Ignore unmaintained warning

* Pin cargo-license to 0.4.2, 0.5 breaks us

* Suppress in proxy build as well

* More Eqs

* More clippy fixes
2022-08-15 09:39:32 -04:00
023a31fee3 Release 5.10.0 (#2245)
* Release-5.10.0
Co-authored-by: Marc Greisen <mgreisen@microsoft.com>
Co-authored-by: Teo Voinea <58236992+tevoinea@users.noreply.github.com>
5.10.0
2022-08-12 13:32:05 -07:00
46f4aac805 Default must be greater than or equal to minimum (#2248) 2022-08-12 14:40:55 -04:00
dc43242e0c Detecting the use of OneFuzz by recommending a .onefuzz file (#2236)
* getting started

* PR fixes

* getting started

* PR fixes

Co-authored-by: Marc Greisen <mgreisen@microsoft.com>
2022-08-11 16:26:23 -07:00
660d943824 Adjust auto scale to scale down nodes on shutdown (#2232)
* Only scale down when scale set in shutdown state

* Bug fix + explaing the logic a bit better

* Fix some bugs

* linting and bug fixes

* lint

* Actually now

* I'm not writing sql

* last try

* It's working

* lint

* Small docs update
2022-08-11 18:26:39 +00:00
c798659d0e migrate tasks (#2233)
* migrate task

* cleanup

* NotSupported instead of NotImplemented

* address pr comments
fix function name

* fix default value

* rename base state

* add caching

* return the task when deleting

* build fix

* format
2022-08-10 18:56:07 -07:00
e3e001a172 Convert pool function to C# (#2178)
#2177
2022-08-11 09:29:13 +12:00
20faf88902 Change some NotImplementedException to NotSupportedException (#2234) 2022-08-09 21:07:10 +00:00
d15d80cd64 Enable containers function (#2197)
Fixup auth and enable function.
2022-08-09 01:16:57 +00:00
f5afbf8932 Fix Queue Issue for WebhookOperations. (#2231)
* Fix Queue Issue for WebhookOperations.

* Fix formatting.
2022-08-08 16:17:20 -07:00
cd356e277f Enable TimerRetention (#2228)
Co-authored-by: stas <statis@microsoft.com>
2022-08-08 13:53:42 -07:00
7c0ac7a654 Add repro operations (#2222)
* Add repro operations

* bug fixes

* fmt

* The python code overwrites the security rules

* small logic bug got reintroduced
2022-08-08 19:59:07 +00:00
ceb5d6d5f9 Update Default Windows Image (#2226)
* Update Function Scaling Policy and Diagnostic Settings.

* Adding changes to scaling policy

* UPdating cooldown.

* Changing time windows.

* Updating duration.

* Updating Out-of-Date Windows Image.

* Adding repro operations back.

* Removing bad files.
2022-08-08 11:40:55 -07:00
26f9667777 add secure decorator to clientSecret param (#2224) 2022-08-05 17:56:27 -07:00
9c927a846f Add libfuzzer_dotnet_fuzz task to agent (#2221) 2022-08-05 10:00:19 -07:00
b32e8c8825 enable timer daily (#2220) 2022-08-05 15:49:47 +00:00
6ca64b3eeb migrate repro_vmss (#2211)
* migrate repro_vmss

* build fix

* fix name
2022-08-05 08:40:58 -07:00
2ee01c94c1 Remove lifetime param from LibFuzzer (#2219) 2022-08-04 13:58:57 -07:00
6d07095eea migrate proxy (#2206)
* migrate proxy function

* - added private ip address query
- updated Azure.ResourceManager.Storage to non beta release

* remove comment

* extracting nework interface query

* format

* Update src/ApiService/ApiService/Functions/Proxy.cs

Co-authored-by: Teo Voinea <58236992+tevoinea@users.noreply.github.com>

* fix function name

* Fix merge conflict

Co-authored-by: Teo Voinea <58236992+tevoinea@users.noreply.github.com>
2022-08-04 20:09:09 +00:00
3a0e8bb2e3 Add extensions functionality for C# refactor (#2218)
* Add extensions functionality

* Small cleanup

* Use context, fix typo
2022-08-04 15:27:41 -04:00
d0f0fc576b Add networking related operations for C# refactor (#2216)
* Add some networking related operations

* Add nsg operations

* Fix tests

* Use creds from context

* Use creds from context

* PR comment
2022-08-04 17:39:50 +00:00
8a8fe9a30d Factor out generic libfuzzer task (#2214) 2022-08-04 10:01:06 -07:00
78411fe320 Keep both C# and python http functions active when deploying (#2212)
* Kepp both  C# and  python http functions active when deploying

* update logic

* update log message

* use the function name instead of a list
2022-08-03 13:07:28 -07:00
f19c819751 migrate add_node_ssh_key (#2193)
* migrate add_node_ssh_key

* build fix

* fix

* format

* fix return value and function name
2022-08-02 11:51:48 -07:00
eaf74d936a Add missing job state transition (#2202)
* Add missing job state transition

* address PR comments
2022-07-28 23:08:15 +00:00
b2fc9f4285 fix return value when associating nsg subner (#2201) 2022-07-28 14:25:03 -07:00
36d36cdfaa saving secrets in keyvault (#2200) 2022-07-28 12:12:47 -07:00
25242f1ab9 Migrating notifications (#2188)
* Migrating notification

* add dotnet enpoint setting in the config

* format

* fix unit test

* format

* build fix

* fix notifictions function definition

* fix deserilization of requests
refactor secretdata
finish transfering Notifiction objects

* format
2022-07-28 09:17:14 -07:00
1098afd757 Fix TimerTasks bugs (#2196)
* Fix missing config

* add missing def

* Fix queue sas
2022-07-27 12:12:30 -07:00
c653f2e8ef Add support for dotnet_endpoint/dotnet_functions to integration-test.py (#2192)
This will allow testing client-facing .NET Functions during integration tests (`check-pr`).
2022-07-26 14:44:59 +12:00
992751044f Make the dotnet endpoint and functions configurable in the cli (#2190) 2022-07-25 22:12:36 +00:00
bae35dec97 Implement Jobs function for C# (#2157)
#2156 - convert the `jobs` function from Python to C#
2022-07-25 03:17:46 +00:00
23a7dae606 fix log level (#2185) 2022-07-25 14:47:46 +12:00
cc42ed4597 Release 5.9.0 (#2184)
* Release 5.9.0

* Fixed grammatical error.
5.9.0
2022-07-22 11:09:51 -07:00
c667e3aa2c Bump regex from 1.5.5 to 1.6.0 in /src/agent (#2127)
Bumps [regex](https://github.com/rust-lang/regex) from 1.5.5 to 1.6.0.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.5.5...1.6.0)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-22 16:39:32 +12:00
b2f5b9a2d1 Bump bytes from 1.1.0 to 1.2.0 in /src/agent (#2175)
Bumps [bytes](https://github.com/tokio-rs/bytes) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/tokio-rs/bytes/releases)
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/bytes/compare/v1.1.0...v1.2.0)

---
updated-dependencies:
- dependency-name: bytes
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-22 15:21:33 +12:00
8c636c37df Bump Azure.Storage.Blobs & Azure.Storage.Queues (#2181)
* Bump Azure.Storage.Queues in /src/ApiService/ApiService

Bumps [Azure.Storage.Queues](https://github.com/Azure/azure-sdk-for-net) from 12.9.0 to 12.11.0.
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-net/compare/Azure.Storage.Queues_12.9.0...Azure.Storage.Queues_12.11.0)

---
updated-dependencies:
- dependency-name: Azure.Storage.Queues
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump Azure.Storage.Blobs in /src/ApiService/ApiService

Bumps [Azure.Storage.Blobs](https://github.com/Azure/azure-sdk-for-net) from 12.11.0 to 12.13.0.
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-net/compare/Azure.Storage.Blobs_12.11.0...Azure.Storage.Blobs_12.13.0)

---
updated-dependencies:
- dependency-name: Azure.Storage.Blobs
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update lockfiles

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: George Pollard <gpollard@microsoft.com>
2022-07-22 00:31:29 +00:00
5083d9e461 Bump symbolic from 8.6.0 to 8.8.0 in /src/agent (#2056)
Bumps [symbolic](https://github.com/getsentry/symbolic) from 8.6.0 to 8.8.0.
- [Release notes](https://github.com/getsentry/symbolic/releases)
- [Changelog](https://github.com/getsentry/symbolic/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/symbolic/compare/8.6.0...8.8.0)

---
updated-dependencies:
- dependency-name: symbolic
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-21 23:16:36 +00:00
94db49995f Move functions into Functions namespace (#2176) 2022-07-21 20:46:31 +00:00
08fb29fc6b ignore the state when a job_id is specified in tasks list (#2171) 2022-07-21 18:25:39 +00:00
8dbc97129a Bump tokio from 1.19.2 to 1.20.0 in /src/proxy-manager (#2164)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.19.2 to 1.20.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.19.2...tokio-1.20.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-21 10:43:48 +12:00