Skip to content
This repository has been archived by the owner on Feb 22, 2025. It is now read-only.

Commit

Permalink
ci fixes (#773)
Browse files Browse the repository at this point in the history
  • Loading branch information
lachmatt authored Feb 14, 2024
1 parent 70870bb commit ec33f89
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 17 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ jobs:
--env artifacts=/project/${relativeArtifacts} \
--env SIGNALFX_CLR_ENABLE_NGEN=${SIGNALFX_CLR_ENABLE_NGEN} \
dd-trace-dotnet/${{ matrix.base-image }}-builder \
dotnet /build/bin/Debug/_build.dll Clean BuildTracerHome ZipMonitoringHome
/bin/sh -c 'git config --global --add safe.directory /project && ./tracer/build.sh Clean BuildTracerHome ZipMonitoringHome'
- name: Publish Linux x64-musl packages
uses: actions/upload-artifact@v3.1.2
with:
Expand Down Expand Up @@ -231,7 +231,7 @@ jobs:
--env artifacts=/project/${relativeArtifacts} \
--env SIGNALFX_CLR_ENABLE_NGEN=${SIGNALFX_CLR_ENABLE_NGEN} \
dd-trace-dotnet/${{ matrix.base-image }}-tester \
dotnet /build/bin/Debug/_build.dll Clean BuildTracerHome BuildAndRunManagedUnitTests
/bin/sh -c 'git config --global --add safe.directory /project && ./tracer/build.sh Clean BuildTracerHome BuildAndRunManagedUnitTests'
- name: Publish managed tests results
uses: actions/upload-artifact@v3.1.2
with:
Expand Down Expand Up @@ -306,7 +306,7 @@ jobs:
--env artifacts=/project/${relativeArtifacts} \
--env SIGNALFX_CLR_ENABLE_NGEN=${SIGNALFX_CLR_ENABLE_NGEN} \
dd-trace-dotnet/${{ matrix.base-image }}-builder \
dotnet /build/bin/Debug/_build.dll Clean BuildTracerHome BuildAndRunNativeUnitTests
/bin/sh -c 'git config --global --add safe.directory /project && ./tracer/build.sh Clean BuildTracerHome BuildAndRunNativeUnitTests'
- name: Publish native tests results
uses: actions/upload-artifact@v3.1.2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
--env tracerHome=/shared/bin/monitoring-home/tracer \
--env artifacts=/project/tracer/src/bin/artifacts \
dd-trace-dotnet/${baseImage}-builder \
dotnet /build/bin/Debug/_build.dll Clean BuildTracerHome ZipMonitoringHome
/bin/sh -c 'git config --global --add safe.directory /project && ./tracer/build.sh Clean BuildTracerHome ZipMonitoringHome'
- name: Upload Linux x64 packages
uses: actions/upload-artifact@v3.1.2
with:
Expand Down
6 changes: 0 additions & 6 deletions tracer/build/_build/docker/alpine.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,7 @@ WORKDIR /project

FROM base as builder

# Copy the build project in and build it
WORKDIR /project
COPY . /build
RUN dotnet build /build

FROM base as tester

Expand All @@ -51,7 +48,4 @@ RUN curl -sSL https://dot.net/v1/dotnet-install.sh --output dotnet-install.sh \
&& ./dotnet-install.sh --runtime aspnetcore --version 6.0.11 --install-dir /usr/share/dotnet --no-path \
&& rm dotnet-install.sh

# Copy the build project in and build it
WORKDIR /project
COPY . /build
RUN dotnet build /build
7 changes: 0 additions & 7 deletions tracer/build/_build/docker/debian.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,6 @@ WORKDIR /project

FROM base as builder

# Copy the build project in and build it
COPY . /build
RUN dotnet build /build
WORKDIR /project

FROM base as tester
Expand All @@ -86,10 +83,6 @@ RUN if [ "$(uname -m)" = "x86_64" ]; \
&& ./dotnet-install.sh --runtime aspnetcore --version 6.0.11 --install-dir /usr/share/dotnet --no-path \
&& rm dotnet-install.sh


# Copy the build project in and build it
COPY . /build
RUN dotnet build /build
WORKDIR /project

ENV IsDebian=true

0 comments on commit ec33f89

Please sign in to comment.