Skip to content
Snippets Groups Projects
Commit 06c6b5dc authored by dyszczo's avatar dyszczo
Browse files

CI 1.10.15. Mysql:5:6, fix for repository deploy

parent 9fb874b2
Branches
Tags
1 merge request!18CI 1.10.15. Mysql:5:6, fix for repository deploy
variables:
WPDESK_CI_VERSION: 1.10.14
WPDESK_CI_VERSION: 1.10.15
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment