Commit Graph

441 Commits

Author SHA1 Message Date
Aaron Ogata de5b4c851c no-op commit to test warmfix
Change-Id: I80798bc7a593e3bb2aed0e4a33d4eaaf06febd41
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/289832
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Isaac Moore <isaac.moore@instructure.com>
QA-Review: Aaron Ogata <aogata@instructure.com>
Product-Review: Aaron Ogata <aogata@instructure.com>
2022-04-18 19:57:53 +00:00
James Butters 00a1c9e9e6 only run Locales Only Changes stage for pre-merge
Change-Id: I44decd04cc35a179a69cc2951c106019b06bff15
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/289673
Reviewed-by: Bobby Buten <bobby.buten@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
Product-Review: James Butters <jbutters@instructure.com>
2022-04-14 13:15:27 +00:00
James Butters 914bad9b00 run locales but -2 if only changes is in config/locales/
flag = none

Test Plan:
-Jenkins passes
-with only config/locales/ changes, gerrit votes -2 and build runs
-with more than config/locales/, Jenkins runs as normal

Change-Id: I2ffa3c18840be5e8a833919428ec119f4b17178d
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/289502
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Andrea Cirulli <andrea.cirulli@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
Product-Review: James Butters <jbutters@instructure.com>
2022-04-13 18:20:34 +00:00
Aaron Ogata 0e13f0d033 replace CANVAS_RAILS6_x variables with CANVAS_RAILS
refs DE-523

Test Plan

1. Ensure CANVAS_RAILS override works
2. Ensure file override works
3. Ensure consul override works

Change-Id: I6eea63bba5c401428c02179a3d6187c8265ce33e
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/287849
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Aaron Ogata <aogata@instructure.com>
Reviewed-by: Jacob Burroughs <jburroughs@instructure.com>
Product-Review: Aaron Ogata <aogata@instructure.com>
2022-03-24 18:14:52 +00:00
James Butters e94051a483 move crystalball-map build into Canvas/helpers/
flag = none

Change-Id: If89160f4f1eac9e160a47e9885a14158721e6bca
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/287918
Reviewed-by: Aaron Ogata <aogata@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
Product-Review: James Butters <jbutters@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2022-03-24 14:16:16 +00:00
James Butters 3ed939eff2 if map generation fails, default to run all tests
flag = none

Change-Id: I26c2cbe5219a24185d003c8dc728439a05dd213e
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/287698
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
Product-Review: James Butters <jbutters@instructure.com>
Reviewed-by: Andrea Cirulli <andrea.cirulli@instructure.com>
2022-03-23 14:49:07 +00:00
James Butters 199e793ff7 Revert "Revert "Generate new Crystalball map if spec files added/deleted""
This reverts commit 18e78b3c2a.

Reason for revert: didn't break jenkins 

Change-Id: I5074570df6eeaf249cc380210cb20d8fc2439b80
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/286902
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Isaac Moore <isaac.moore@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
Product-Review: James Butters <jbutters@instructure.com>
2022-03-22 19:28:23 +00:00
Jacob Burroughs 4253bed58b Use zeitwerk everywhere always
Change-Id: Ide7490f4e8d2447b147328b6f7e2afc545941c14
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/287599
Reviewed-by: Aaron Ogata <aogata@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Jacob Burroughs <jburroughs@instructure.com>
Product-Review: Jacob Burroughs <jburroughs@instructure.com>
2022-03-22 18:54:50 +00:00
Aaron Ogata 18e78b3c2a Revert "Generate new Crystalball map if spec files added/deleted"
This reverts commit e0841f7caa.

Reason for revert: broke Jenkins

