Commit Graph

2095 Commits

Author SHA1 Message Date
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
fe0ae30823 Build on pushes to main (#1873) 2022-05-02 10:55:45 -07:00
3e14a838ee Don't trigger build on every push, enable manual trigger (#1872) 2022-05-02 10:09:20 -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
2e0358d77a Refactor timer_repro (#1839)
* Checkpoint

* lint

* PR comments and warnings
2022-04-26 12:56:38 +00:00
c6992698e5 Job model (#1841)
Co-authored-by: stas <statis@microsoft.com>
2022-04-25 15:40:28 -07:00
2d15489196 Add keyvault operations and models (#1838)
Co-authored-by: stas <statis@microsoft.com>
2022-04-25 13:42:27 -07:00
7fe9e3705d Set TSan options based on external symbolizer (#1787)
- Add `LlvmSymbolizer` wrapper around validated paths to external `llvm-symbolizer` exes
- Pivot sanitizer environment variable generation on `LlvmSymbolizer`
- Set external symbolizer path in `TSAN_OPTIONS`
2022-04-25 13:00:26 -07:00
3a93de4801 migrate timer_proxy part 2 (#1836) 2022-04-25 10:14:15 -07:00
66796148c5 Separate llvm-symbolizer setup from sanitizer env var init (#1778) 2022-04-24 13:38:17 -07:00
e86854cf2a - Move some persistent resources into SingletonResources class (#1835)
- Rename ResultOk to ResultVoid

Move environment variables to singleton

Co-authored-by: stas <statis@microsoft.com>
2022-04-22 17:40:11 -07:00
62d824383a Bump tokio from 1.15.0 to 1.17.0 in /src/proxy-manager (#1700)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.15.0 to 1.17.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.15.0...tokio-1.17.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>
Co-authored-by: Marc Greisen <mgreisen@microsoft.com>
2022-04-22 15:41:58 -07:00
d283e989f6 Add implementation to get allowed tenants (#1833)
Co-authored-by: stas <statis@microsoft.com>
2022-04-22 14:45:33 -07:00
ae85d81d76 OneFuzz CLI Docker container (#1831)
* OneFuzz CLI Docker container

* Update docs/OneFuzz-Docker-CLI.md

Co-authored-by: Joe Ranweiler <joe@lemma.co>

Co-authored-by: stas <statis@microsoft.com>
Co-authored-by: Joe Ranweiler <joe@lemma.co>
2022-04-22 13:53:16 -07:00
ddc415c91e more tests (#1832)
Co-authored-by: stas <statis@microsoft.com>
2022-04-22 13:00:57 -07:00
812a6d7517 [WIP] migrate timer_proxy (#1820) 2022-04-22 15:43:44 +00:00
350d07b7af Add dev container (#1822)
* starting

* Add post create script

* Fixing up scripts

* Clean up dockerfile
2022-04-22 13:06:35 +00:00
20bd3c3a49 Container converter (#1821)
* Add db translation layer for container

* Remove debugging artifact

* fmt

* Remove unnecessary file

* PR comments

* Format
2022-04-22 11:59:07 +00:00
8654536749 Bump serde_json from 1.0.73 to 1.0.79 in /src/proxy-manager (#1655)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.73 to 1.0.79.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.73...v1.0.79)

---
updated-dependencies:
- dependency-name: serde_json
  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: Marc Greisen <mgreisen@microsoft.com>
2022-04-21 17:46:22 -07:00
4ce8126de2 Bump futures from 0.3.17 to 0.3.21 in /src/agent (#1646)
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.17 to 0.3.21.
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.17...0.3.21)

---
updated-dependencies:
- dependency-name: futures
  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: Marc Greisen <mgreisen@microsoft.com>
2022-04-21 15:04:51 -07:00
2075d55edf Check for missing shared libs on failed LibFuzzer -help check (#1812) 2022-04-21 12:49:44 -07:00
3e5c6d7658 Bump futures-util from 0.3.17 to 0.3.21 in /src/agent (#1645)
Bumps [futures-util](https://github.com/rust-lang/futures-rs) from 0.3.17 to 0.3.21.
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.17...0.3.21)

---
updated-dependencies:
- dependency-name: futures-util
  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: Marc Greisen <mgreisen@microsoft.com>
2022-04-21 11:35:53 -07:00
f82b36d691 Bump futures from 0.3.17 to 0.3.21 in /src/proxy-manager (#1644)
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.17 to 0.3.21.
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.17...0.3.21)

---
updated-dependencies:
- dependency-name: futures
  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: Marc Greisen <mgreisen@microsoft.com>
2022-04-21 08:06:46 -07:00
b7e404fd26 Basic devcontainer configuration (#1768)
* Basic devcontainer configuration

* Bump Rust to 1.60, which is required

* Add some more requirements

* Manually install Rust so that cargo-audit can be installed

* Include settings/extensions that were in Rust feature previously

* Install further Rust requirements (from rust-prereqs.sh)

* Install dotnet "by hand"; this should be a bit faster than multiple steps

* Add Python extension to devcontainer

Co-authored-by: Teo Voinea <58236992+tevoinea@users.noreply.github.com>
2022-04-20 19:22:07 +00:00
16d7694852 Implement new_files (#1794)
* Checkpoint

* Checkpoint

* More merge resolving

* Code complete

* Tested that it works

* Keep the queue name different for now

* Query was wrong, should be and

* Style

* Fix compile issue

* Change report to use string instead of SHA, fixes tests as well

* PR comments

* Comments and formatting
2022-04-20 18:36:50 +00:00
52fcd213a5 Bump serde from 1.0.131 to 1.0.136 in /src/proxy-manager (#1619)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.131 to 1.0.136.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.131...v1.0.136)

---
updated-dependencies:
- dependency-name: serde
  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: Marc Greisen <mgreisen@microsoft.com>
2022-04-20 10:28:37 -07:00
e32f42cc1b Limited support for polymorphic deserialization (#1814) 2022-04-19 18:36:50 -07:00
4be286ada5 bump azure-cli-core and dependencies to 2.35.0 (#1784)
* bump azure-cli-core and dependencies to 2.35.0

* bump deploy requirements to align with cli

Co-authored-by: stas <statis@microsoft.com>
2022-04-19 13:38:40 -07:00
5827d3b90e Add property based testing (#1813)
* Add property based testing

* comment out failing test (service code will be fixed later)

* add some json serialization tests

Co-authored-by: stas <statis@microsoft.com>
2022-04-19 10:42:14 -07:00
cb45c5685f add tool_name and onfuzz_version to CrashReport (#1635) 2022-04-18 23:56:07 +00:00
e0e6707fd9 Release 5.3.0 update (#1810)
Includes a change in the bicep file. For the upgrade from 5.2 to 5.3 we need to manually delete the python function app. This causes a name clash when redeploying (so it's important that the manual update process is carefully followed).
5.3.0
2022-04-18 12:54:06 -07:00
ebb3c63f9e Update python function name string to manage confict after deleting the function app. (#1808) 2022-04-18 11:26:44 -07:00
3869352b81 Continue inline access search on local error (#1796) 2022-04-16 02:59:10 +00:00