Commit Graph

231 Commits (5cd296cb702a4c8fa6cdb5f6a87919e91f4200a0)

Author SHA1 Message Date
Adam Townsend f32d153b69 simplified things? 2023-10-17 17:46:24 -07:00
Adam Townsend 15d9ade2cf remove EXPORT 2023-10-17 17:42:17 -07:00
Adam Townsend 4587c35806 just set it in the script 2023-10-17 17:40:23 -07:00
Adam Townsend 340614dadc echo outside catch error 2023-10-17 17:37:35 -07:00
Adam Townsend 8a0fef63b2 another try 2023-10-17 17:35:37 -07:00
Adam Townsend 8691d19e8d dump the zip file, let's see how it's working? 2023-10-17 17:32:50 -07:00
Adam Townsend 35d196bdc2 another shot accessing the new env var 2023-10-17 17:28:41 -07:00
Adam Townsend e2c3cb7035 access the ZIP_FILE variable properly? 2023-10-17 17:25:02 -07:00
Adam Townsend a69b3e4226 missed quote 2023-10-17 17:22:00 -07:00
Adam Townsend 36285b060b better try to set the environment 2023-10-17 17:19:31 -07:00
Adam Townsend a0a9e84b91 another try 2023-10-17 17:14:33 -07:00
Adam Townsend 01d9f9a21c another shot at setting the zip file name 2023-10-17 17:12:16 -07:00
Adam Townsend 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
Adam Townsend 6fbecd78a4 clean out unnecessary files a little easier 2023-10-17 10:39:17 -07:00
bucky 873b86a809 Merge pull request 'remove db files as well' (#25) from archive-deliverable into master
Reviewed-on: #25
2023-10-16 17:41:38 -07:00
Adam Townsend 47393a5ead remove db files as well 2023-10-16 17:30:11 -07:00
bucky 69c56ae31a Merge pull request 'archive-deliverable' (#24) from archive-deliverable into master
Reviewed-on: #24
2023-10-16 17:28:43 -07:00
Adam Townsend b2cdf60a32 Revert "simplify it a little"
This reverts commit 91f45965a0.
2023-10-16 17:23:50 -07:00
Adam Townsend 91f45965a0 simplify it a little 2023-10-16 17:18:06 -07:00
Adam Townsend 3097cb69aa clean the workspace when done 2023-10-16 17:04:23 -07:00
Adam Townsend eed17d61a3 use tmp as a staging place for building the tgz file 2023-10-16 16:35:56 -07:00
Adam Townsend 9e5a4069a4 wrapping all the commands in one script, hope it works? 2023-10-16 15:44:50 -07:00
Adam Townsend f8c20541d5 removed shopt, added that in jenkins user's .profile 2023-10-16 15:09:44 -07:00
Adam Townsend ee07312b86 another shot at getting local shell 2023-10-16 13:48:31 -07:00
Adam Townsend e4eabf8aa6 looking to see what shell is used 2023-10-16 12:06:11 -07:00
Adam Townsend 3ec0f0ff7b mkdir -p and wrapped the steps in a catch so the clean up happens 2023-10-16 12:01:10 -07:00
Adam Townsend 27b32fc8f4 another shot 2023-10-16 11:57:20 -07:00
Adam Townsend ceab408ec0 build deliverable, store it, and clean up afterwards 2023-10-16 10:54:52 -07:00
Adam Townsend b56b618a8c added stages to build a deliverable and then clean it up when done 2023-10-16 10:50:22 -07:00
Adam Townsend 5631ae386f include rackup 2023-10-13 21:28:47 -07:00
Adam Townsend c31c556df5 removed falcon and it's dependencies, because it wasn't working right.
use puma for now
2023-10-13 21:27:25 -07:00
bucky 5fae0c4fa9 Merge pull request 'rspec-coverage' (#22) from rspec-coverage into master
Reviewed-on: #22
2023-10-12 23:49:48 -07:00
Adam Townsend 144731062b added URL validation to webpage part 2023-10-12 23:42:52 -07:00
Adam Townsend 72f3e03edd added tests for invalid URL entries
+ URL that returns a 404
+ URL where the domain does not resolve with DNS
+ URL that is not properly formatted
2023-10-12 23:42:04 -07:00
Adam Townsend b08693e866 remove the puts, don't print out the test result 2023-10-12 23:41:38 -07:00
Adam Townsend ae2360a480 include the proper status code 2023-10-12 23:31:15 -07:00
Adam Townsend 213265a5d0 added test for submitting with the wrong content type header 2023-10-12 23:30:47 -07:00
Adam Townsend dfb6b23e70 run simplecov for rspec tests 2023-10-12 23:12:14 -07:00
Adam Townsend c81a7a6160 added rescue for urls that don't resolve 2023-10-12 19:03:03 -07:00
Adam Townsend bbb710a5e1 added test for bad TLD, better named 404 url test 2023-10-12 19:02:38 -07:00
Adam Townsend 7eaa8eacf8 added rescue for OpenURI HTTPErrors 2023-10-12 18:26:13 -07:00
Adam Townsend d78e361c29 added test for validating a url is accessible 2023-10-12 18:25:38 -07:00
Adam Townsend 1ae6c02472 rescue BadURIError for invalid URL format 2023-10-12 18:20:56 -07:00
Adam Townsend 11206854ad added test for an invalid url 2023-10-12 18:20:35 -07:00
Adam Townsend 33089e6fbd build HTML output with cucumber and rspec files in root dir 2023-10-12 16:25:22 -07:00
bucky 5cec47efcc Merge pull request 'create-json' (#21) from create-json into master
Reviewed-on: #21
2023-10-12 14:36:38 -07:00
Adam Townsend cabb4daded split up the nil? and empty? cases, because they are different
situations
2023-10-12 14:27:31 -07:00
Adam Townsend 1e61a76ded added 2 more tests for empty and missing url data posting to links 2023-10-12 14:27:02 -07:00
Adam Townsend ac3e9f14cd added links route for API interactions 2023-10-12 11:42:43 -07:00
Adam Townsend 5ee9351362 added db initialization to make sure the db exists and is up to date
before tests
2023-10-12 11:42:14 -07:00