Change-Id: I6c6b74582096b9877fa71ee3733d11bf27217b2b
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/286901
Tested-by: Aaron Ogata <aogata@instructure.com>
Reviewed-by: Aaron Ogata <aogata@instructure.com>
Reviewed-by: Andrea Cirulli <andrea.cirulli@instructure.com>
Reviewed-by: Alex Slaughter <aslaughter@instructure.com>
QA-Review: Aaron Ogata <aogata@instructure.com>
Product-Review: Aaron Ogata <aogata@instructure.com>
2022-03-22 18:25:43 +00:00
James Butters e0841f7caa Generate new Crystalball map if spec files added/deleted
[change-merged]
[build-registry-path=jenkins/canvas-lms/de1103]

flag = none

Test Plan:
-Jenkins passes normally, no new builds ran
-With new/deleted spec file
  -Jenkins will not run the crystalball map build
  -Jenkins will run all rspec tests, no prediction
-With new/deleted spec file and post-merge
  -Jenkins will trigger a new crystalball map build
  -main post-merge build will not wait for map build

Change-Id: I77cddacfb98c8e77798eab276fc5cf08fb524cd3
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/287658
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Andrea Cirulli <andrea.cirulli@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
Product-Review: James Butters <jbutters@instructure.com>
2022-03-22 17:54:18 +00:00
Aaron Ogata f48a16de80 use change-id instead of patchset revision
because patchset revision gets set to an actual value elsewhere

Change-Id: I792b7bf96ddca1309e13b79782cce2ceb3471ebc
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/287552
Reviewed-by: Bobby Buten <bobby.buten@instructure.com>
QA-Review: Aaron Ogata <aogata@instructure.com>
Product-Review: Aaron Ogata <aogata@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2022-03-21 15:17:02 +00:00
Aaron Ogata 242ec01b06 skip linters for cron job
Change-Id: I0c3a24600d583f7472a5d9f4aa318db1e4a1ae0b
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/287542
Reviewed-by: Bobby Buten <bobby.buten@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Aaron Ogata <aogata@instructure.com>
Product-Review: Aaron Ogata <aogata@instructure.com>
2022-03-21 14:39:53 +00:00
James Butters f577899538 skip crystalball if rails 6.1 build
Change-Id: Id0efe7b2d8e19764e199278a490c9175e541b5d0
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/287342
Reviewed-by: Aaron Ogata <aogata@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
Product-Review: James Butters <jbutters@instructure.com>
2022-03-17 18:29:36 +00:00
Bobby Buten b402c8bff9 start saving master karma image during main build
refs DE-989
flag=none

[change-merged] [build-registry-path=jenkins/canvas-lms/de-989]

TEST PLAN:
  Builds successfully

Change-Id: If7aa8084d18c9b0403e79cadc2ead666aa5dd79d
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/286635
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Aaron Ogata <aogata@instructure.com>
QA-Review: Bobby Buten <bobby.buten@instructure.com>
Product-Review: Bobby Buten <bobby.buten@instructure.com>
2022-03-09 15:59:23 +00:00
Aaron Ogata a7f3197352 support pinning commonly modified gems to specific versions
Change-Id: I1bb63c1c1af144678236cd1a7ea63d1e10c666a4
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/286541
QA-Review: Aaron Ogata <aogata@instructure.com>
Product-Review: Aaron Ogata <aogata@instructure.com>
Reviewed-by: James Butters <jbutters@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2022-03-08 17:33:30 +00:00
Aaron Ogata e551d32e1e propagate skip crystalball variable to subjob
Change-Id: I6649123f7d7e659b670e3e49d34b443655275e14
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/286477
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Aaron Ogata <aogata@instructure.com>
Product-Review: Aaron Ogata <aogata@instructure.com>
Reviewed-by: Andrea Cirulli <andrea.cirulli@instructure.com>
2022-03-07 18:07:13 +00:00
Aaron Ogata a1fd740b64 allow emulation of build started message
Change-Id: I86925abadbfcb4d73f2c96b04de4d36ef759f98e
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/286469
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Aaron Ogata <aogata@instructure.com>
Product-Review: Aaron Ogata <aogata@instructure.com>
Reviewed-by: Andrea Cirulli <andrea.cirulli@instructure.com>
2022-03-07 16:45:29 +00:00
Jacob Burroughs 888baaf6e4 Allow using rails 6.1 in jenkins
Change-Id: I789009a956751510825092c084db128aaf085ec4
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/285337
Product-Review: Charley Kline <ckline@instructure.com>
Product-Review: Jacob Burroughs <jburroughs@instructure.com>
Tested-by: Jacob Burroughs <jburroughs@instructure.com>
Reviewed-by: Charley Kline <ckline@instructure.com>
QA-Review: Jacob Burroughs <jburroughs@instructure.com>
2022-02-16 21:49:00 +00:00
James Butters 14770d8098 remove poc/test-suite build trigger
remove poc/test-suite build trigger and small modifications
to Jenkinsfile.rspecq to ensure full builds don't get skipped.

