Commit Graph

240 Commits (e362cef9ba9163a447bcbf9a307815ac60ca9df2)

Author SHA1 Message Date
Adam Townsend e362cef9ba added SHA256 and sync both the sig and the zip
Gitea Bucky/url-shortener/pipeline/head There was a failure building this commit Details
2023-12-18 15:51:41 -08:00
Adam Townsend 25d94bbfc2 attempt to use rsync to sync data to artifact repo jail
Gitea Bucky/url-shortener/pipeline/head There was a failure building this commit Details
2023-12-18 13:09:52 -08:00
Adam Townsend 40e3703650 get the actual version, not the line
Gitea Bucky/url-shortener/pipeline/head This commit looks good Details
2023-10-24 18:11:12 -07:00
Adam Townsend 21eeb9db72 use version instead of date
Gitea Bucky/url-shortener/pipeline/head There was a failure building this commit Details
2023-10-24 18:01:15 -07:00
Adam Townsend 2cbe5f85b0 moved bundle-audit inside test group, added version file 2023-10-24 17:53:56 -07:00
bucky b62d45d0d8 Merge pull request 'prod-artifact-when-good' (#34) from prod-artifact-when-good into master
Gitea Bucky/url-shortener/pipeline/head This commit looks good Details
Reviewed-on: #34
2023-10-23 15:54:27 -07:00
Adam Townsend 0dc792b0bf added try catch wrappers around other parts. if they fail, don't build
Gitea Bucky/url-shortener/pipeline/head This commit looks good Details
the deliverable
2023-10-23 15:48:42 -07:00
Adam Townsend 5f4209dbe8 testing skipping building the artifact at the end (and cleanup of it)
Gitea Bucky/url-shortener/pipeline/head This commit looks good Details
2023-10-23 15:10:16 -07:00
Adam Townsend fbba67a9bd install, not clean, since it changed the bundle location
Gitea Bucky/url-shortener/pipeline/head This commit looks good Details
2023-10-23 15:05:20 -07:00
Adam Townsend 5cd296cb70 when is outside the steps
Gitea Bucky/url-shortener/pipeline/head There was a failure building this commit Details
2023-10-23 15:03:45 -07:00
Adam Townsend 7c0f6eb603 limit building deployment artifact
Gitea Bucky/url-shortener/pipeline/head There was a failure building this commit Details
+ added buildArtifact variable and set it to true
+ in auditing stage, if there's an error, set buildArtifact to false
+ in build artifact stage, if buildArtifact is true, build  it
2023-10-23 14:58:02 -07:00
Adam Townsend de3dcc48ab removed the when, and removed unnecessary rm command
Gitea Bucky/url-shortener/pipeline/head There was a failure building this commit Details
2023-10-23 12:31:29 -07:00
Adam Townsend 958091e000 see if we can access the buildResult status to use it 2023-10-23 11:32:02 -07:00
Adam Townsend 35583e404e move the local path in the build prod artifact stage to make the tests
quicker
2023-10-23 07:43:30 -07:00
Adam Townsend 0e9342fab6 only build the production environment when the previous steps all executed successfully 2023-10-23 07:41:52 -07:00
bucky ca4182d798 Merge pull request 'added bundle config to only use prod gems and bundle clean to remove unnecessary gems from the current poject' (#33) from build-deployment-artifact into master
Reviewed-on: #33

closes bucky/url-shortener#32
2023-10-23 07:31:15 -07:00
Adam Townsend 7d04c46728 added bundle config to only use prod gems and bundle clean to remove unnecessary gems from the current poject 2023-10-23 07:18:31 -07:00
Adam Townsend 4490ed3e7c output something from the bundler audit to see in the reports 2023-10-22 16:22:18 -07:00
bucky 30c1192e27 Merge pull request 'audit' (#31) from audit into master
Reviewed-on: #31

closes bucky/url-shortener#30
2023-10-22 16:06:15 -07:00
Adam Townsend 6e30705810 rubocop autofixed quotes 2023-10-22 15:57:57 -07:00
Adam Townsend d7c9105995 added audit checks, this should help keep things secure 2023-10-22 15:51:16 -07:00
Adam Townsend a732eb2a61 added bundle-audit and ruby_audit gems 2023-10-22 15:48:40 -07:00
bucky c29d53a33b Merge pull request 'rubocop' (#29) from rubocop into master
Reviewed-on: #29

closes bucky/url-shortener#28
2023-10-22 15:11:23 -07:00
Adam Townsend 3fd8e8c630 wrap the string in single quotes 2023-10-22 15:00:59 -07:00
Adam Townsend 950c358ae5 another try 2023-10-22 14:55:06 -07:00
Adam Townsend f81199e31b maybe this will clean up a few things 2023-10-22 14:15:27 -07:00
Adam Townsend bf1fefd1bc still worknig on env file, and adding logic to not build if the tests fail 2023-10-22 14:05:51 -07:00
Adam Townsend c51a6782d9 another shot at cleaning up the .env.rb file 2023-10-22 13:50:58 -07:00
Adam Townsend 795447e029 attempting to clean up the .env.rb file 2023-10-22 13:43:12 -07:00
Adam Townsend 7caf25c4d0 don't kill it if linting breaks, mark it as unstable 2023-10-22 13:32:39 -07:00
Adam Townsend 3fa1de5e4e install bundled gems in /vendor, and use bundle exec to run them 2023-10-22 13:27:07 -07:00
Adam Townsend f86da2ed6f forgot to wrap the steps in a steps block 2023-10-22 13:19:30 -07:00
Adam Townsend 282a07c5fb added rubocop linting section with output for reports and clean up
rubocop config
2023-10-22 13:16:20 -07:00
Adam Townsend bf6ed14b5e custom parts for rubocop to run. don't worry about block length in many
parts. hide extension suggestions
2023-10-22 13:15:09 -07:00
Adam Townsend 7d35133e43 require capybara and rspec parts needed for tests to run instead of
including them. rubocop autofixed formatting
2023-10-22 13:14:23 -07:00
Adam Townsend c505012b00 rubocop added frozen string literal comment 2023-10-22 13:14:02 -07:00
Adam Townsend 4f54124519 rubocop autofixed formatting 2023-10-22 13:13:27 -07:00
Adam Townsend 18e8eac2ab rubocop autofixed formatting 2023-10-22 13:12:48 -07:00
Adam Townsend 5abf07d0c7 rubocop formatting fixes 2023-10-22 13:07:07 -07:00
Adam Townsend 48ffdf560b frozen string literal for rubocop 2023-10-22 13:06:12 -07:00
Adam Townsend e0392f2483 added rubocop 2023-10-22 13:05:43 -07:00
Adam Townsend 15a5017c86 set up to run with only the freebsd and ruby labeled agent(s) 2023-10-18 13:08:41 -07:00
Adam Townsend dd5caa4056 updated README, swapped Falcon for Puma for now, and ignored more files 2023-10-17 21:53:12 -07:00
Adam Townsend 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 b3b886f0b3 Merge pull request 'simplify-secret' (#27) from simplify-secret into master
Reviewed-on: #27
2023-10-17 21:43:19 -07:00
Adam Townsend 93aa007c14 removed secret.rb, it's no longer needed 2023-10-17 21:40:39 -07:00
Adam Townsend 4e32f4a60d use the escaped quotes for it to work correctly 2023-10-17 21:39:15 -07:00
Adam Townsend 2759880a53 remove env. 2023-10-17 21:37:45 -07:00
Adam Townsend 7bc1a852db swap quotes on the db name 2023-10-17 21:36:56 -07:00
Adam Townsend 00119f9723 use env.DB_NAME to access the environment variable 2023-10-17 21:32:30 -07:00