Merge pull request 'hotfix/#2-setup-staging' (#3) from hotfix/#2-setup-staging into main
All checks were successful
SPMS_API/pipeline/head This commit looks good

Reviewed-on: https://git.ipstein.myds.me/SPMS/SPMS_API/pulls/3
This commit is contained in:
김선규 2026-01-19 04:24:36 +00:00
commit 986b9ba044
4 changed files with 53 additions and 5 deletions

11
Jenkinsfile vendored
View File

@ -21,8 +21,15 @@ pipeline {
TARGET_BUILD_CONTAINER = 'spms-back-build-release' TARGET_BUILD_CONTAINER = 'spms-back-build-release'
TARGET_RUN_CONTAINER = 'spms-run-release' TARGET_RUN_CONTAINER = 'spms-run-release'
echo ">>> [PROD Mode] SET Release Container" echo ">>> [PROD Mode] SET Release Container"
} else { }
error "This branch(${branchName}) can't set container (USE develop or main branch)" else if (branchName.startsWith('hotfix/') || branchName.startsWith('release/')) {
TARGET_BUILD_CONTAINER = 'spms-back-build-staging'
TARGET_RUN_CONTAINER = 'spms-run-staging'
echo "[STG Mode] SET STAGING Container"
}
else {
error "This branch(${branchName}) can't set container (USE develop or main, staging branch)"
} }
} }
} }

View File

@ -4,9 +4,11 @@
<TargetFramework>net9.0</TargetFramework> <TargetFramework>net9.0</TargetFramework>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<UserSecretsId>1b3e01bb-60ac-40bc-9abf-5cf3a7e35ba2</UserSecretsId>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="BCrypt.Net-Next" Version="4.0.3" />
<PackageReference Include="FirebaseAdmin" Version="3.4.0" /> <PackageReference Include="FirebaseAdmin" Version="3.4.0" />
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.0"/> <PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.0"/>
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="9.0.11"> <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="9.0.11">
@ -15,6 +17,11 @@
</PackageReference> </PackageReference>
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="9.0.0" /> <PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="9.0.0" />
<PackageReference Include="RabbitMQ.Client" Version="7.2.0" /> <PackageReference Include="RabbitMQ.Client" Version="7.2.0" />
<PackageReference Include="Serilog.AspNetCore" Version="10.0.0" />
</ItemGroup>
<ItemGroup>
<Folder Include="CheckList\" />
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@ -4,5 +4,23 @@
"Default": "Information", "Default": "Information",
"Microsoft.AspNetCore": "Warning" "Microsoft.AspNetCore": "Warning"
} }
},
"AllowedHosts": "*",
"ConnectionStrings": {
"DefaultConnection": ""
},
"JwtSettings": {
"SecretKey": "",
"Issuer": "SPMS",
"Audience": "SPMS",
"ExpiryMinutes": 10,
"RefreshTokenExpiryDays": 7
},
"RabbitMQ": {
"HostName": "",
"Port": 0,
"UserName": "",
"Password": "",
"VirtualHost": "dev"
} }
} }

View File

@ -5,5 +5,21 @@
"Microsoft.AspNetCore": "Warning" "Microsoft.AspNetCore": "Warning"
} }
}, },
"AllowedHosts": "*" "AllowedHosts": "*",
} "ConnectionStrings": {
"DefaultConnection": ""
},
"JwtSettings": {
"SecretKey": "",
"Issuer": "SPMS",
"Audience": "SPMS",
"ExpiryMinutes": 10
},
"RabbitMQ": {
"HostName": "",
"Port": 0,
"UserName": "",
"Password": "",
"VirtualHost": "/"
}
}