flag = none

Change-Id: I5520800f90af0362e85551650b98cea388c09ca6
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/285058
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Bobby Buten <bobby.buten@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
Product-Review: James Butters <jbutters@instructure.com>
2022-02-14 14:07:57 +00:00
James Butters 799a0f28b9 cyrstalball combine rspec and selenium nodes
Change-Id: I88b547999aab7c1791679462b5bd088ab1e2e272
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/284721
Reviewed-by: Andrea Cirulli <andrea.cirulli@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
Product-Review: James Butters <jbutters@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2022-02-09 18:53:22 +00:00
Brian Watson d13aa69769 Add ability to retrieve versioned crystalball map
flag=none
Test-plan:
- run a patchset with different value set for crystalball map
- previous timestamp should appear in #crystalball-noisy

Change-Id: I206e2c62bcfc00f0f8bc8c8ad0b1262d28caab4f
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/283794
Reviewed-by: Kyle Rosenbaum <krosenbaum@instructure.com>
QA-Review: Brian Watson <bwatson@instructure.com>
Product-Review: Brian Watson <bwatson@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2022-01-28 18:10:20 +00:00
Brian Watson cd43605ea1 Report git map version to #crystalball-noisy
Change-Id: Ie1d31e5a1afb0e6b9a30542e603b889b57346e57
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/283450
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: James Butters <jbutters@instructure.com>
QA-Review: Brian Watson <bwatson@instructure.com>
Product-Review: Brian Watson <bwatson@instructure.com>
2022-01-25 00:15:55 +00:00
James Butters 0de47ab63f set CRYSTALBALL_REPO_PATH for plugin builds
Change-Id: If2e7878a257627efe0b6c53ff77407d69d104b2f
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/283459
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
Product-Review: James Butters <jbutters@instructure.com>
Reviewed-by: Aaron Ogata <aogata@instructure.com>
2022-01-24 22:18:49 +00:00
James Butters e1cfc14d7f fix plugin build with crystalball
flag = none

Change-Id: I54f3e78c91d91196a887345210b52690b8ad8f37
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/283441
Reviewed-by: Aaron Ogata <aogata@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
Product-Review: James Butters <jbutters@instructure.com>
2022-01-24 20:09:11 +00:00
James Butters d94e121a85 move splunk metrics into postBuilderHandler
Change-Id: I9b09d5d15fa1666de36ac0da599e13f668ef2f01
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/283351
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
Product-Review: James Butters <jbutters@instructure.com>
Reviewed-by: Aaron Ogata <aogata@instructure.com>
2022-01-24 18:28:59 +00:00
James Butters d17d61d866 include upstream info for splunk
Change-Id: Idf6e3d6b971de5c3667ffdea80b9494d5f48651b
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/283206
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
Product-Review: James Butters <jbutters@instructure.com>
Reviewed-by: Aaron Ogata <aogata@instructure.com>
2022-01-20 16:46:47 +00:00
James Butters 712e8938c5 fix qti_migration_tool setup in lintersStage.groovy
Change-Id: I4893b0ff11ae495fef0548877b7517242d37640d
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/283078
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
Product-Review: James Butters <jbutters@instructure.com>
Reviewed-by: Andrea Cirulli <andrea.cirulli@instructure.com>
2022-01-19 15:19:20 +00:00
Aaron Ogata 4b4898df7f fix qti_migration_tool build
Change-Id: Ia2d06a7d28f7937eb5a677c5acba098c655ad17c
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/283060
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Reviewed-by: Andrea Cirulli <andrea.cirulli@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Andrea Cirulli <andrea.cirulli@instructure.com>
Product-Review: Andrea Cirulli <andrea.cirulli@instructure.com>
2022-01-18 22:08:39 +00:00
James Butters dcb9c45d3b don't run prediction in post-merge
do not run crystalball prediction in post-merge
and wrap in try/catch to not fail build while
still testing crystalball

