Bumps containers to dotnet 8.0
This commit is contained in:
parent
9573814574
commit
3ed91d7310
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
This project allows you to write tools and tests that control and interact with container-based applications to form a distributed system in a controlled, reproducible environment.
|
This project allows you to write tools and tests that control and interact with container-based applications to form a distributed system in a controlled, reproducible environment.
|
||||||
|
|
||||||
Dotnet: v7.0
|
Dotnet: v8.0
|
||||||
Kubernetes: v1.25.4
|
Kubernetes: v1.25.4
|
||||||
Dotnet-kubernetes SDK: v10.1.4 https://github.com/kubernetes-client/csharp
|
Dotnet-kubernetes SDK: v10.1.4 https://github.com/kubernetes-client/csharp
|
||||||
Nethereum: v4.14.0
|
Nethereum: v4.14.0
|
||||||
|
@ -6,7 +6,7 @@ Can generate random images or random data of a specified size.
|
|||||||
|
|
||||||
## How to run
|
## How to run
|
||||||
|
|
||||||
- dotnet 7.0 and CLI arguments: `dotnet run -- --codex-host=... --codex-port=...`
|
- dotnet 8.0 and CLI arguments: `dotnet run -- --codex-host=... --codex-port=...`
|
||||||
- docker and env-vars: `codexstorage/codex-autoclient:sha-88daab3`
|
- docker and env-vars: `codexstorage/codex-autoclient:sha-88daab3`
|
||||||
|
|
||||||
## Configuration options
|
## Configuration options
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Variables
|
# Variables
|
||||||
ARG BUILDER=mcr.microsoft.com/dotnet/sdk:7.0
|
ARG BUILDER=mcr.microsoft.com/dotnet/sdk:8.0
|
||||||
ARG IMAGE=${BUILDER}
|
ARG IMAGE=${BUILDER}
|
||||||
ARG APP_HOME=/app
|
ARG APP_HOME=/app
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Variables
|
# Variables
|
||||||
ARG BUILDER=mcr.microsoft.com/dotnet/sdk:7.0
|
ARG BUILDER=mcr.microsoft.com/dotnet/sdk:8.0
|
||||||
ARG IMAGE=${BUILDER}
|
ARG IMAGE=${BUILDER}
|
||||||
ARG APP_HOME=/app
|
ARG APP_HOME=/app
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Variables
|
# Variables
|
||||||
ARG BUILDER=mcr.microsoft.com/dotnet/sdk:7.0
|
ARG BUILDER=mcr.microsoft.com/dotnet/sdk:8.0
|
||||||
ARG IMAGE=${BUILDER}
|
ARG IMAGE=${BUILDER}
|
||||||
ARG APP_HOME=/app
|
ARG APP_HOME=/app
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Variables
|
# Variables
|
||||||
ARG BUILDER=mcr.microsoft.com/dotnet/sdk:7.0
|
ARG BUILDER=mcr.microsoft.com/dotnet/sdk:8.0
|
||||||
ARG IMAGE=${BUILDER}
|
ARG IMAGE=${BUILDER}
|
||||||
ARG APP_HOME=/app
|
ARG APP_HOME=/app
|
||||||
|
|
||||||
|
@ -9,8 +9,6 @@ public static class Program
|
|||||||
|
|
||||||
public static void Main(string[] args)
|
public static void Main(string[] args)
|
||||||
{
|
{
|
||||||
//args = new[] { "D:\\Projects\\cs-codex-dist-tests\\Tests\\CodexTests\\bin\\Debug\\net7.0\\CodexTestLogs\\2024-08\\06\\08-24-45Z_ThreeClientTest\\SwarmTest_SwarmTest.owts" };
|
|
||||||
|
|
||||||
Log("Transcript Analysis");
|
Log("Transcript Analysis");
|
||||||
if (!args.Any())
|
if (!args.Any())
|
||||||
{
|
{
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM mcr.microsoft.com/dotnet/sdk:7.0
|
FROM mcr.microsoft.com/dotnet/sdk:8.0
|
||||||
|
|
||||||
COPY --chmod=0755 docker/docker-entrypoint.sh /
|
COPY --chmod=0755 docker/docker-entrypoint.sh /
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM mcr.microsoft.com/dotnet/sdk:7.0
|
FROM mcr.microsoft.com/dotnet/sdk:8.0
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y screen
|
RUN apt-get update && apt-get install -y screen
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
@ -104,7 +104,7 @@ GitHub --> CI --> Kubernetes --> Job |
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: dotnet
|
- name: dotnet
|
||||||
image: mcr.microsoft.com/dotnet/sdk:7.0
|
image: mcr.microsoft.com/dotnet/sdk:8.0
|
||||||
env:
|
env:
|
||||||
- name: RUNNERLOCATION
|
- name: RUNNERLOCATION
|
||||||
value: InternalToCluster
|
value: InternalToCluster
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: runner
|
- name: runner
|
||||||
image: mcr.microsoft.com/dotnet/sdk:7.0
|
image: mcr.microsoft.com/dotnet/sdk:8.0
|
||||||
env:
|
env:
|
||||||
- name: KUBECONFIG
|
- name: KUBECONFIG
|
||||||
value: /opt/kubeconfig.yaml
|
value: /opt/kubeconfig.yaml
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
These steps will help you set up everything you need to run and debug the tests on your local system.
|
These steps will help you set up everything you need to run and debug the tests on your local system.
|
||||||
|
|
||||||
### Installing the requirements.
|
### Installing the requirements.
|
||||||
1. Install dotnet v7.0 or newer. (If you install a newer version, consider updating the .csproj files by replacing all mention of `net7.0` with your version.)
|
1. Install dotnet v8.0 or newer. (If you install a newer version, consider updating the .csproj files by replacing all mention of `net8.0` with your version.)
|
||||||
1. Set up a nice C# IDE or plugin for your current IDE.
|
1. Set up a nice C# IDE or plugin for your current IDE.
|
||||||
1. Install docker desktop.
|
1. Install docker desktop.
|
||||||
1. In the docker-desktop settings, enable kubernetes. (This might take a few minutes.)
|
1. In the docker-desktop settings, enable kubernetes. (This might take a few minutes.)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user