Commit Graph

1882 Commits

Author SHA1 Message Date
8fbe0498b1 Allow ignoring directories (#1931)
* Allow ingoring directories

* PR comments
2022-05-12 20:13:48 +00:00
1f1abbe0ea Update patch version of digest:0.10 dep (#1935)
Fix the build, broken due to `0.10.x` being yanked for `x < 2`.
2022-05-12 10:42:57 -07:00
6d15a46897 proxy forward test hooks (#1924)
fixing some bugs

Co-authored-by: stas <statis@microsoft.com>
2022-05-11 13:05:29 -07:00
5f4a02503a Refactor agent commands (#1922)
* Checkpoint

* Disable the function for now

* snapshot

* Tested locally

* fmt
2022-05-11 14:06:09 +00:00
779a67ed6d Download agent logs using sas url (#1920) 2022-05-10 10:54:53 -04:00
78c680e955 Update AgentCanSchedule.cs (#1912) 2022-05-10 12:07:24 +00:00
25405b0b27 Remove client_secret from config, add env var (#1918) 2022-05-09 16:58:15 -07:00
a4357c8fb9 Use the json serializer to convert enum to the DB (#1910)
* Use the json serializer to convert enum to the DB

* format
2022-05-07 20:44:47 +00:00
dcf84cfd4e Pool operations test hooks (#1909)
Co-authored-by: stas <statis@microsoft.com>
2022-05-07 13:02:43 -07:00
91922ce01a enable python functions (#1907)
- queue_node_heartbeat
- queue_task_heartbeat

disable dotnet functions
- QueueNodeHeartbeat
- QueueTaskHeartbeat
2022-05-06 17:50:33 -07:00
119a40bf0c Set the table value to null when a property is null (#1905)
* set the table value to null when a property is null

* unit test
2022-05-06 21:42:28 +00:00
ee3908f660 nsg operations test hooks and some bug fixes (#1904)
Co-authored-by: stas <statis@microsoft.com>
2022-05-06 13:43:25 -07:00
777a7c6e15 Fix new_files (#1903)
* Fix new_files

* fmt
2022-05-06 15:36:43 +00:00
d3080c0554 Bump log from 0.4.14 to 0.4.17 in /src/proxy-manager (#1882)
Bumps [log](https://github.com/rust-lang/log) from 0.4.14 to 0.4.17.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.14...0.4.17)

---
updated-dependencies:
- dependency-name: log
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Teo Voinea <58236992+tevoinea@users.noreply.github.com>
2022-05-06 11:04:08 -04:00
5393dbab65 Replace queue_task_hearbeat (#1899)
* Replace queue_task_hearbeat

* dont rename statsFormat

* using hashsets for the helpers
2022-05-05 11:02:36 -07:00
28f0cfbf9f Notification operations test hooks (#1897)
Co-authored-by: stas <statis@microsoft.com>
2022-05-05 08:21:49 -07:00
3370c3df9a Replace queue_node_heatbeat (#1875)
* repalce queue_node_heatbeat

* Changing the name of the input queue

* [testing] hard code deployment of -net function

* explicitly disable other C# functions
2022-05-04 17:09:50 -07:00
c07a908cf4 Add the ability to serialize enums values (#1898)
* Add the ablility to serialize enums values

* unit test
2022-05-04 21:20:23 +00:00
b2399c4571 allow jobs with no log data to be schedule (#1893) 2022-05-04 20:09:19 +00:00
0859b04746 Node Ops test hooks (#1895)
Co-authored-by: stas <statis@microsoft.com>
2022-05-04 12:33:46 -07:00
793ce85cdf updating deploy.py to push dotnet by default (#1888)
* updating deploy.py to push dotnet by default

* Updating requirements for Azure Function core tools CLI to 4

* updating docs for Azure Functions Core Tools v 4.x requirement

* Update src/utils/check-pr/README.md

Co-authored-by: Cheick Keita <chkeita@microsoft.com>
2022-05-04 18:44:27 +00:00
457f03e4ae fix where we get base docker image from (#1891)
Co-authored-by: stas <statis@microsoft.com>
2022-05-04 09:00:57 -07:00
d0ce283b8b Log analytics test hooks (#1887)
Co-authored-by: stas <statis@microsoft.com>
2022-05-04 07:17:25 -07:00
eca88cb35f Introducing OnefuzzContext to prevent circular references (#1886) 2022-05-03 19:05:39 +00:00
767654917e job ops test hooks and a bug fix (#1885)
Co-authored-by: stas <statis@microsoft.com>
2022-05-03 11:22:39 -07:00
3f23bdf336 More testing (#1884)
* adding more tests

* more tests

Co-authored-by: stas <statis@microsoft.com>
2022-05-03 10:14:56 -07:00
7a69c3144d Refactor agent can schedule (#1870)
* Untested

* Progress

* ready to test

* Missed a file

* Fixes setting the serializer

* Fix bad query
2022-05-03 16:29:01 +00:00
fd55126662 Updating deploy.py for dotnet deployments - Closes #1752 (#1830)
* updating deploy.py for dotnet packages

* dotnet deployment needs to be alongside python if flagged

* individual deployment state for dotnet api since this will deploy alongside python api

* correcting state order for dotnet-api deployment step to follow python api deployment

* cleanup deploy.py formatting

* Adding dotnet's zip package arguments to deploy and fixing func command flags

* changed quotes to pass black check

* reconfiguring bicep templates to deploy function app settings correctly by moving app settings into a separate template
2022-05-03 15:17:12 +00:00
8c73f84b87 Refactor timer repro part2 (#1852)
* Implement the rest of the function

* Initial implementation

* Pulling new formatting

* format

* Fixes after testing

* PR comments
2022-05-03 12:09:00 +00:00
e6a0906b6c Events todo (#1880)
* test hooks and a bug fix

* finish events to-do

Co-authored-by: stas <statis@microsoft.com>
2022-05-02 19:59:32 -07:00
1f276e13e5 test hooks and a bug fix (#1879)
Co-authored-by: stas <statis@microsoft.com>
2022-05-02 18:07:09 -07:00
5ccd519065 timer workers (part 2) (#1876)
* timer workers (part 2)

* addressing pr comment

Co-authored-by: stas <statis@microsoft.com>
2022-05-02 17:32:34 -07:00
3541b9a7ac Allow PartitonKey and RowKey on the the same property (#1878) 2022-05-02 23:14:29 +00:00
a0443fb7b8 Updating GitHub CI steps for dotnet deployments #1752 (#1874)
* updating deploy.py for dotnet packages

* dotnet deployment needs to be along side python if flagged

* indivdual deployment state for dotnet api since this will deploy alongside python api

* correcting state order for dotnet-api deployment step to follow python api deployment

* cleanup deploy.py formatting

* Adding dotnet's zip package arguments to deploy and fixing func command flags

* Updating ci.yml for dotnet artifacts and adding az-local.settings.json for functionapp deployment

* fixing directory path on ci.yml

* changed single quote to double to pass black check

* keeping changes to deploy.py staged in separate branch

* missing newline at EOF

Co-authored-by: AdamLeclerc-Microsoft <103067949+AdamLeclerc-Microsoft@users.noreply.github.com>
2022-05-02 13:47:18 -07:00
30660c9a63 Switch to misuse-resistant smart ctor (#1865)
Use a simpler and less error-prone API for `DirectoryMonitor`.

- Make `new()` ctor async, set watch on construction
- Remove `start()`, validate that target path is a directory in `new()`
2022-05-01 20:58:43 -07:00
ebe5352da3 Only watch directories, not files (#1859)
If a `DirectoryMonitor` is pointed at a file (and not a directory), fail on invocation of `start()`.

Validated with a unit test and manual testing using the `dir-monitor` example.
2022-05-01 14:24:44 -07:00
732400be1d Timer workers (part 1) (#1863)
Co-authored-by: stas <statis@microsoft.com>
2022-04-30 09:04:45 -07:00
fed6069f12 Migrate timer_task part 2 (#1855) 2022-04-28 12:45:00 -07:00
4aa8058b8b Fix Nullable Node Heartbeat Param. (#1854)
* Fix Nullable Node Heartbeat Param.

* Removing old file.

* Fixing param.

* Removing quotes.

* Running formatter.

* Fixing formatting.
2022-04-28 10:53:31 -07:00
26665f6f24 scaleset extensions (#1861)
Co-authored-by: stas <statis@microsoft.com>
2022-04-28 10:09:12 -07:00
b28e1c78a6 fix event logging (#1860)
Co-authored-by: Noah McGregor Harper <74685766+nharper285@users.noreply.github.com>
2022-04-28 04:20:48 +00:00
016a525dfb Fixing ProxyForward Import. (#1853) 2022-04-27 17:25:05 -07:00
7403c276d3 log analytics (#1851)
Co-authored-by: stas <statis@microsoft.com>
2022-04-27 15:49:52 -07:00
5d6f5f2c10 Upgrade to latest stable notify preview (#1849) 2022-04-27 15:00:00 -07:00
44059f20ca Adding Admin Checks to Node Operations. (#1779)
* Adding Admin Checks to Node Operations.

* Importing function.

* Changing naming convention.

* Fixing webhook events.

* Adding changes to scaleset init.
2022-04-27 11:31:43 -07:00
0b1c7aea9c C# Refactor For Webhook Queue (#1818)
* Working on Webhook Queue Changes.

* Initial Push w/ Webhook Work.

* Initial Push. Working on Testing.

* Moving InstanceId

* Removing primitives.

* Formatting.

* Fixing formatting?

* Moving GetInstanceId to containers.

* Moving comments for formatting.

* Removing unused dependency.

* Comments.

* Add WebhookEventGrid test.

* Fixing how tests work.

* Working to resolve conflicts.

* Resolving conflicts.

* Fixing chagnes.

* Tested code.

* Formatting.

* MoreFormatting.

* More formatting.

* Fixing syntax.

* Fixing syntax.

* Removing test and webhookmessagelogoperation class.

* Using config.

* Fixing ProxyOperations.
2022-04-26 13:07:10 -07:00
af7d815e4f breaking the circular dependency between JobOperations and TaskOperations (#1848) 2022-04-26 19:07:57 +00:00
5f8e381fcb formatting (#1847) 2022-04-26 10:22:35 -07:00
8003b1d3e0 Migrate timer_task (#1846) 2022-04-26 09:30:14 -07:00
c71cdb6d72 timer_retention (#1845)
Co-authored-by: stas <statis@microsoft.com>
2022-04-26 08:36:06 -07:00