This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# A script to backup GitLab repositories. | |
GLAB_BACKUP_DIR=${GLAB_BACKUP_DIR-"gitlab_backup"} # where to place the backup files | |
GLAB_TOKEN=${GLAB_TOKEN-"YOUR_TOKEN"} # the access token of the account | |
GLAB_GITHOST=${GLAB_GITHOST-"gitlab.com"} # the GitLab hostname | |
GLAB_PRUNE_OLD=${GLAB_PRUNE_OLD-true} # when `true`, old backups will be deleted | |
GLAB_PRUNE_AFTER_N_DAYS=${GLAB_PRUNE_AFTER_N_DAYS-7} # the min age (in days) of backup files to delete | |
GLAB_SILENT=${GLAB_SILENT-false} # when `true`, only show error messages | |
GLAB_API=${GLAB_API-"https://gitlab.com/api/v3"} # base URI for the GitLab API |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Your\Package\Error; | |
/* * | |
* This script belongs to the TYPO3 Flow package "Your.Package". * | |
* * | |
* */ | |
use TYPO3\Flow\Error\ProductionExceptionHandler; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// TYPO3 Surf script to deploy and update TYPO3 Neos at your uberspace.de account | |
// before of after the initial deployment, you have to setup some things manually at your host (e.g. DB credentials in Settings.yaml) | |
// Note: replace placeholders such as [PLACEHOLDER] with the correct information | |
// Create a simple workflow based on the predefined 'SimpleWorkflow'. | |
$workflow = new \TYPO3\Surf\Domain\Model\SimpleWorkflow(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<f:render section="Main" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Create a simple workflow based on the predefined 'SimpleWorkflow'. | |
$workflow = new \TYPO3\Surf\Domain\Model\SimpleWorkflow(); | |
// Define a custom task for smoketesting based on the 'httptest' task. | |
// Be sure, that the document root of next.example.org points to | |
// '[deploymentPath]/releases/next' | |
$smokeTestOptions = array( | |
'url' => 'http://next.example.org', |