Commit graph

187 commits

Author SHA1 Message Date
Mac Siri
290b9bd775
[CI] Add branch specific rule for codecov upload (#19736) 2023-07-12 09:08:50 -04:00
Josh Klar
10e4fe4d6c
infra: Automatically build and push base container image when Ruby versions are updated. (#19657) 2023-07-11 12:23:49 -07:00
Helio Cola
c7bb3be603
Upgrade ruby 3.0.6 (#19651)
Co-authored-by: Josh Klar <jklar@forem.com>
Co-authored-by: Mac Siri <krairit.siri@gmail.com>
2023-07-06 16:42:20 -04:00
Mac Siri
894a318f99
Add retry to codecov upload (#19679) 2023-07-03 16:40:51 -04:00
PJ
90780fd97a
Fix comment moderation's UI bugs (#19554) 2023-06-23 09:56:24 -04:00
Mai Irie
282afaa6a2
Update PR template to include a11y checklist (#19538) 2023-05-26 12:37:48 -04:00
Mac Siri
a6a3417e5e
[CI] Move code-coverage upload into isolated process (#19532) 2023-05-26 09:09:39 -04:00
Mac Siri
a5842bd779
Revert Uffizzi refactors (#19526) 2023-05-24 10:55:27 -04:00
Mac Siri
f85db74b92
[CI] Refactor Uffizzi-build.yml (#19463)
* Simplify Uffizzi setup & use cached assets

* Remove cache assets usage

* Don't feature too many articles in seed

* Update db/seeds.rb
2023-05-16 09:41:52 -07:00
Mac Siri
e2a2d170e8
[CI] Combine Uffizzi workflows (#19429) 2023-05-05 12:59:08 -04:00
Joshua Wehner
7a9d71666f
Refactor for_display to pass article instead of params (#19376)
* Refactor for_display to pass article instead of params

* Refactor: use options in FilteredAdsQuery, deconstruct article in DisplayAd.for_display

* Typo

* Restore applicable comments
2023-04-26 16:57:10 +02:00
Peter Frank
3d53351b8f
Update issue templates and automatic comment on new issues (#19357)
* Update issue templates

Adding a new issue template as part of an effort to clean up the way we use GitHub / GitHub Discussions

* Update config.yml

* Update issue.yml
2023-04-24 13:15:40 -07:00
Mac Siri
531f15566d
Track Deploys with Honeybadger (#19338) 2023-04-17 11:14:58 -04:00
Ridhwana
0771a5cd2e
Load post_comments billboard asynchronously (#19285)
* feat: add a route to the async_info for display ads

* feat: load the billboard asyncronously

* feat: move the methods to the display_ads controller

* feat: handle params better

* feat: cache control headers

* feat: test fastly caching headers on display ads

* fix: surrogate key test

* feat: use safe navigation operator to handle cases where there is no article id

* fix: article id present then find the article

* feat: add a response test

* Fragment caching

* feat: update the article decorator

* feat: update cache keys for fragment

* feat: remove an empty line

* feat: add article id

* feat: bust cache

* feat: setup dropdown for billboard

* chore: add chunk to same line

* feat: add to safe params for caching

* Update app/controllers/display_ads_controller.rb

Co-authored-by: Joshua Wehner <joshua@forem.com>

* feat: remove the cache deletion

* feat: update the routes to follow a new scope

* feat: update the cache params

---------

Co-authored-by: Joshua Wehner <joshua@forem.com>
2023-04-12 18:15:15 +02:00
Mac Siri
f88a861125
Keep rubocop's usage consistent (#19293) 2023-04-06 07:53:59 -04:00
Mai Irie
3775f2b06c
PR Template cleanup (#19277)
* PR Template cleanup

Removed some sections we've been using less often to streamline the PR review process.
2023-04-05 11:58:57 -04:00
Mac Siri
e3b6e5b08d
[CI] Make CodeCov less noisy (#19286) 2023-04-03 15:56:20 -04:00
Mac Siri
f368a4ce7f
Fix broken cypress code coverage (#19282) 2023-03-30 12:36:12 -04:00
Mac Siri
64c10957e3
Update CODEOWNERS (#19276) 2023-03-29 17:20:41 -04:00
Mac Siri
88108b3037
Implement code coverage for Cypress (#19250) 2023-03-29 15:37:50 -04:00
Mac Siri
1e1064de0b
Undo changes to Sprockets::UglifierWithSourceMapsCompressor (#19261) 2023-03-24 12:48:59 -04:00
Mac Siri
b7f00706bd
[CI] Adjust cancel-in-progress concurrency (#19244)
* [CI] Adjust cancel-in-progress concurrency

* Revert "[CI] Lock setup-ruby to v1.144.0 (#19243)"

This reverts commit 44a3527983.
2023-03-21 10:05:31 -04:00
Mac Siri
44a3527983
[CI] Lock setup-ruby to v1.144.0 (#19243) 2023-03-20 11:17:18 -04:00
Mac Siri
047a68cc66
[CI] Add concurrency & remove slack alert (#19237)
* Remove CI's slack report

* Add concurrency to per branch

* Dynamic cancel-in-progress
2023-03-20 08:59:14 -04:00
Mac Siri
bfe797f44d
Create cleanup-cache.yml (#19232) 2023-03-17 12:18:51 -04:00
Mac Siri
2e759c823d
Merge bundle-audit and rubocop into CI & add precompile step (#19228) 2023-03-16 15:34:38 -04:00
Mac Siri
61bd41930d
Add build steps and expand CI node (#19220)
* Add build step

* Use retrieve cache instead for tests

* Add assets_precompile step

* Rename method

* Forgot ruby

* Typo

* Try exit early

* Speed up yarn_install

* Try again

* why

* Oops

* debug echo

* Move order

* Refine lookup process

* Synxtax error

* Remove redundant yarn install

* Separate Storybook

* Simplify

* Revert "Simplify"

This reverts commit 2e07724dcc4d08d03b9f50c41669f9ee94045002.

* Expand node counts

* Experimental bypass

* Remove verbose cypress install

* Revert "Remove verbose cypress install"

This reverts commit 5ace028feb91f44358a384bfaa8d3da1cdf68c07.

* Provide precompiled asset to RSpec

* lets try 10 nodes

* Only cache webpack

* Test speed with 8 node counts

* No need for assets precompile
2023-03-15 09:36:30 -04:00
Mac Siri
09291b4205
Update CI node count (#19174) 2023-02-27 12:54:05 -05:00
Adam Vollrath
4668e11dcc
Improvements to Uffizzi Preview Workflows (#19029) 2023-02-24 12:34:02 -05:00
Mac Siri
ff3c3c9324
[CI] Collect RSpec artifacts (#19128)
Co-authored-by: Lawrence <lawrence@forem.com>
2023-02-22 12:52:52 -05:00
Aramayis
c758272aec
Fix Uffizzi sign in bug(#19100) 2023-02-20 16:21:05 -05:00
Joshua Wehner
048f0cff2a
[CI] Specifying node version explicitly (#19154) 2023-02-20 09:01:20 -05:00
depfu[bot]
624240a348
[js] Upgrade cypress: 10.11.0 → 12.5.1 (major) (#19119)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Mac Siri <mac@forem.com>
2023-02-16 17:06:25 -05:00
Mac Siri
83dbca39ff
[CI] Capture Cypress logs on failure (#19114) 2023-02-14 09:53:47 -05:00
Mac Siri
cb3b12feaa
Expand CI nodes (#19073) 2023-02-06 15:15:26 -05:00
Mac Siri
45e292463e
Add proper CodeCov flags (#19044) 2023-02-02 15:41:42 -05:00
Mac Siri
14b28a1a9c
Use upload-artifact in CI (#18980) 2023-01-19 07:30:59 -05:00
Mac Siri
aaf4339b46
Expand CD to include staging (#18966) 2023-01-16 14:20:38 -05:00
Mac Siri
68c7308c59
Add Github CD (2nd attempt) (#18960) 2023-01-13 15:51:08 -05:00
Aramayis
12e37330c7
Integrate Uffizzi (#18792)
Co-authored-by: Aramayis <>
2023-01-09 10:49:39 -05:00
Mac Siri
f13a1ec0c2
Actually get buildpulse to work with rspec and jest (#18859)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-12-19 14:31:29 -05:00
Mac Siri
db39270539
Integrate BuildPulse (#18740) 2022-11-18 09:54:11 -05:00
Mac Siri
4aa053201c
Fix yarn postcss (#18711)
* Remove postcss-cssnext

* Remove redundant code

* Update postcss-preset-env

* Account for fingerprinting
2022-11-11 08:57:11 -06:00
Mac Siri
a3dbf5d5e3
Fix CI-status-report (#18679)
* Test CI status report

* Fail both regardless

* that wasn't suppose to work

* Test using conclusion

* Test alls-green

* Add back report

* Add or case?

* Remove success()

* Only send message on main
2022-11-04 07:06:22 -04:00
Mac Siri
d98eee3b08
Remove CD workflow (#18671) 2022-11-01 18:57:23 -04:00
Mac Siri
74553f6f88
Specify branch on CD (#18666) 2022-11-01 15:24:19 -04:00
Mac Siri
be7a779f36
Add CD workflow (#18648) 2022-11-01 10:50:48 -04:00
Mac Siri
e9d4f18f1e
Remove cURL header from bundle-audit (#18652) 2022-10-28 09:37:59 -04:00
Mac Siri
c23b269410
Use Github action for CI (#18617) 2022-10-27 09:51:27 -04:00
Mac Siri
1beb2ae942
Remove dependabot.yml (#18310) 2022-08-10 16:32:14 -04:00