hotfix/#2-setup-staging #3

Merged
seonkyu.kim merged 4 commits from hotfix/#2-setup-staging into main 2026-01-19 04:24:39 +00:00
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_RUN_CONTAINER = 'spms-run-release'
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>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<UserSecretsId>1b3e01bb-60ac-40bc-9abf-5cf3a7e35ba2</UserSecretsId>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="BCrypt.Net-Next" Version="4.0.3" />
<PackageReference Include="FirebaseAdmin" Version="3.4.0" />
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.0"/>
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="9.0.11">
@ -15,6 +17,11 @@
</PackageReference>
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="9.0.0" />
<PackageReference Include="RabbitMQ.Client" Version="7.2.0" />
<PackageReference Include="Serilog.AspNetCore" Version="10.0.0" />
</ItemGroup>
<ItemGroup>
<Folder Include="CheckList\" />
</ItemGroup>
</Project>

View File

@ -4,5 +4,23 @@
"Default": "Information",
"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"
}
},
"AllowedHosts": "*"
"AllowedHosts": "*",
"ConnectionStrings": {
"DefaultConnection": ""
},
"JwtSettings": {
"SecretKey": "",
"Issuer": "SPMS",
"Audience": "SPMS",
"ExpiryMinutes": 10
},
"RabbitMQ": {
"HostName": "",
"Port": 0,
"UserName": "",
"Password": "",
"VirtualHost": "/"
}
}