flag = none

Test Plan:
-Jenkins passes

Change-Id: I33bb4ee2bf6107456e1d85614b0a3c9c994f1e2e
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/282773
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
Product-Review: James Butters <jbutters@instructure.com>
Reviewed-by: Brian Watson <bwatson@instructure.com>
2022-01-13 17:45:11 +00:00
James Butters ee77da50ca run cyrstalball build silently
run crystalball build silently, in parallel to regular
builds.

flag = none

Test Plan:
-Jenkins passes
-proofs-of-concept/test-queue build runs same tests
-with ruby file change, proofs-of-concept/test-queue only
 runs crystalball predictions for selenium
 -regular test-queue still runs all tests

Change-Id: I243c096c9ac3fb2907d7b67272610663284aebc6
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/282684
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Aaron Ogata <aogata@instructure.com>
Reviewed-by: Brian Watson <bwatson@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
Product-Review: James Butters <jbutters@instructure.com>
2022-01-13 16:35:50 +00:00
James Butters 9e46664eaf Revert "Revert "rspecq/rspec separate build""
This reverts commit 7dd287adea.

Reason for revert: try again

Change-Id: Ie0eededa8465a7fb79bbd221c777646ab2640fa7
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/282036
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Aaron Ogata <aogata@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
Product-Review: James Butters <jbutters@instructure.com>
2022-01-12 18:21:47 +00:00
James Butters 7dd287adea Revert "rspecq/rspec separate build"
This reverts commit 276eb49f8e.

Reason for revert: Something in here is failing deploys

Change-Id: I615a90e6a4edf743ba47a2673bc14483ad141b3d
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/282032
Reviewed-by: Andrea Cirulli <andrea.cirulli@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
Product-Review: James Butters <jbutters@instructure.com>
Tested-by: James Butters <jbutters@instructure.com>
2022-01-06 17:47:50 +00:00
James Butters 276eb49f8e rspecq/rspec separate build
run rspecq/rspec tests in separate sub-build.

flag = none
refs: DE-929

Test Plan:
-Jenkins passes
  -test count is consistent

Change-Id: Ia62730c32d1793d591555c0fd034538254efffc3
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/282016
Reviewed-by: Aaron Ogata <aogata@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
Product-Review: James Butters <jbutters@instructure.com>
2022-01-06 16:45:56 +00:00
James Butters fca3312001 remove remaining rspecq conditionals
flag = none

Test Plan:
-Jenkins passes
-Crystalball map generation build passes

Change-Id: If2190816b0ec31066837430b826369891ceac783
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/280297
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Brian Watson <bwatson@instructure.com>
Reviewed-by: Andrea Cirulli <andrea.cirulli@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
Product-Review: James Butters <jbutters@instructure.com>
2021-12-08 16:33:38 +00:00
Aaron Ogata 16bc04f7d9 publish stage timings along with summary report
refs DE-372

[canvas-builds-refspec=6d1e3d31d1eb514c3f2a11c37b30d68f06739eb9]

