Commit Graph

110 Commits

Author SHA1 Message Date
bucky 4490ed3e7c output something from the bundler audit to see in the reports 2023-10-22 16:22:18 -07:00
bucky d7c9105995 added audit checks, this should help keep things secure 2023-10-22 15:51:16 -07:00
bucky 3fd8e8c630 wrap the string in single quotes 2023-10-22 15:00:59 -07:00
bucky 950c358ae5 another try 2023-10-22 14:55:06 -07:00
bucky f81199e31b maybe this will clean up a few things 2023-10-22 14:15:27 -07:00
bucky bf1fefd1bc still worknig on env file, and adding logic to not build if the tests fail 2023-10-22 14:05:51 -07:00
bucky c51a6782d9 another shot at cleaning up the .env.rb file 2023-10-22 13:50:58 -07:00
bucky 795447e029 attempting to clean up the .env.rb file 2023-10-22 13:43:12 -07:00
bucky 7caf25c4d0 don't kill it if linting breaks, mark it as unstable 2023-10-22 13:32:39 -07:00
bucky 3fa1de5e4e install bundled gems in /vendor, and use bundle exec to run them 2023-10-22 13:27:07 -07:00
bucky f86da2ed6f forgot to wrap the steps in a steps block 2023-10-22 13:19:30 -07:00
bucky 282a07c5fb added rubocop linting section with output for reports and clean up
rubocop config
2023-10-22 13:16:20 -07:00
bucky 15a5017c86 set up to run with only the freebsd and ruby labeled agent(s) 2023-10-18 13:08:41 -07:00
bucky 360ddbe6d2 include the branch name in the zip, so it can be identified a little easier later 2023-10-17 21:45:14 -07:00
bucky 93aa007c14 removed secret.rb, it's no longer needed 2023-10-17 21:40:39 -07:00
bucky 4e32f4a60d use the escaped quotes for it to work correctly 2023-10-17 21:39:15 -07:00
bucky 2759880a53 remove env. 2023-10-17 21:37:45 -07:00
bucky 7bc1a852db swap quotes on the db name 2023-10-17 21:36:56 -07:00
bucky 00119f9723 use env.DB_NAME to access the environment variable 2023-10-17 21:32:30 -07:00
bucky ff2a0e867d swap the quotes because single quotes doesn't exec the ruby command 2023-10-17 21:30:53 -07:00
bucky 1fae85ff9d moved the init step into one shell command to load it all, and don't use
the secret.rb file
2023-10-17 21:26:23 -07:00
bucky 9812a92d59 remove ls 2023-10-17 18:09:17 -07:00
bucky e8b12c307a include ruby version 2023-10-17 18:06:36 -07:00
bucky ae00ac8672 forgot the .rb 2023-10-17 18:04:29 -07:00
bucky bf92201721 removed some unnecessary lines, and check what's in the current
directory
2023-10-17 18:02:40 -07:00
bucky 1f2e3d41dd syntax error extra - in there 2023-10-17 18:00:46 -07:00
bucky f31b6da49c include the .env file and remove the scret.rb file 2023-10-17 17:58:40 -07:00
bucky f32d153b69 simplified things? 2023-10-17 17:46:24 -07:00
bucky 15d9ade2cf remove EXPORT 2023-10-17 17:42:17 -07:00
bucky 4587c35806 just set it in the script 2023-10-17 17:40:23 -07:00
bucky 340614dadc echo outside catch error 2023-10-17 17:37:35 -07:00
bucky 8a0fef63b2 another try 2023-10-17 17:35:37 -07:00
bucky 8691d19e8d dump the zip file, let's see how it's working? 2023-10-17 17:32:50 -07:00
bucky 35d196bdc2 another shot accessing the new env var 2023-10-17 17:28:41 -07:00
bucky e2c3cb7035 access the ZIP_FILE variable properly? 2023-10-17 17:25:02 -07:00
bucky a69b3e4226 missed quote 2023-10-17 17:22:00 -07:00
bucky 36285b060b better try to set the environment 2023-10-17 17:19:31 -07:00
bucky a0a9e84b91 another try 2023-10-17 17:14:33 -07:00
bucky 01d9f9a21c another shot at setting the zip file name 2023-10-17 17:12:16 -07:00
bucky 621a777a46 update env vars
+ removed the app session secret. it's used where it is set
+ added zip file to make it easier to name the zip and reuse the name
2023-10-17 17:05:15 -07:00
bucky 6fbecd78a4 clean out unnecessary files a little easier 2023-10-17 10:39:17 -07:00
bucky 47393a5ead remove db files as well 2023-10-16 17:30:11 -07:00
bucky b2cdf60a32 Revert "simplify it a little"
This reverts commit 91f45965a0.
2023-10-16 17:23:50 -07:00
bucky 91f45965a0 simplify it a little 2023-10-16 17:18:06 -07:00
bucky 3097cb69aa clean the workspace when done 2023-10-16 17:04:23 -07:00
bucky eed17d61a3 use tmp as a staging place for building the tgz file 2023-10-16 16:35:56 -07:00
bucky 9e5a4069a4 wrapping all the commands in one script, hope it works? 2023-10-16 15:44:50 -07:00
bucky f8c20541d5 removed shopt, added that in jenkins user's .profile 2023-10-16 15:09:44 -07:00
bucky ee07312b86 another shot at getting local shell 2023-10-16 13:48:31 -07:00
bucky e4eabf8aa6 looking to see what shell is used 2023-10-16 12:06:11 -07:00