Skip to content

A collection of templates to be used for MDOQ functionality.

Notifications You must be signed in to change notification settings

MDOQ-UK/Templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Templates

A collection of templates to be used for MDOQ functionality.

Post Rollup Actions

A full example script that can be used to configure Magento under every condition can be found here
It can be installed on your project with:

wget https://raw.githubusercontent.com/MDOQ-UK/Templates/main/post_roll_up_actions -O mdoq/post_roll_up_actions && chmod a+x mdoq/post_roll_up_actions

However we have some more streamlined / smaller examples in the post_roll_up_actions_examples directory

Gitignore

To pull in the MDOQ gitignore template when an instance rolls up you can add the following to the post_roll_up_actions script (the "FINAL_STEP" part).

curl -s https://raw.githubusercontent.com/MDOQ-UK/Templates/main/gitignore/updater.php | php

This would make the script look something like:

...
        "$ARGUMENT_STEP_FINAL-$ARGUMENT_COMPARISON_AHEAD")
            set -xe
            # your code
            curl -s https://raw.githubusercontent.com/MDOQ-UK/Templates/main/gitignore/updater.php | php
            ;;
        "$ARGUMENT_STEP_FINAL-$ARGUMENT_COMPARISON_IDENTICAL")
            set -xe
            # your code
            curl -s https://raw.githubusercontent.com/MDOQ-UK/Templates/main/gitignore/updater.php | php
            ;;
        "$ARGUMENT_STEP_FINAL-$ARGUMENT_COMPARISON_BEHIND")
            set -xe
            # your code
            curl -s https://raw.githubusercontent.com/MDOQ-UK/Templates/main/gitignore/updater.php | php
            ;;
...

About

A collection of templates to be used for MDOQ functionality.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published