-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/sandialabs/scot
- Loading branch information
Showing
14 changed files
with
68 additions
and
99 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,64 +1,8 @@ | ||
language: perl | ||
cache: | ||
- apt | ||
perl: | ||
- "5.18" | ||
env: PERL_CPANM_OPT="--notest --force --skip-satisfied" | ||
# before_install: | ||
# - "sudo apt-get update" | ||
# - "sudo apt-get install gcc git-core make libapache2-mod-authnz-external dialog libcurses-perl libmagic-dev libxml-perl libyaml-perl perlmagick perltidy perl-doc groff libwww-mechanize-perl libjson-perl librose-db-perl libtree-simple-perl libtask-weaken-perl libtree-simple-visitorfactory-perl libalgorithm-c3-perl libapparmor-perl libarchive-zip-perl libauthen-krb5-simple-perl libauthen-sasl-perl libb-hooks-endofscope-perl libb-keywords-perl libbit-vector-perl libcache-perl libcairo-perl libcarp-assert-more-perl libcarp-assert-perl libcarp-clan-perl libcgi-simple-perl libclass-accessor-perl libclass-c3-adopt-next-perl libclass-c3-perl libclass-c3-xs-perl libclass-data-inheritable-perl libclass-errorhandler-perl libclass-factory-util-perl libclass-inspector-perl libclass-singleton-perl libclone-perl libclone-pp-perl libcompress-bzip2-perl libconfig-tiny-perl libdata-dump-perl libdata-optlist-perl libdate-manip-perl libdatetime-format-builder-perl libdatetime-format-mysql-perl libdatetime-format-pg-perl libdatetime-format-strptime-perl libdatetime-locale-perl libdatetime-perl libdatetime-timezone-perl libdbd-mysql-perl libdbd-pg-perl libdbi-perl libdevel-globaldestruction-perl libdevel-stacktrace-perl libdevel-symdump-perl liberror-perl libexception-class-perl libextutils-autoinstall-perl libfcgi-perl libfile-copy-recursive-perl libfile-homedir-perl libfile-modified-perl libfile-nfslock-perl libfile-remove-perl libfile-searchpath-perl libfile-slurp-perl libfile-spec-perl libfile-which-perl libfont-afm-perl libfreezethaw-perl libglib-perl libgnome2-canvas-perl libgnome2-perl libgnome2-vfs-perl libgtk2-perl libheap-perl libhtml-clean-perl libhtml-format-perl libhtml-parser-perl libhtml-tagset-perl libhtml-template-perl libhtml-tree-perl libhttp-body-perl libhttp-request-ascgi-perl libhttp-response-encoding-perl libhttp-server-simple-perl libio-socket-ssl-perl libio-string-perl libio-stringy-perl libjson-perl libjson-xs-perl liblingua-stem-snowball-perl liblist-moreutils-perl liblocale-gettext-perl liblwp-authen-wsse-perl libmailtools-perl libmime-types-perl libmldbm-perl libmodule-corelist-perl libmodule-install-perl libmodule-scandeps-perl libmoose-perl libmoosex-emulate-class-accessor-fast-perl libmoosex-methodattributes-perl libmoosex-types-perl libmro-compat-perl libnamespace-autoclean-perl libnamespace-clean-perl libnet-daemon-perl libnet-dbus-perl libnet-jabber-perl libnet-libidn-perl libnet-ssleay-perl libnet-xmpp-perl libpango-perl libpar-dist-perl libparams-util-perl libparams-validate-perl libparse-cpan-meta-perl libparse-debianchangelog-perl libpath-class-perl libperl-critic-perl libplrpc-perl libpod-coverage-perl libpod-spell-perl libppi-perl libreadonly-perl libreadonly-xs-perl librose-datetime-perl librose-db-object-perl librose-db-perl librose-object-perl librpc-xml-perl libscope-guard-perl libscope-upper-perl libsphinx-search-perl libsql-reservedwords-perl libstring-format-perl libstring-rewriteprefix-perl libsub-exporter-perl libsub-install-perl libsub-name-perl libsub-uplevel-perl libtask-weaken-perl libterm-readkey-perl libtest-exception-perl libtest-longstring-perl libtest-mockobject-perl libtest-perl-critic-perl libtest-pod-coverage-perl libtest-pod-perl libtest-www-mechanize-perl libtext-charwidth-perl libtext-iconv-perl libtext-simpletable-perl libtext-wrapi18n-perl libtie-ixhash-perl libtime-clock-perl libtimedate-perl libtree-simple-perl libtree-simple-visitorfactory-perl libuniversal-can-perl libuniversal-isa-perl liburi-fetch-perl liburi-perl libuuid-perl libvariable-magic-perl libwww-mechanize-perl libwww-perl libxml-atom-perl libxml-dom-perl libxml-libxml-perl libxml-libxslt-perl libxml-namespacesupport-perl libxml-parser-perl libxml-perl libxml-regexp-perl libxml-sax-expat-perl libxml-sax-perl libxml-stream-perl libxml-twig-perl libxml-xpath-perl libxml-xslt-perl libyaml-perl libyaml-syck-perl libyaml-tiny-perl perl perl-base perl-doc perl-modules perlmagick perltidy libgssapi-krb5-2 libkrb5support0 libkrb5-3 krb5-doc lynx curl git-core java-common apache2 libapache2-mod-proxy-html libapache2-mod-rpaf libimlib2-dev libimlib2 starman libgeoip-dev default-jre libplack-perl cpanminus libio-prompt-perl" | ||
# - cpanm "Curses::UI" | ||
# - cpanm "Number::Bytes::Human" | ||
# - cpanm "Sys::RunAlone" | ||
# - cpanm "Parallel::ForkManager" | ||
# - cpanm "DBI" | ||
# - cpanm "Encode" | ||
# - cpanm "FileHandle" | ||
# - cpanm "File::Slurp" | ||
# - cpanm "File::Temp" | ||
# - cpanm "File::Type" | ||
# - cpanm "Geo::IP" | ||
# - cpanm "HTML::Entities" | ||
# - cpanm "HTML::Scrubber" | ||
# - cpanm "HTML::Strip" | ||
# - cpanm "HTML::StripTags" | ||
# - cpanm "JSON" | ||
# - cpanm "Log::Log4perl" | ||
# - cpanm "Mail::IMAPClient" | ||
# - cpanm "Mail::IMAPClient::BodyStructure" | ||
# - cpanm "MongoDB" | ||
# - cpanm "MongoDB::GridFS" | ||
# - cpanm "MongoDB::GridFS::File" | ||
# - cpanm "MongoDB::OID" | ||
# - cpanm "Moose" | ||
# - cpanm "Moose::Role" | ||
# - cpanm "Moose::Util::TypeConstraints" | ||
# - cpanm "Net::Jabber::Bot" | ||
# - cpanm "Net::LDAP" | ||
# - cpanm "Net::SMTP::TLS" | ||
# - cpanm "Readonly" | ||
# - cpanm "Time::HiRes" | ||
# - cpanm "Mojo" | ||
# - cpanm "MojoX::Log::Log4perl" | ||
# - cpanm "MooseX::MetaDescription::Meta::Attribute" | ||
# - cpanm "DateTime::Format::Natural" | ||
# - cpanm "Net::STOMP::Client" | ||
# - cpanm "IPC::Run" | ||
# - cpanm "XML::Smart" | ||
# - cpanm "Config::Auto" | ||
# - cpanm "Data::GUID" | ||
# - cpanm "Redis" | ||
# - cpanm "File::LibMagic" | ||
# - cpanm "Courriel" | ||
# - cpanm "List::Uniq" | ||
# - cpanm "Domain::PublicSuffix" | ||
# - cpanm "Crypt::PBKDF2" | ||
# - cpanm "Config::Crontab" | ||
# - cpanm "HTML::TreeBuilder | ||
# - cpanm HTML::FromText" | ||
# - cpanm "DateTime::Cron::Simple" | ||
# - cpanm "HTML::FromText" | ||
# - cpanm "IO::Prompt" | ||
# - cpanm "Proc::PID::File" | ||
install: "sudo ./install_scot3.sh" | ||
install: "sudo ./install_scot3.sh -m test" | ||
script: "cd /opt/sandia/webapps/scot3/t/ && perl /opt/sandia/webapps/scot3/t/all.t" | ||
# after_success: | ||
# "curl --ftp-create-dirs -T uploadfilename -u $FTP_USER:$FTP_PASSWORD ftp://sitename.com/directory/myfile" | ||
after_success: $DEPLOY |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,22 @@ | ||
#!/bin/bash | ||
|
||
/usr/bin/supervisord & | ||
sleep 20 | ||
sleep 80; | ||
# COUNTER=0 | ||
# grep -q 'waiting for connections on port' /var/log/mongodb/mongod.log | ||
# while [[ $? -ne 0 && $COUNTER -lt 100 ]] ; do | ||
# sleep 1 | ||
# let COUNTER+=1 | ||
# echo "Waiting for mongo to initialize... ($COUNTER seconds so far)" | ||
# grep -q 'waiting for connections on port' /var/log/mongodb/mongod.log | ||
# done | ||
|
||
cd /opt/sandia/webapps/scot3/t/ | ||
perl /opt/sandia/webapps/scot3/t/all.t | ||
|
||
if [ "\$?" == "0" ]; then | ||
exit 0; | ||
else | ||
exit 1; | ||
fi | ||
exit $? | ||
# if [ "\$?" == "0" ]; then | ||
# exit 0; | ||
# else | ||
# exit 1; | ||
# fi |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
rotate 5 | ||
compress | ||
notifempty | ||
copytruncate | ||
} | ||
/var/log/error.*.log { | ||
daily | ||
|
Oops, something went wrong.