-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* New build pipeline dockerfile and pipeline use e2e command install before test use cypress plug in consolidate into one job dockerignore non build files remove unnecessary ignore use node 16 * use multiple jobs add action * add dotnet tool restore step to build * fix: bugs after machete-client * e2e-tests: fix for pipeline and machete-client * remove unsupported mask * don't use bionic image * disable cypress record video * fix e2e tests * remove non-doc comment
- Loading branch information
1 parent
d9e1b2c
commit 55cceec
Showing
22 changed files
with
265 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
node_modules | ||
.idea | ||
.devcontainer | ||
.vscode | ||
cypress | ||
dist | ||
**.md | ||
.github | ||
test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS build-dotnet | ||
WORKDIR /admin | ||
RUN apt update && apt upgrade -y && apt install git | ||
RUN git clone https://github.com/SavageLearning/Machete.git | ||
|
||
WORKDIR /admin/Machete | ||
RUN sed -i 's/localhost/sqlserver/g' Machete.Web/appsettings.json | ||
RUN dotnet tool restore | ||
RUN dotnet build --no-incremental | ||
RUN dotnet publish -o output Machete.Web | ||
|
||
FROM node:16-alpine as build-nodejs | ||
WORKDIR /app | ||
COPY ./ ./ | ||
RUN npm install | ||
RUN npm run --silent build-prod | ||
|
||
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1 | ||
RUN mkdir -p /app/api/Content /app/api/Identity /app/api/dist | ||
COPY --from=build-dotnet /admin/Machete/output/ /app/api | ||
COPY --from=build-nodejs /app/dist /app/api/dist | ||
WORKDIR /app/api | ||
ENTRYPOINT ["dotnet","Machete.Web.dll"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"data": { | ||
"active": false, | ||
"address1": "fake address", | ||
"address2": null, | ||
"blogparticipate": null, | ||
"business": false, | ||
"businessname": null, | ||
"cellphone": null, | ||
"city": "gotham city", | ||
"driverslicense": null, | ||
"email": "[email protected]", | ||
"fax": null, | ||
"isOnlineProfileComplete": null, | ||
"licenseplate": null, | ||
"name": "fake Employer", | ||
"notes": null, | ||
"onlineSigninID": "984fff15-93c5-41c4-b45d-2ed6f20f54f1", | ||
"onlineSource": true, | ||
"phone": "123-456-7891", | ||
"receiveUpdates": false, | ||
"referredby": 25, | ||
"referredbyOther": null, | ||
"returnCustomer": false, | ||
"state": "WA", | ||
"zipcode": "98122", | ||
"createdby": "[email protected]", | ||
"datecreated": "2023-01-16T01:05:00.857", | ||
"dateupdated": "2023-01-16T01:21:24.0310004+00:00", | ||
"id": 1, | ||
"updatedby": "[email protected]" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.