Skip to content

Commit b5168a6

Browse files
[APIPUB-59] Update after release pipeline and error on wget (#65)
* [APIPUB-59] Update after release pipeline and error on wget * Update Package version
1 parent 9b51cbc commit b5168a6

File tree

3 files changed

+26
-11
lines changed

3 files changed

+26
-11
lines changed

.github/workflows/after-pullrequest.yml

+22-7
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,27 @@ jobs:
1717
report-test-results:
1818
name: Report Test Results
1919
runs-on: ubuntu-latest
20+
if: github.event.workflow_run.conclusion != 'skipped'
21+
22+
permissions:
23+
checks: write
24+
pull-requests: write
25+
# actions: read
26+
# only needed for private repository
27+
# contents: read
28+
# issues: read
29+
2030
steps:
21-
- name: Upload Test Results
22-
uses: dorny/test-reporter@eaa763f6ffc21c7a37837f56cd5f9737f27fc6c8 # v1.8.0
31+
- name: Download and Extract Artifacts
32+
uses: dawidd6/action-download-artifact@71072fbb1229e1317f1a8de6b04206afb461bd67 # v3.1.2
33+
with:
34+
run_id: ${{ github.event.workflow_run.id }}
35+
path: artifacts
36+
37+
- name: Publish Test Results
38+
uses: EnricoMi/publish-unit-test-result-action@f355d34d53ad4e7f506f699478db2dd71da9de5f # v2.15.1
2339
with:
24-
artifact: csharp-tests
25-
name: C# Unit Test Results
26-
path: "**/*.trx"
27-
reporter: dotnet-trx
28-
fail-on-error: false
40+
commit: ${{ github.event.workflow_run.head_sha }}
41+
event_file: artifacts/Event File/event.json
42+
event_name: ${{ github.event.workflow_run.event }}
43+
files: "artifacts/**/*.trx"

src/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# See the LICENSE and NOTICES files in the project root for more information.
55

66
# Tag aspnet:8.0-alpine
7-
FROM mcr.microsoft.com/dotnet/aspnet@sha256:de73c1e1abd69d3ffa2658075ad4cd4edccfef37eb92ddda2c78f20173403238
7+
FROM mcr.microsoft.com/dotnet/aspnet@sha256:ba398f8c6a0469436cc115bfbd278002baf4ce9423b6d8a9e904da6adc31a23d
88
LABEL maintainer="Ed-Fi Alliance, LLC and Contributors <[email protected]>"
99

1010
ENV VERSION="1.0.0"
@@ -22,7 +22,7 @@ COPY ./Docker/plainTextNamedConnections.template.json /app/plainTextNamedConnect
2222
COPY ./Docker/run.sh /app/run.sh
2323

2424
RUN apk --no-cache add unzip=~6 dos2unix=~7 bash=~5 gettext=~0 postgresql13-client=~13 icu=~74 curl=~8 && \
25-
wget -O /app/ApiPublisher.zip https://pkgs.dev.azure.com/ed-fi-alliance/Ed-Fi-Alliance-OSS/_apis/packaging/feeds/EdFi/nuget/packages/EdFi.ApiPublisher/versions/${VERSION}/content && \
25+
wget -nv -O /app/ApiPublisher.zip https://pkgs.dev.azure.com/ed-fi-alliance/Ed-Fi-Alliance-OSS/_apis/packaging/feeds/EdFi/nuget/packages/EdFi.ApiPublisher/versions/${VERSION}/content && \
2626
unzip /app/ApiPublisher.zip 'EdFi.ApiPublisher/**' -d /app/ && \
2727
mv /app/EdFi.ApiPublisher/* /app/ && \
2828
rmdir /app/EdFi.ApiPublisher && \

src/dev.Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66

77
# tag sdk:8.0 alpine
8-
FROM mcr.microsoft.com/dotnet/sdk@sha256:e9f2d4a0452e823d615bf6da6e0575489d8037498571db6fa1c6ce6fb9987ecd AS build
8+
FROM mcr.microsoft.com/dotnet/sdk@sha256:91cb46b0ee207d0df53e2e38f2e4013fe2668ab52dcca13c971afbbef94c83ef AS build
99
WORKDIR /source
1010

1111
COPY ./EdFi.Tools.ApiPublisher.Cli/ EdFi.Tools.ApiPublisher.Cli/
@@ -36,7 +36,7 @@ RUN dotnet publish -c Release -o /app/EdFi.Tools.ApiPiblisher.Cli --no-build --n
3636

3737

3838
# Tag aspnet:8.0 alpine
39-
FROM mcr.microsoft.com/dotnet/aspnet@sha256:de73c1e1abd69d3ffa2658075ad4cd4edccfef37eb92ddda2c78f20173403238
39+
FROM mcr.microsoft.com/dotnet/aspnet@sha256:ba398f8c6a0469436cc115bfbd278002baf4ce9423b6d8a9e904da6adc31a23d
4040
LABEL maintainer="Ed-Fi Alliance, LLC and Contributors <[email protected]>"
4141

4242
# Alpine image does not contain Globalization Cultures library so we need to install ICU library to get fopr LINQ expression to work

0 commit comments

Comments
 (0)