forked from zammad/zammad
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request zammad#335 from monotek/monotek
addded nginx to .pkgr.yml dependencies added contrib/packager.io/preinstall.sh (installs epel-release on centos to get nginx dependency work) moved contrib/pkgr-postinstall.sh to contrib/packager.io/postinstall.sh removed postgresql-devel, postgresql and httpd from .pkgr.yml centos dependencies added postgresql db init to pkgr-postinstall.sh & fixed some checks added codeclimate.yml
- Loading branch information
Showing
4 changed files
with
78 additions
and
11 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 |
---|---|---|
@@ -0,0 +1,48 @@ | ||
--- | ||
engines: | ||
brakeman: | ||
enabled: true | ||
bundler-audit: | ||
enabled: true | ||
csslint: | ||
enabled: true | ||
coffeelint: | ||
enabled: true | ||
duplication: | ||
enabled: true | ||
config: | ||
languages: | ||
- ruby | ||
- javascript | ||
- python | ||
- php | ||
eslint: | ||
enabled: true | ||
fixme: | ||
enabled: true | ||
phpmd: | ||
enabled: true | ||
rubocop: | ||
enabled: true | ||
ratings: | ||
paths: | ||
- Gemfile.lock | ||
- "**.erb" | ||
- "**.haml" | ||
- "**.rb" | ||
- "**.rhtml" | ||
- "**.slim" | ||
- "**.css" | ||
- "**.coffee" | ||
- "**.inc" | ||
- "**.js" | ||
- "**.jsx" | ||
- "**.module" | ||
- "**.php" | ||
- "**.py" | ||
exclude_paths: | ||
- config/ | ||
- db/ | ||
- script/ | ||
- test/ | ||
- vendor/ |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
# | ||
# packager.io preinstall script | ||
# | ||
|
||
PATH=/opt/zammad/bin:/opt/zammad/vendor/bundle/bin:/sbin:/bin:/usr/sbin:/usr/bin: | ||
|
||
# install epel-release on centos (needed for nginx) | ||
if [ -n "$(which yum)" ]; then | ||
yum install -y epel-release | ||
fi | ||
|