Change-Id: I2a4bdf066d204b09366ad02a89f9cc56683efc69
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/279834
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: James Butters <jbutters@instructure.com>
QA-Review: Aaron Ogata <aogata@instructure.com>
Product-Review: Aaron Ogata <aogata@instructure.com>
2021-12-01 16:31:22 +00:00
Aaron Ogata 89a3495473 always include 3rd argument for onStageEnded hook
refs DE-372

[canvas-builds-refspec=fc746b7045171fb46e3c11275eedc91f2612f35e]

Change-Id: I73cd0ee9e85e786acdfa46e83b5399801b40b0b4
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/279839
Reviewed-by: Andrea Cirulli <andrea.cirulli@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Aaron Ogata <aogata@instructure.com>
Product-Review: Aaron Ogata <aogata@instructure.com>
2021-11-30 19:22:19 +00:00
Aaron Ogata 87261698c1 change timings() to reportTimings()
refs DE-372

[canvas-builds-refspec=4d1df9b4f861cd8f8c0a25d37d17d2439cb177ff]

Change-Id: I8cdfd3ac92f738bd3124367d07a8dbd629499d9a
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/279809
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Aaron Ogata <aogata@instructure.com>
Product-Review: Aaron Ogata <aogata@instructure.com>
Reviewed-by: Andrea Cirulli <andrea.cirulli@instructure.com>
2021-11-30 17:02:09 +00:00
Aaron Ogata 65950dbc71 split external package installation from gem installation
refs DE-545

When apt-get tries to pull a package from a server that is down or undergoing maintenance, builds that modify Gemfile can fail due to not being able to pull packages. By splitting the package installation into its own layer, external packages no longer need to be reinstalled when gems are updated.

Test Plan
1. Cache builds correctly from scratch, uploads all relevant images.
2. Cache is correctly reused when no gems are updated
3. Base cache image is reused when gems are updated, and all other images are rebuilt
4. Pre-merge build passes and uses cache as appropriate
5. Updating Dockerfile.jenkins re-builds base image

[build-registry-path=jenkins/canvas-lms/de-545-1]
[change-merged]

Change-Id: Ifd76064892817abb80dd0daebe8c2189c0338d78
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/279697
Reviewed-by: Andrea Cirulli <andrea.cirulli@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Aaron Ogata <aogata@instructure.com>
Product-Review: Aaron Ogata <aogata@instructure.com>
2021-11-29 20:57:42 +00:00
Ahmad Amireh 242dcd18ce publish source translations to s3
refs FOO-2371
flag = none

test plan: jenkins does what the title says (on post-merge)

Change-Id: Id17a194c1c96ade4d21cea0a6ed97205a8eb2754
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/275751
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: August Thornton <august@instructure.com>
QA-Review: Ahmad Amireh <ahmad@instructure.com>
Product-Review: Ahmad Amireh <ahmad@instructure.com>
2021-11-17 22:36:41 +00:00
Andrea Cirulli 795a4f3299 introduce lock for throttling builds
Change-Id: Ie8797cf9ea0911560db6b6efe842bd98516ad67b
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/278457
Reviewed-by: Aaron Ogata <aogata@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Andrea Cirulli <andrea.cirulli@instructure.com>
Product-Review: Andrea Cirulli <andrea.cirulli@instructure.com>
2021-11-16 19:50:08 +00:00
James Butters b51882648f get username and manually report to gerrit
[canvas-builds-refspec=77beaa2f2ce3ff1d3a641c91f9bb3021ae9ccee6]

Change-Id: I4c9572374e6b7e391f9d40122d3f3f921fe41d8b
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/277474
Reviewed-by: Aaron Ogata <aogata@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
Product-Review: James Butters <jbutters@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2021-11-09 16:36:14 +00:00
Ethan Vizitei fc439c30bf parameterize class caching in test
closes FOO-2539
flag=none

TEST PLAN:
  1) specs pass

