33 Commits

Author SHA1 Message Date
Noah McGregor Harper
c49442facd
Use language features. (#3456) 2023-08-25 13:36:36 -07:00
George Pollard
9c4bc3eed6
Bump to Rust 1.71.1 (#3401) 2023-08-10 21:08:27 +00:00
George Pollard
7a92dab7c2
Rust 1.71 (#3292) 2023-07-13 22:00:05 +00:00
George Pollard
15351a7b44
Bump Rust to 1.70 (#3165)
https://releases.rs/docs/1.70.0/
2023-06-08 08:53:51 -04:00
George Pollard
37aede810a
Fix install of dotnet in devcontainer (#3176)
* Install dotnet from Ubuntu package sources

* Update to more recent devcontainer format
2023-06-07 22:21:10 +00:00
George Pollard
ffcca1c1e9
Add gh to devcontainer (#3105) 2023-05-16 08:28:09 -04:00
George Pollard
49240ba46d
Bump Rust version to 1.69 (#3049)
* Bump Rust version to 1.69

* Bump clap to fix clippy lints

See: https://github.com/clap-rs/clap/issues/4733
2023-04-21 09:56:40 -04:00
George Pollard
658d2aa01f
Bump to Rust 1.68 (#2934) 2023-03-21 13:04:45 -04:00
George Pollard
00031156bc
Rust 1.67 (#2781)
Mostly automated `clippy` fixes.
2023-01-27 16:00:24 +13:00
Cheick Keita
7de23af60c
delete python function (#2763)
* delete python function

* fix build
2023-01-25 22:05:55 +00:00
George Pollard
188a7ca42e
Rust 1.66 (#2704)
* Bump to Rust 1.66

* Another fix

* One more

* Lint
2022-12-19 10:04:04 -08:00
George Pollard
461053cb43
Check Bicep files during CI (#2658) 2022-11-29 20:15:34 +00:00
George Pollard
1755683be4
More default devcontainer settings (#2641) 2022-11-21 21:06:44 +00:00
George Pollard
04d39a3f28
Setup cargo-deny (#2638)
Using [`cargo-deny`](https://embarkstudios.github.io/cargo-deny/) to ensure that disallowed dependencies removed in #2423 do not accidentally make their way back in.

`cargo-deny` subsumes the `cargo-audit` functionality, so switch to the `cargo-deny` version.

Setting this up required explicitly stating the license which was not in some of our `Cargo.toml` files.
2022-11-21 08:23:20 -05:00
George Pollard
894dcc62be
Update to .NET 7 (#2615)
Update service code to .NET 7.0.

Also update the version installed onto agent nodes via setup scripts to 7.0.100.
2022-11-18 10:39:45 +13:00
George Pollard
7809b40e74
Update to Rust 1.64 (#2488)
[Release notes.](https://blog.rust-lang.org/2022/09/22/Rust-1.64.0.html)

Probably one of the more important things is:
> performance improvements of 10-20% for compiling Rust code on Windows
2022-10-04 22:31:53 +00:00
George Pollard
4cc4de9c9e
Codecov setup for C# & Rust code (#2400)
Use Codecov to show coverage reports, so we get highlighted versions of the files where it is easy to see missing coverage.

- Setup Rust coverage using [`cargo-llvm-cov`](https://github.com/taiki-e/cargo-llvm-cov).
- Add the `ci/agent.sh` build script to the agent artifact cache key, since it wasn't there before.
- Don't run Rust tests in `--release` mode (have been meaning to change this so doing it at the same time).

There is some subtlety about putting the coverage result into the cached agent artifact, so that when we reuse the agent artifact we can still upload the coverage information for it to Codecov. Without this it would look like the coverage had dropped.
2022-09-15 02:29:22 +00:00
George Pollard
16916c8653
Devcontainer: ensure venv is installed (#2372) 2022-09-09 22:07:26 +00:00
George Pollard
e1420e1a1d
Move global tool installs into another script so they can be cached (#2365) 2022-09-08 22:31:52 +00:00
George Pollard
402d549d02
Dockerfile fix (#2297) 2022-08-25 15:17:32 -04:00
George Pollard
07fb794f8a
Devcontainer updates (#2279) 2022-08-23 22:47:13 +00:00
George Pollard
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
George Pollard
728d60588c
Use 'os-provided' Python (#2118)
Using `3.8` for the Python devcontainer feature version means it builds from source every time the devcontainer is rebuilt, which is very slow. Using `os-provided` will give us a recent enough version (3.10).

Also install `python-is-python3` so that the bare `python` command points to Python 3 (our scripts seem to expect this).
2022-07-05 21:31:38 +00:00
Teo Voinea
262ad689f3
Enable C# functions (#2093)
Enables 2 more C# refactor functions in code. They're ready to be tested in canary.

Improves the precommit script in devcontainer.
2022-07-01 03:57:36 +00:00
George Pollard
308ffa6caa
Update devcontainer to 22.04 (#2110) 2022-07-01 00:54:33 +00:00
George Pollard
3b8c5bbf29
Add bash-completion to devcontainer image (#2058) 2022-06-21 20:58:40 +00:00
George Pollard
cdec3c9e8d
Test infrastructure for C# Azure Function testing (#2055)
Add support for function tests and the ability to run them against either real Azure Storage or the Azurite emulator.

See follow-up PR #2032 for actual usage.
2022-06-16 21:50:02 +00:00
George Pollard
f514fc35e3
Devcontainer: Set some default Omnisharp options (#2048) 2022-06-15 14:18:19 +12:00
George Pollard
30a071a70e
Devcontainer additions (#2029)
Add extensions for:

* Bicep 
* .NET test runner
* Azure Functions

Include in setup script:

* `cargo-audit` & `cargo-license` (pre-reqs for the CI script)
2022-06-09 19:13:32 +00:00
Teo Voinea
babe7c2111
Auto lint before committing (#1928) 2022-05-17 13:15:24 +00:00
Teo Voinea
779a67ed6d
Download agent logs using sas url (#1920) 2022-05-10 10:54:53 -04:00
Teo Voinea
350d07b7af
Add dev container (#1822)
* starting

* Add post create script

* Fixing up scripts

* Clean up dockerfile
2022-04-22 13:06:35 +00:00
George Pollard
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