Skip to content
This repository was archived by the owner on May 5, 2020. It is now read-only.

Madek/madek_nightly-deploy-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Madek - Nightly Data Deploy

This project lets us trigger deploys via Cider-CI with full data migration to test and staging-v3-pdata via a cron-job.

Setup

Clone this project, set the MADEK_API_LOGIN and MADEK_API_PASSWORD variables valid for ci.zhdk.ch. Call the following script from the cron-job.

42 21 * * * /home/madek-ci-api-user/nightly-deploy
#!/usr/bin/env bash
set -eux
LOGFILE=~/nightly-deploy.log
exec > $LOGFILE 2>&1
export PATH=${HOME}/.rubies/ruby-2.2.5/bin:$PATH
env > /tmp/env.output
gem install bundler
cd ${HOME}/madek_nightly-deploy-script/
bundle install
bundle exec ./deploy.rb

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages