Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
syncontent
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Web Essentials Jira
Web Essentials Jira
Labels
Merge Requests
0
Merge Requests
0
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Visay Keo
syncontent
Commits
e0da4743
Commit
e0da4743
authored
Sep 07, 2016
by
Visay Keo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[TASK] Adjust for TYPO3 6.2
parent
c4549203
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
7 deletions
+19
-7
ansible/roles/cleanup/tasks/typo3.yml
ansible/roles/cleanup/tasks/typo3.yml
+2
-2
ansible/roles/database/tasks/typo3.yml
ansible/roles/database/tasks/typo3.yml
+13
-1
ansible/roles/rsync/defaults/main.yml
ansible/roles/rsync/defaults/main.yml
+3
-3
bin/syncontent
bin/syncontent
+1
-1
No files found.
ansible/roles/cleanup/tasks/typo3.yml
View file @
e0da4743
...
...
@@ -2,11 +2,11 @@
# tasks file for typo3 cleanup
-
name
:
Remove temp caches directory
local_action
:
shell rm -rf
web/
typo3temp/Cache
local_action
:
shell rm -rf typo3temp/Cache
chdir="{{ local_path }}"
-
name
:
Execute neccessary typo3 commands
local_action
:
shell TYPO3_CONTEXT={{ local_context }} {{ bin_path }}/dockertypo3 run app ./
web/
typo3cms {{ item }}
local_action
:
shell TYPO3_CONTEXT={{ local_context }} {{ bin_path }}/dockertypo3 run app ./typo3cms {{ item }}
chdir="{{ local_path }}"
with_items
:
-
cache:flush
...
...
ansible/roles/database/tasks/typo3.yml
View file @
e0da4743
...
...
@@ -2,7 +2,19 @@
# tasks file for typo3 database
-
name
:
Sync remote database dump to local temp
synchronize
:
mode=pull src="{{ remote_dump }}" dest="/tmp/{{ ssh_user }}/db_dump.sql"
synchronize
:
mode=pull src="{{ remote_dump }}" dest="/tmp/{{ ssh_user }}/db_dump.bz2"
when
:
not from_cache|bool
-
name
:
Remove old database dump
local_action
:
file path=/tmp/{{ ssh_user }}/db_dump.sql state=absent
when
:
not from_cache|bool
-
name
:
Extract remote database dump
local_action
:
unarchive src="/tmp/{{ ssh_user }}/db_dump.bz2" dest="/tmp/{{ ssh_user }}"
when
:
not from_cache|bool
-
name
:
Rename remote database dump
local_action
:
shell mv /tmp/{{ ssh_user }}/*.sql /tmp/{{ ssh_user }}/db_dump.sql
when
:
not from_cache|bool
-
name
:
Search and replace content in database dump
...
...
ansible/roles/rsync/defaults/main.yml
View file @
e0da4743
...
...
@@ -5,6 +5,6 @@ data_dir:
flow
:
-
Data/Persistent/
typo3
:
-
Web/
fileadmin/
-
Web/
typo3conf/l10n/
-
Web/
uploads/
-
fileadmin/
-
typo3conf/l10n/
-
uploads/
bin/syncontent
View file @
e0da4743
...
...
@@ -35,7 +35,7 @@ if (cat ${ROOT_DIR}/composer.lock | grep "dockerflow" > /dev/null); then
fi
if
(
cat
${
ROOT_DIR
}
/composer.lock |
grep
"dockertypo3"
>
/dev/null
)
;
then
FRAMEWORK
=
"typo3"
DATA_DIR
=
"
Web/
uploads"
DATA_DIR
=
"uploads"
# Use Development context if TYPO3 Context is not set
FRAMEWORK_CONTEXT
=
${
TYPO3_CONTEXT
:
=Development
}
...
...
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