Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cloud-3251787
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
cloud-3251787
Commits
31ee731e
Commit
31ee731e
authored
3 years ago
by
Yas Naoi
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3251529
by yas, baldwinlouie: Fix a script issue of docker/template.yaml
parent
a9c5449d
Branches
4.x
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cfn/nested/ec2/docker/template.yaml
+3
-1
3 additions, 1 deletion
cfn/nested/ec2/docker/template.yaml
with
3 additions
and
1 deletion
cfn/nested/ec2/docker/template.yaml
+
3
−
1
View file @
31ee731e
...
...
@@ -340,7 +340,9 @@ Resources:
\$settings['cache']['default'] = 'cache.backend.memcache';
EOF
sudo docker exec -w $DOCKER_DIR $CONTAINER_NAME sh -c "drush -y cr"
{ sudo -u ubuntu echo "*/5 * * * * ubuntu sudo docker exec -w /var/www/cloud_orchestrator cloud-orchestrator sh -c 'drush cron' > /dev/null 2>&1 "; } > /etc/crontab
cp /etc/crontab /tmp/
echo "*/5 * * * * pi sudo docker exec -w /var/www/cloud_orchestrator cloud-orchestrator sh -c 'drush cron' > /dev/null 2>&1" >> /tmp/crontab
sudo cp /tmp/crontab /etc/
# CFn helper script installation
cd /tmp
...
...
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