Skip to content

Commit 94dc7c0

Browse files
gpetrouflobernd
authored andcommitted
Update TargetFrameworks (#8052)
1 parent 90f8045 commit 94dc7c0

33 files changed

+1619
-2032
lines changed

.buildkite/DockerFile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
ARG DOTNET_VERSION=6.0.403
1+
ARG DOTNET_VERSION=8.0.100
22
FROM mcr.microsoft.com/dotnet/sdk:${DOTNET_VERSION} AS elasticsearch-net-build
33

4+
ENV NUGET_SCRATCH="/tmp/NuGetScratch"
5+
46
ARG USER_ID
57
ARG GROUP_ID
68

@@ -42,6 +44,7 @@ RUN chown -R $GROUP_ID:$USER_ID /tmp/NuGetScratch
4244
COPY . .
4345

4446
# making sure enough git info is available inside the container
47+
RUN git config --global --add safe.directory '*'
4548
RUN git rev-parse HEAD .
4649

4750
# USER user

.buildkite/pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ steps:
55
env:
66
TEST_SUITE: "{{ matrix.suite }}"
77
STACK_VERSION: master-SNAPSHOT
8-
DOTNET_VERSION: 6.0.403
8+
DOTNET_VERSION: 8.0.100
99
matrix:
1010
setup:
1111
suite:

.buildkite/run-repository.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ param(
1414
$NODE_NAME,
1515

1616
[string]
17-
$DOTNET_VERSION = "6.0.403"
17+
$DOTNET_VERSION = "8.0.100"
1818
)
1919

2020
$ESC = [char]27

.buildkite/run-repository.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ script_path=$(dirname $(realpath -s $0))
99
source $script_path/functions/imports.sh
1010
set -euo pipefail
1111

12-
DOTNET_VERSION=${DOTNET_VERSION-6.0.403}
12+
DOTNET_VERSION=${DOTNET_VERSION-8.0.100}
1313
ELASTICSEARCH_URL=${ELASTICSEARCH_URL-"$elasticsearch_url"}
1414
elasticsearch_container=${elasticsearch_container-}
1515

.buildkite/run-tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ param (
88
$TEST_SUITE = "free",
99

1010
[string]
11-
$DOTNET_VERSION = "6.0.403"
11+
$DOTNET_VERSION = "8.0.100"
1212
)
1313

1414
$ESC = [char]27

.ci/DockerFile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
ARG DOTNET_VERSION=6.0.403
1+
ARG DOTNET_VERSION=8.0.100
22
FROM mcr.microsoft.com/dotnet/sdk:${DOTNET_VERSION} AS elasticsearch-net-build
33

4+
ENV NUGET_SCRATCH="/tmp/NuGetScratch"
5+
46
ARG USER_ID
57
ARG GROUP_ID
68

@@ -42,6 +44,7 @@ RUN chown -R $GROUP_ID:$USER_ID /tmp/NuGetScratch
4244
COPY . .
4345

4446
# making sure enough git info is available inside the container
47+
RUN git config --global --add safe.directory '*'
4548
RUN git rev-parse HEAD .
4649

4750
# USER user

.ci/make.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ OUTPUT_DIR="$repo/${output_folder}"
4242
REPO_BINDING="${OUTPUT_DIR}:/sln/${output_folder}"
4343
mkdir -p "$OUTPUT_DIR"
4444

45-
DOTNET_VERSION=${DOTNET_VERSION-6.0.403}
45+
DOTNET_VERSION=${DOTNET_VERSION-8.0.100}
4646

4747
echo -e "\033[34;1mINFO:\033[0m PRODUCT ${product}\033[0m"
4848
echo -e "\033[34;1mINFO:\033[0m VERSION ${STACK_VERSION}\033[0m"
@@ -121,7 +121,8 @@ echo -e "\033[34;1mINFO: building $product container\033[0m"
121121

122122
docker build --file .ci/DockerFile --tag ${product} \
123123
--build-arg USER_ID="$(id -u)" \
124-
--build-arg GROUP_ID="$(id -g)" .
124+
--build-arg GROUP_ID="$(id -g)" \
125+
--build-arg DOTNET_VERSION="$DOTNET_VERSION" .
125126

126127
# ------------------------------------------------------- #
127128
# Run the Container

.ci/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ $ STACK_VERSION=8.0.0-SNAPSHOT ./.ci/run-tests
3030
|-------------------------|-------------|-------------|
3131
| `STACK_VERSION` | `N/A` | The elasticsearch version to target
3232
| `TEST_SUITE` | `basic` | `free` or `platinum` sets which test suite to run and which container to run against. |
33-
| `DOTNET_VERSION` | `6.0.403` | The .NET sdk version used to grab the proper container |
33+
| `DOTNET_VERSION` | `8.0.100` | The .NET sdk version used to grab the proper container |
3434

3535
If you want to manually spin up elasticsearch for these tests and call the runner afterwards you can use
3636

.ci/run-repository.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ param(
1414
$NODE_NAME,
1515

1616
[string]
17-
$DOTNET_VERSION = "6.0.403"
17+
$DOTNET_VERSION = "8.0.100"
1818
)
1919

2020
$ESC = [char]27

.ci/run-repository.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ script_path=$(dirname $(realpath -s $0))
99
source $script_path/functions/imports.sh
1010
set -euo pipefail
1111

12-
DOTNET_VERSION=${DOTNET_VERSION-6.0.403}
12+
DOTNET_VERSION=${DOTNET_VERSION-8.0.100}
1313
ELASTICSEARCH_URL=${ELASTICSEARCH_URL-"$elasticsearch_url"}
1414
elasticsearch_container=${elasticsearch_container-}
1515

0 commit comments

Comments
 (0)