Skip to content

Instantly share code, notes, and snippets.

@yancyn
yancyn / gitlab-ci.md
Last active May 13, 2021 02:47
Configure Gitlab CI with MSBuild

How To Configure CI With MSBuild

Make sure all required build tools are installed at build server.

  1. Install Runner on build server (download the version for OS).
  2. Configure runner. Enter URL and token from Project > settings > runners page. Choose executor as shell.
  3. Start command prompt with normal (DO NOT start as Administrator).
$ gitlab-runner register
$ gitlab-runner run
@yancyn
yancyn / esxi.md
Created December 23, 2015 03:52
Setup EsXi 6 and vSphere

Requisitions

Backup/restore from existing datastore to local.

  • configuration.vmx
  • image.vmdk

Setup

  1. Search EsXi.
  2. Download vShphere Hypervisor and client. License key provided during download.
  3. Boot from CD or USB (you can use UNetbootin, ISOtoUSB failed).
@yancyn
yancyn / jenkins.md
Last active May 24, 2021 03:56
Build .NET Project with Jenkins

Create a Windows Jenkins server to automate build .NET project with MSBuild. Technologies used are MSBuild, nuget, and git. The main reason to setup Jenkins on Windows is explicitly to build Windows application.
**depends on the output you want to build, please choose the right operating system before you start.

TODO

  • Trigger build by git push or tag.
  • Build Unit Test and post result.

Prerequisitions

  • Jenkins
@yancyn
yancyn / godaddydomain.md
Last active December 20, 2024 16:54
Setup Godaddy Domain for GitHub Page

Setup Godaddy Domain for GitHub Page

  1. Create a new file CNAME and put the domain.com in the file.
  2. Login GoDaddy > Manage domain > DNS Zone File.
  3. Under A (Host) change @ point to 192.30.252.153.
  4. Under CName (Alias) change www point to website.github.io.

see also GitHub Pages + GoDaddy