Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
6e2ae7f
#378(@nikita-petko): Sync side-by-side with rcc-core@34901c9
nikita-petko Jul 25, 2026
5139989
#378(@nikita-petko): Add additonal volumes capability
nikita-petko Jul 25, 2026
bdd1b87
#378(@nikita-petko): Update and remove uneeded settings.
nikita-petko Jul 25, 2026
8df5e32
Update tasks.json:
nikita-petko Jul 26, 2026
d59dfe5
#378(@nikita-petko): Integrate with rcc-core
nikita-petko Jul 26, 2026
69981cf
#378(@nikita-petko): Remove package
nikita-petko Jul 26, 2026
a68f2ab
#378(@nikita-petko): Update fixes
nikita-petko Jul 26, 2026
79421e3
#378(@nikita-petko): Update environment
nikita-petko Jul 26, 2026
2b6b6be
#378(@nikita-petko): Update CNPA to v17
nikita-petko Jul 26, 2026
d2347dd
#378(@nikita-petko): Update for stage
nikita-petko Jul 26, 2026
2303cbf
#378(@nikita-petko): Patch error with output dir
nikita-petko Jul 26, 2026
20a98c3
#378(@nikita-petko): Patch pt2
nikita-petko Jul 26, 2026
ff3e7ad
#378(@nikita-petko): Oopsie
nikita-petko Jul 26, 2026
a784376
#378(@nikita-petko): Fix escaping with templates
nikita-petko Jul 26, 2026
c62139e
#378(@nikita-petko): Actually remember to add cores
nikita-petko Jul 26, 2026
4e119ff
#378(@nikita-petko): Update to dot syntax
nikita-petko Jul 26, 2026
d203b47
#378(@nikita-petko): Convert the sh syntax
nikita-petko Jul 26, 2026
fe73f55
#378(@nikita-petko): Ensure correct dependencies exist
nikita-petko Jul 26, 2026
ebb5c05
#378(@nikita-petko): Final fixture
nikita-petko Jul 26, 2026
2e39f05
#378(@nikita-petko): Update data
nikita-petko Jul 26, 2026
b80161e
#378(@nikita-petko): Do not write to the actual setting
nikita-petko Jul 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
component-search-directories: services

- name: Components to Nomad Jobs
uses: mfdlabs/component-nomad-parser-action@v15
uses: mfdlabs/component-nomad-parser-action@v18
id: components-to-nomad-jobs
env:
NOMAD_ENVIRONMENT: ${{ github.event.inputs.nomad_environment }}
Expand Down
15 changes: 0 additions & 15 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,6 @@
"/p:Platform=AnyCPU",
],
"problemMatcher": "$msCompile"
},
{
"label": "build-full",
"command": "dotnet",
"type": "process",
"args": [
"build",
"${workspaceFolder}/services/grid-bot/src/Grid.Bot.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary",
"/p:Configuration=Debug",
"/p:Platform=AnyCPU",
"/p:LocalBuild=true"
],
"problemMatcher": "$msCompile"
}
]
}
11 changes: 0 additions & 11 deletions lib/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
<DebugType>portable</DebugType>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>

<PackageId>mfdlabs.$(MSBuildProjectName)</PackageId>
</PropertyGroup>

<ItemGroup Label="TestReferences" Condition="'$(IsTestProject)' == 'true'">
Expand All @@ -60,13 +58,4 @@
<ItemGroup>
<None Include="$(RootDirectory)LICENSE" Pack="true" PackagePath="" />
</ItemGroup>

<!-- Readme -->
<PropertyGroup>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
<None Include="README.md" Pack="true" PackagePath="" />
</ItemGroup>
</Project>
241 changes: 238 additions & 3 deletions lib/clients/client-settings-client/ClientSettingsClient.cs

Large diffs are not rendered by default.

17 changes: 10 additions & 7 deletions lib/grid/client/Factories/Lua.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,10 @@ public static string ToString(IEnumerable<LuaValue> result)
/// <param name="index">The index to set.</param>
/// <param name="value">The value.</param>
/// <exception cref="ArgumentException">Unsupported Lua argument type.</exception>
public static void SetArg(LuaValue[] args, int index, object value)
public static void SetArg(this LuaValue[] args, int index, object value)
{
var luaValue = new LuaValue();

switch (value)
{
case int _:
Expand Down Expand Up @@ -138,13 +139,13 @@ public static void SetArg(LuaValue[] args, int index, object value)
/// </summary>
/// <param name="luaValue">The <see cref="LuaValue"/></param>
/// <returns>The actual value of the <see cref="LuaValue"/></returns>
public static object ConvertLua(LuaValue luaValue)
public static object ConvertLua(this LuaValue luaValue)
=> luaValue.type switch
{
LuaType.LUA_TBOOLEAN => Convert.ToBoolean(luaValue.value),
LuaType.LUA_TNUMBER => Convert.ToDouble(luaValue.value),
LuaType.LUA_TSTRING => luaValue.value,
LuaType.LUA_TTABLE => GetValues(luaValue.table),
LuaType.LUA_TTABLE => luaValue.table.GetValues(),
_ => null,
};

Expand All @@ -157,8 +158,8 @@ public static LuaValue[] NewArgs(params object[] args)
{
var luaValues = new LuaValue[args.Length];

for (int i = 0; i < args.Length; i++)
SetArg(luaValues, i, args[i]);
for (int i = 0; i < args.Length; i++)
luaValues.SetArg(i, args[i]);

return luaValues;
}
Expand All @@ -168,10 +169,12 @@ public static LuaValue[] NewArgs(params object[] args)
/// </summary>
/// <param name="args">The <see cref="LuaValue"/> arguments.</param>
/// <returns>The raw values.</returns>
public static object[] GetValues(LuaValue[] args)
public static object[] GetValues(this LuaValue[] args)
{
var values = new object[args.Length];
for (var i = 0; i < args.Length; i++) values[i] = ConvertLua(args[i]);

for (var i = 0; i < args.Length; i++) values[i] = args[i].ConvertLua();

return values;
}
}
30 changes: 30 additions & 0 deletions lib/grid/diagnostics/Grid.Diagnostics.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Description>Helper methods for discovering diagnostics information about servers</Description>

<LangVersion>preview</LangVersion>
</PropertyGroup>

<ItemGroup>
<None Remove="NativeMethods.txt" />
</ItemGroup>

<ItemGroup>
<AdditionalFiles Include="NativeMethods.txt" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Windows.CsWin32" Version="0.3.106">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="System.Memory" Version="4.5.5" />
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="6.0.0" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="../../logging/logging/Logging.csproj" />
</ItemGroup>

</Project>
Loading
Loading