Change-Id: Ibd4030767a8f015b3c197a568d7bb26a91dca92d
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/277273
Reviewed-by: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Ethan Vizitei <evizitei@instructure.com>
2021-11-02 17:06:57 +00:00
Ethan Vizitei df8851251d Revert "Revert "Add a jenkins stage to enforce zeitwerk compliance""
This reverts commit 9c5244ca5b.

Reason for revert: Time to reapply

Change-Id: I63aafdd3056f26423e510560e76b1f6d0fca4c52
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/276733
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jacob Burroughs <jburroughs@instructure.com>
QA-Review: Ethan Vizitei <evizitei@instructure.com>
Product-Review: Ethan Vizitei <evizitei@instructure.com>
2021-10-27 21:01:43 +00:00
James Butters 22cebefa58 rspecq on or off, no percentage
Change-Id: Idaecd8bcb1542d2e3624b4d8c7e8420bf6cdad79
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/276818
Reviewed-by: Aaron Ogata <aogata@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
Product-Review: James Butters <jbutters@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2021-10-26 17:19:15 +00:00
Ethan Vizitei 9c5244ca5b Revert "Add a jenkins stage to enforce zeitwerk compliance"
This reverts commit fc538f4336.

Reason for revert: unblock existing builds

Change-Id: I68e254fee49d0305b43e6f489e3ed88f52b3167e
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/276731
Reviewed-by: Xander Moffatt <xmoffatt@instructure.com>
Tested-by: Ethan Vizitei <evizitei@instructure.com>
QA-Review: Ethan Vizitei <evizitei@instructure.com>
Product-Review: Ethan Vizitei <evizitei@instructure.com>
2021-10-26 17:05:33 +00:00
Ethan Vizitei fc538f4336 Add a jenkins stage to enforce zeitwerk compliance
refs FOO-2439
flag=none

TEST PLAN:
  1) build passes
  2) introduce a non-zeitwerk-compatible constant
  3) next build fails

Change-Id: Ib4594b056ffb222f5217f7df8c50abd289872c93
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/276279
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jacob Burroughs <jburroughs@instructure.com>
Reviewed-by: Aaron Ogata <aogata@instructure.com>
QA-Review: Ethan Vizitei <evizitei@instructure.com>
Product-Review: Ethan Vizitei <evizitei@instructure.com>
2021-10-26 15:03:08 +00:00
Kyle Rosenbaum 722512eaca adjust random number generation to spread over 100 for rspecq
Change-Id: I4b53f28ad9426a1453b4f7d8413868cdad59748b
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/276625
Reviewed-by: James Butters <jbutters@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Kyle Rosenbaum <krosenbaum@instructure.com>
Product-Review: Kyle Rosenbaum <krosenbaum@instructure.com>
2021-10-25 17:00:46 +00:00
James Butters bbfbbf3f1f default rspec_processes in jenkinsfile
flag = none

Change-Id: I7625b082367b9de6b977e31d93fbe6d738949677
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/275164
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Kyle Rosenbaum <krosenbaum@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
Product-Review: James Butters <jbutters@instructure.com>
2021-10-04 23:20:55 +00:00
James Butters d4aaf5c1e3 increase RSpecQ builds to 50 percent
flag = none

Change-Id: I3cf8b3ea4a1a1f635e1c886fda63f41ba3d4d25a
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/274789
QA-Review: James Butters <jbutters@instructure.com>
Product-Review: James Butters <jbutters@instructure.com>
Reviewed-by: Andrea Cirulli <andrea.cirulli@instructure.com>
Reviewed-by: Ryan Norton <rnorton@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2021-09-29 18:01:48 +00:00
Andrea Cirulli dd814ee5a2 add a blank line after copyright disclaimer
Change-Id: I4fd9c765a105221eeb527ce2d106074f417db2ba
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/274002
Reviewed-by: Aaron Ogata <aogata@instructure.com>
QA-Review: Andrea Cirulli <andrea.cirulli@instructure.com>
Product-Review: Andrea Cirulli <andrea.cirulli@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2021-09-21 17:12:07 +00:00