Commit Graph

173 Commits (master)

Author SHA1 Message Date
sobolevn d2b9184f19
Fixes alpine releases, refs #659 3 years ago
sobolevn 5cfcad9a47
Centos runs on root 3 years ago
sobolevn f65d76d551
Fixes centos install 3 years ago
Nikita Sobolev 19941f91f4
Adds release-ci script to test installation (#664)
* Adds release-ci script to test installation

* Fixes CI

* Fixes CI

* Renames some variables to follow the same SECRETS_ convention
3 years ago
Nikita Sobolev 37a28389d2
Adds new installation instructions for deb and rpm (#662)
* Adds new installation instructions for deb and rpm

* Fixes CI
3 years ago
sobolevn 5fc8ecbdde Adds hadolint, re-enables shellcheck 3 years ago
sobolevn 2bdb4e4f84 Adds osx tests and gnupg1 3 years ago
sobolevn e52038b786 Fixes docs generation and improves docs 3 years ago
sobolevn 5dae68ca0a Adds centos tests 3 years ago
sobolevn 28dbdf3fde Adds fedora testing 3 years ago
sobolevn 22d994c372 Adds alpine tests 3 years ago
sobolevn 38e72e7b05 Adds ubuntu testing 3 years ago
sobolevn 6be7bdc1d3 Adds lint 3 years ago
sobolevn 8f7b9c51de [WIP] New CI 3 years ago
Josh Rabinowitz bdc3560897
Issue 607 fix expired test key (#608)
* updated fixture key for user3, fixes #607
* update tests/fixtures/gpg/README.md
* mention fix of #607 and #609 in changelog
* use shellcheck 0.7.1, not 'latest' for #609
4 years ago
Nikita Sobolev fb1aa1742b
Fixes ShellCheck download URL, refs #597 4 years ago
Josh Rabinowitz 84aaf28784
Use "bundle list", not "bundle show" and disable alpine tests (#570)
* use 'bundle list', not 'bundle show'
* disable alpine tests because of #569
4 years ago
Josh Rabinowitz f14804254c
Upgrade ansible to 2.9.2 (#571)
* upgrade ansible to 2.9.2
* Temporarily disable alpine builds because of #569
4 years ago
Josh Rabinowitz b7741a0ade
Issue487 fedora buids (#511)
* use python3 and pip3

* upgrade to ansible 2.8.4

* set ansible_python_interpreter

* fix: enable debian sources when haven't found them

* updates to changelog
5 years ago
Josh Rabinowitz b68dacc98b
when tests ask for gnupg1, use gnupg1, not gnupg2 (#506) 5 years ago
Josh Rabinowitz bb4b61c2c4
make rsync a build requirement on debian (#501)
* make rsync a build requirement on Debian
* re-enable debian tests on travis
5 years ago
Simon Massey 6a93549179
Automate the GitHub release (#411) 5 years ago
Josh Rabinowitz 70fd1bcd80
Revert "Re enable testing on travis windows (#423)" (#425)
This reverts commit 9b83d9cee6.
5 years ago
Josh Rabinowitz 9b83d9cee6
Re enable testing on travis windows (#423)
* re-enable testing on windows with travis
* add diagnostic/debug output
5 years ago
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
5 years ago
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
5 years ago
Josh Rabinowitz 8adb7d5741
Revert "use pgrep & kill $pid, not ps+gawk+regex+system+kill (#400)" (#405)
This reverts commit a2a9bd32ba.
5 years ago
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
5 years ago
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
5 years ago
Carlos Hernandez cccaa252d7
Fix git builds 5 years ago
Carlos Hernandez 1d5fdd3031
Fixing issue #302 5 years ago
Carlos Hernandez 048040dd3c
Fix bundler 2.0 issues: https://docs.travis-ci.com/user/languages/ruby/ 5 years ago
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
6 years ago
joshr 2383e1fe67 use '-n', not '! -z', as per shellcheck SC2236 6 years ago
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
6 years ago
Josh Rabinowitz 492d705e02 fix more typos 6 years ago
Josh Rabinowitz 28377b138c fix typos 6 years ago
Josh Rabinowitz 5d97c66e90 for testing, use bats-core v1.0.2, not bats 6 years ago
Josh Rabinowitz 553eae53f7
Revert "migrate from bats to bats-core (redux)" 6 years ago
Josh Rabinowitz bde7a3ca90 migrate from bats to bats-core (redux) 6 years ago
Josh Rabinowitz bfa3015394
Revert "migrate from bats to bats-core " 6 years ago
joshr 84f9605519 use bats-core 6 years ago
joshr ce70cbbd72 fix typo 6 years ago
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.
6 years ago
Josh Rabinowitz 78a072e881 Merge branch 'small-fixes' of github.com:joshrabinowitz/git-secret into small-fixes 6 years ago
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
6 years ago
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
6 years ago
Josh Rabinowitz 884c6afc36 fix for python InsecurePlatformWarning error 6 years ago
Carlos Hernandez 90f8847b6e
Updating ansible version installed by avm, same as kitchen 7 years ago
Carlos Hernandez 8e26aef0f0
Esnure latest tar is installed on Alpine 7 years ago
Carlos Hernandez 88349a2784 Ensure alpine test are run 7 years ago
Carlos Hernandez 3eafc9113e
Fix apk builds, need tar 7 years ago
Carlos Hernandez 0cabcbc92a Add alpine to test matrix and fix tests 7 years ago
Carlos Hernandez 954d3a17fe Debugging macos 7 years ago
Carlos Hernandez 4bb52bd947 gnupg no longer needs to be installed on macos 7 years ago
Carlos Hernandez 41558c522c Fix macOSX 7 years ago
Carlos Hernandez 1f5e7bfb1e Trying to fix macos tests 7 years ago
Carlos Hernandez 7ac032a332 Fix verfication test for CentOS 7 years ago
Carlos Hernandez 2d779efa66 Fixing shellcheck install, making ansible 2.4 default 7 years ago
Carlos Hernandez bf686a13ad Changing travis tests to kitchen 7 years ago
Carlos Hernandez b3d32f0ee8 Fixes #108 7 years ago
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
7 years ago
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.
7 years ago
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
7 years ago
sobolevn 1e748a3c54
CONTRIBUTING.md added 8 years ago
sobolevn c83f41e6e2
refactored all utils and src 8 years ago
sobolevn 26448c9474
travis final fix 8 years ago
sobolevn a1666c8de2
travis final fix 8 years ago
sobolevn 7b7289b570
travis final fix 8 years ago
sobolevn 66b326a077
travis final fix 8 years ago
sobolevn e87efeb3c0
refactored all src folder 8 years ago
sobolevn 67218994f3
refactored all src folder 8 years ago
sobolevn 8b1a01f1f6
This commit is pretty large. A lot of changes.
The full list of changes:
1. Added `.docker/` folder with Dockerfiles
2. Now `travis` runs integrational tests inside these containers
3. Now `travis` runs tests with `mac os x`
4. Now there are new ways to autodeploy `deb` and `rpm` packages
5. Fixed some issues
6. Also added `.ci/` folder, where utility scripts for travis are stored
7. Moved `git-hooks` into the separate folder: `utils/hooks/`
8. Added new target to the `Makefile`
9. `.gitignore` is updated to ignore `build/` folder and inner files
8 years ago