I am trying to setup ci with gitlab-ci. And I have a few questions about it.
- It looks like there is no rollback mechanism on gitlab-ci. So should i care about rolling back if deploy stage fails?
- I'am planning to use "dotnet publish Solution.sln -c release" script. But I have multiple projects in this solution. It has one classlib and 2 api. (like AdminApi and UserApi). And these 2 apis are hosted different sites in IIS. In this case, how can i configure dotnet publish script with params?
- Should i use something like xcopy for moving publish output to iis folder?
I've put an
app_offile.htm_
for each web sites in iis with "We'll back soon message" in html.And I've solved my problem with this gitlab-ci.yml