Commit Graph

52 Commits

Author SHA1 Message Date
Simon Massey
6a93549179
Automate the GitHub release (#411) 2019-03-17 16:23:34 +00:00
Josh Rabinowitz
70fd1bcd80
Revert "Re enable testing on travis windows (#423)" (#425)
This reverts commit 9b83d9cee6.
2019-03-15 13:29:25 -04:00
Josh Rabinowitz
9b83d9cee6
Re enable testing on travis windows (#423)
* re-enable testing on windows with travis
* add diagnostic/debug output
2019-03-15 12:06:52 -04:00
Josh Rabinowitz
7a730e4a4f
do lint/shellcheck tests on travis mac builds (#415)
* perform lint/shellcheck tests on travis mac builds
* move osx builds first in travis
* install shellcheck on macos
* show if the lint test passed or failed
* don't have travis install ruby 2.6 on osx for now
2019-03-12 15:41:54 -04:00
Jonas Karlsson
54f74ede6a Fix for windows (#375)
* add test for travis-ci windows support
* Make 'ps' command options platform specific *nix/windows
* Add _clean_path for windows,  apply to all homedir input arguments
* export GITSECRET_DIST="windows" in git hook if running windows
* Bash lint fixes
2019-03-09 18:49:45 -05:00
Josh Rabinowitz
8adb7d5741
Revert "use pgrep & kill $pid, not ps+gawk+regex+system+kill (#400)" (#405)
This reverts commit a2a9bd32ba.
2019-03-09 13:14:44 -05:00
Josh Rabinowitz
a2a9bd32ba
use pgrep & kill $pid, not ps+gawk+regex+system+kill (#400)
* use pgrep & kill, not ps+gawk+regex+system+kill
* install shellcheck and enable lint on macos/brew.
* add shellcheck fixes and exception
* reorder CHANGELOG entries
2019-03-09 10:14:47 -05:00
Josh Rabinowitz
711a6889c3
travis-ci changes: remove ansible v2.3, fix brew build issue
* remove ansible avm v2.3 pip install
* work around perlbrew/build issue #305 with 'brew update' before installs
2019-01-11 10:14:22 -05:00
Carlos Hernandez
cccaa252d7
Fix git builds 2019-01-04 14:53:13 -07:00
Carlos Hernandez
1d5fdd3031
Fixing issue #302 2019-01-04 10:08:58 -07:00
Carlos Hernandez
048040dd3c
Fix bundler 2.0 issues: https://docs.travis-ci.com/user/languages/ruby/ 2019-01-04 09:30:59 -07:00
Josh Rabinowitz
4a3877b486
WIP: Force mode for hide and reveal (#263)
* -F (force even if gpg fails) option for hide and reveal
* allow 'reveal' to decrypt a subset of files.
* update and regen man pages
* man pages update and improvements
* text about why all files should be hidden at once
* add _warn() and _warn_or_abort()
* tests for -F option
* glob source .sh files in Makefile better
* add comment about issue #238. cleanup error msg.
* test exact case in #253
* disable gnupg doc building on ubuntu-rolling
2018-10-10 21:21:58 -04:00
joshr
2383e1fe67 use '-n', not '! -z', as per shellcheck SC2236 2018-09-07 16:09:08 -04:00
Simon Massey
b504facc5d
Build fixes for Alpine latest (#246)
* trying alpine

* Make directory /usr/local/src/ for Alpine based distros

* fixes some alpine issue

* move gem install etc to its own task

* moved gem install etc for alphine into dependencies

* reenabling all ci tests

* typo fix as per review

* clarity around doc build disable being gnupg docs

* commit about ignoring non-zero return value
2018-07-24 17:51:02 +01:00
Josh Rabinowitz
492d705e02 fix more typos 2018-06-21 08:56:30 -04:00
Josh Rabinowitz
28377b138c fix typos 2018-06-21 08:21:52 -04:00
Josh Rabinowitz
5d97c66e90 for testing, use bats-core v1.0.2, not bats 2018-06-20 09:56:25 -04:00
Josh Rabinowitz
553eae53f7
Revert "migrate from bats to bats-core (redux)" 2018-06-19 09:22:56 -04:00
Josh Rabinowitz
bde7a3ca90 migrate from bats to bats-core (redux) 2018-06-13 12:03:25 -04:00
Josh Rabinowitz
bfa3015394
Revert "migrate from bats to bats-core " 2018-06-12 11:24:47 -04:00
joshr
84f9605519 use bats-core 2018-06-09 08:15:32 -04:00
joshr
ce70cbbd72 fix typo 2018-06-09 08:15:17 -04:00
Simon Massey
71fcc22a51 Man pages (#188)
* deploy skip_cleanup: true

* need to deploy when '! -z KITCHEN_REGEXP'

* rsync missing on gnupg1-ubuntu-latest

* fixes missing man pages on gnupg2-ubuntu-rolling

* replace yum with dnf

* ansible comments out dpkg.cfg.d excludes path-exclude=/usr/share/man/.*

* gem 'rspec'

* Install rspec in /usr/local/bin for RedHat based distros

* whitespace in Gemfile.
2018-06-09 07:55:50 +03:00
Josh Rabinowitz
78a072e881 Merge branch 'small-fixes' of github.com:joshrabinowitz/git-secret into small-fixes 2018-04-16 13:33:30 -04:00
Josh Rabinowitz
937a2c8d9d v2.5 fix error: 'failed to validate the SSL certificate for api.github.com:443'
that we see only with 'gnupg-git-[debian|ubuntu]' kitchen configs
  with ansible < 2.5.0.0
2018-04-16 13:30:21 -04:00
Josh Rabinowitz
e7653af7db fix error: 'failed to validate the SSL certificate for api.github.com:443'
that we see only with 'gnupg-git-[debian|ubuntu]' kitchen configs
  with ansible < 2.5.0.0
2018-04-16 13:20:42 -04:00
Josh Rabinowitz
884c6afc36 fix for python InsecurePlatformWarning error 2018-04-16 12:23:19 -04:00
Carlos Hernandez
90f8847b6e
Updating ansible version installed by avm, same as kitchen 2017-11-27 17:03:21 -07:00
Carlos Hernandez
8e26aef0f0
Esnure latest tar is installed on Alpine 2017-11-27 15:37:16 -07:00
Carlos Hernandez
88349a2784 Ensure alpine test are run 2017-11-27 14:51:35 -07:00
Carlos Hernandez
3eafc9113e
Fix apk builds, need tar 2017-11-27 14:47:35 -07:00
Carlos Hernandez
0cabcbc92a Add alpine to test matrix and fix tests 2017-11-27 10:54:19 -07:00
Carlos Hernandez
954d3a17fe Debugging macos 2017-11-27 09:58:03 -07:00
Carlos Hernandez
4bb52bd947 gnupg no longer needs to be installed on macos 2017-11-27 09:52:08 -07:00
Carlos Hernandez
41558c522c Fix macOSX 2017-11-27 09:52:08 -07:00
Carlos Hernandez
1f5e7bfb1e Trying to fix macos tests 2017-11-27 09:52:08 -07:00
Carlos Hernandez
7ac032a332 Fix verfication test for CentOS 2017-11-27 09:52:08 -07:00
Carlos Hernandez
2d779efa66 Fixing shellcheck install, making ansible 2.4 default 2017-11-27 09:52:07 -07:00
Carlos Hernandez
bf686a13ad Changing travis tests to kitchen 2017-11-27 09:52:04 -07:00
Carlos Hernandez
b3d32f0ee8 Fixes #108 2017-11-27 09:50:38 -07:00
sobolevn
5f2d3b3c1c
Adds 'after_deploy' travis hook
Changes:
1. Adds `after_deploy` hook in travis.yml file
2. Adds `.ci/after_deploy.sh` script to trigger metadata calculation

Closes #89
2017-03-27 21:14:25 +03:00
sobolevn
728371912e
Version 0.2.2 pre-release
There are a lot of changes, multiple things were refactored: tests,
some commands, building and meta.

Several critical bugs fixed.

Changes:
1. Fixed #74, when `_user_required` was not working after reimporting keys
2. Closes #73, now it is possible to provide multiple emails to the `killperson` command
3. Closes #72, now it is possible to provide multiple emails to the `tell` command
4. Closes #71, now every doc in this project refer to `git-secret.io` instead of old `gh-pages` website
5. Closes #70, now installation section is removed from main `man` file
6. Closes #69, now "See also" section in the `man`s are clickable
7. Closes #61, added "Manual" section to the manuals
8. Refs #38, added `centos` Dockerfile, but `ci` testing is still failing
9. Refs #52, tests are refactored. Added `clean` command tests, removed a lot of hardcoded things, moved tests execution from `./temp` folder to `/tmp`, added a lot of new check in old tests, and some new test cases
10. Refactored `hide` and `clean` commands to be shorter
11. `shellcheck` is now supported with `make lint`

Additional features are not comming to 0.2.2 after this commit.
2017-02-26 18:10:51 +03:00
sobolevn
73526644e0
Adds an attempt to fix the CI
Changes:
1. Fixes the licence information in the `plugin.zsh` to be MIT
2. Fixes link in the README
3. Fixes some tests

Closes #54
2017-02-04 23:15:16 +03:00
sobolevn
1e748a3c54
CONTRIBUTING.md added 2016-07-02 16:18:53 +03:00
sobolevn
c83f41e6e2
refactored all utils and src 2016-07-02 13:24:32 +03:00
sobolevn
26448c9474
travis final fix 2016-06-30 23:30:06 +03:00
sobolevn
a1666c8de2
travis final fix 2016-06-30 23:22:33 +03:00
sobolevn
7b7289b570
travis final fix 2016-06-30 23:18:00 +03:00
sobolevn
66b326a077
travis final fix 2016-06-30 23:04:27 +03:00
sobolevn
e87efeb3c0
refactored all src folder 2016-06-30 22:43:03 +03:00