Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CentralNic
php-epp
Commits
0a2cf94c
Unverified
Commit
0a2cf94c
authored
Jan 15, 2020
by
Nathan Van Overloop
Browse files
centralnic/issues#3790: add pipeline
parent
60068cb2
Changes
3
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
0a2cf94c
#this is the latest template to assist in copying
image
:
centralnicregistry/syntaxtester:latest
variables
:
GIT_SUBMODULE_STRATEGY
:
recursive
stages
:
-
syntax-check
-
git-robot
default
:
before_script
:
-
tests/prep-alpine-env.sh
step-syntax-check
:
stage
:
syntax-check
script
:
-
export DYNAMIC_ENV_VAR=DEVELOP
-
echo running tests in $DYNAMIC_ENV_VAR
-
tests/testlints.sh
merge-master-to-ote
:
stage
:
git-robot
only
:
-
master
script
:
-
eval $(ssh-agent -s)
-
bash -c "ssh-add <(echo '$GIT_SSH_PRIV_KEY')"
-
ssh-add -L
-
export TMP_DIR=$(mktemp -d -t ./ci-XXXXXXXXXX)
-
cd $TMP_DIR
-
pwd
-
bash -c "set -x; git clone git@git.centralnic.com:${CI_PROJECT_PATH}.git"
-
cd ${CI_PROJECT_NAME}
-
git checkout master
-
git checkout --track origin/ote
-
git merge master
-
git push origin ote
merge-ote-to-dev
:
stage
:
git-robot
only
:
-
ote
script
:
-
eval $(ssh-agent -s)
-
bash -c "ssh-add <(echo '$GIT_SSH_PRIV_KEY')"
-
ssh-add -L
-
export TMP_DIR=$(mktemp -d -t ./ci-XXXXXXXXXX)
-
cd $TMP_DIR
-
pwd
-
bash -c "set -x; git clone git@git.centralnic.com:${CI_PROJECT_PATH}.git"
-
cd ${CI_PROJECT_NAME}
-
git checkout --track origin/ote
-
git checkout --track origin/dev
-
git merge ote
-
git push origin dev
\ No newline at end of file
.gitmodules
0 → 100644
View file @
0a2cf94c
[submodule "tests"]
path = tests
url = ../../centralnic/tests.git
tests
@
118518ae
Subproject commit 118518ae0cc4755868f05b96f15d126c79caacb6
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment