Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
plugin-template
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wpdesk
Library
plugin-template
Commits
06c6b5dc
Commit
06c6b5dc
authored
7 years ago
by
dyszczo
Browse files
Options
Downloads
Patches
Plain Diff
CI 1.10.15. Mysql:5:6, fix for repository deploy
parent
9fb874b2
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!18
CI 1.10.15. Mysql:5:6, fix for repository deploy
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+3
-3
3 additions, 3 deletions
.gitlab-ci.yml
with
3 additions
and
3 deletions
.gitlab-ci.yml
+
3
−
3
View file @
06c6b5dc
variables
:
WPDESK_CI_VERSION
:
1.10.1
4
WPDESK_CI_VERSION
:
1.10.1
5
MYSQL_ROOT_PASSWORD
:
mysql
MYSQL_DATABASE
:
wptest
MYSQL_USER
:
mysql
...
...
@@ -21,7 +21,7 @@ stages:
.template
:
&job-test-integration-template
<<
:
*job-test-template
services
:
-
mysql
-
mysql
:5.6
script
:
-
echo ${WPDESK_CI_VERSION}
-
ls -l
...
...
@@ -222,7 +222,7 @@ deploy to repository:
-
echo ${WPDESK_CI_VERSION}
-
rm -rf /tmp/svn-repository
-
mkdir /tmp/svn-repository
-
/tmp/deploy_repository.sh ${CI_PROJECT_NAME} release/${CI_PROJECT_NAME} /tmp/svn-repository
-
/tmp/deploy_repository.sh ${CI_PROJECT_NAME}
${CI_PROJECT_DIR}/
release/${CI_PROJECT_NAME} /tmp/svn-repository
-
'
curl
-X
POST
--data-urlencode
"payload={\"text\":
\"Projekt
<https://gitlab.com/wpdesk/${CI_PROJECT_NAME}|${CI_PROJECT_NAME}>
zdeployowany
do
repozytorium
WP
w
wersji
${CI_COMMIT_REF_NAME}\",
}"
https://hooks.slack.com/services/${SLACK_AUTH}'
environment
:
name
:
wordpress repository
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment