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
CREATE TABLE t_test_01 AS SELECT * FROM generate_series(1, 1000000); |
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
# Create secret key: | |
openssl rand -base64 512 | tr -d '\r\n' > test/integration/edb_secret | |
# Create EDB: | |
knife solo data bag create pgsql_creds postgres --secret-file test/integration/edb_secret \ | |
--data-bag-path test/data_bags | |
# This creates: | |
# | |
# test/data_bags |
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
#!/usr/bin/env ruby | |
# -*- coding: utf-8 -*- | |
require 'English' | |
puts 'Checking for whitespace errors...' | |
git_ws_check = `git diff-index --check --cached HEAD --` | |
unless $CHILD_STATUS.success? | |
puts git_ws_check | |
exit 1 |