# Gitlab CI variables when building a commit from a protected branch
CI_COMMIT_REF_PROTECTED = true
CI_COMMIT_REF_NAME = master
CI_COMMIT_BEFORE_SHA = 0000000000000000000000000000000000000000 #(it was the first build)
CI_COMMIT_SHA = 001f69b535aa16139b61ed0a3141169a06d19c20
CI_COMMIT_TAG =
CI_COMMIT_BRANCH = master
CI_DEFAULT_BRANCH = master
CI_MERGE_REQUEST_CHANGED_PAGE_PATHS =
CI_MERGE_REQUEST_ID =
CI_MERGE_REQUEST_SOURCE_BRANCH_NAME =

# build from nonprotected branch
CI_COMMIT_REF_PROTECTED = false
CI_COMMIT_REF_NAME = mr_test
CI_COMMIT_BEFORE_SHA = 001f69b535aa16139b61ed0a3141169a06d19c20
CI_COMMIT_SHA = 28404fc6813215a02cc1655c6eeb94f1d5cf40bf
CI_COMMIT_TAG =
CI_COMMIT_BRANCH = mr_test
CI_DEFAULT_BRANCH = master
CI_MERGE_REQUEST_CHANGED_PAGE_PATHS =
CI_MERGE_REQUEST_ID =
CI_MERGE_REQUEST_SOURCE_BRANCH_NAME =

# build from a unprotected tag
CI_COMMIT_REF_PROTECTED = false # ??????
CI_COMMIT_REF_NAME = v0.0.1
CI_COMMIT_BEFORE_SHA = 0000000000000000000000000000000000000000
CI_COMMIT_SHA = e4c0e873be0b4924f33bc15c6950b8f200af7e79
CI_COMMIT_TAG = v0.0.1
CI_COMMIT_BRANCH = 
CI_DEFAULT_BRANCH = master
CI_MERGE_REQUEST_CHANGED_PAGE_PATHS =
CI_MERGE_REQUEST_ID =
CI_MERGE_REQUEST_SOURCE_BRANCH_NAME =
CI_MERGE_REQUEST_TARGET_BRANCH_NAME =

# merge requests run ONLY jobs marked with 'only: [merge_requests]'
 $ echo "This is a merge request"
This is a merge request
CI_COMMIT_REF_PROTECTED = false
CI_COMMIT_REF_NAME = mr_test
CI_COMMIT_BEFORE_SHA = 0000000000000000000000000000000000000000
CI_COMMIT_SHA = 748254763ab98c51e7e50f0e543fb5af4b275acd
CI_COMMIT_TAG =
CI_COMMIT_BRANCH =
CI_DEFAULT_BRANCH = master
CI_MERGE_REQUEST_CHANGED_PAGE_PATHS =
CI_MERGE_REQUEST_ID = 60167617
CI_MERGE_REQUEST_SOURCE_BRANCH_NAME = mr_test
CI_MERGE_REQUEST_TARGET_BRANCH_NAME = master

# build from a protected tag
CI_COMMIT_REF_PROTECTED = true
CI_COMMIT_REF_NAME = v0.0.3
CI_COMMIT_BEFORE_SHA = 0000000000000000000000000000000000000000
CI_COMMIT_SHA = 1d4633fe9fd91366821c0868abc442172313d41e
CI_COMMIT_TAG = v0.0.3
CI_DEFAULT_BRANCH = master
CI_MERGE_REQUEST_CHANGED_PAGE_PATHS =
CI_MERGE_REQUEST_ID =
CI_MERGE_REQUEST_SOURCE_BRANCH_NAME =
