Commit Graph

22 Commits

Author SHA1 Message Date
James Butters 79f6c79080 upgrade chromedriver to latest version 120
refs: DE-1673
Change-Id: I2dfc653740f9bdf679a52e2f57a873d9aa188336
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/337715
QA-Review: James Butters <jbutters@instructure.com>
Reviewed-by: Aaron Ogata <aogata@instructure.com>
Build-Review: Aaron Ogata <aogata@instructure.com>
Product-Review: James Butters <jbutters@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-01-22 18:56:21 +00:00
Aaron Ogata 8b1087fcc1 build ARM64 image for post-merge
refs DE-1487

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

Change-Id: Iba525290e017aed9af4addbd293d42a3b59d602e
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/312867
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Andrea Cirulli <andrea.cirulli@instructure.com>
QA-Review: Aaron Ogata <aogata@instructure.com>
Product-Review: Aaron Ogata <aogata@instructure.com>
Build-Review: Aaron Ogata <aogata@instructure.com>
2023-03-15 14:07:49 +00:00
James Butters b3ba447056 updgrade Jenkins Chrome version 107
closes: DE-1483

Test Plan:
- new image starlord.inscloudgate.net/jenkins/selenium-node-chrome:107.0
- Jenkins build uses chrome 107
- No failures in Jenkins

Change-Id: I31f453d34dcfcbc71c88b3bc379380bbd17ef133
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/306441
QA-Review: James Butters <jbutters@instructure.com>
Reviewed-by: Andrea Cirulli <andrea.cirulli@instructure.com>
Build-Review: Andrea Cirulli <andrea.cirulli@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Product-Review: Ryan Norton <rnorton@instructure.com>
2022-12-06 02:28:57 +00:00
James Butters cd1e66605b pin chrome and selenium hub versions
rather than tag all versions with latest, tag with the actual
version so we can better control pinning which versions we
want to use in the builds

flag = none
refs: DE-1199

Change-Id: I0df8cfd5eb5d10a9529e15087e98e10120fe0443
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/292237
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-05-20 13:44:46 +00:00
James Butters 275f216bbc upgrade to chrome 101 and latest selenium webdriver
flag = none

Change-Id: Ib46a673b2699f6d1faa623a29d764f7e9e403fad
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/292158
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Ryan Norton <rnorton@instructure.com>
Product-Review: Ryan Norton <rnorton@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
2022-05-19 19:35:38 +00:00
Aaron Ogata ef2072565d don’t stomp over new dockerfiles build
refs DE-1159

Change-Id: I3a498a3dfbc91462816b0d916b513938419abbfd
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/291047
QA-Review: Aaron Ogata <aogata@instructure.com>
Product-Review: Aaron Ogata <aogata@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Isaac Moore <isaac.moore@instructure.com>
Reviewed-by: Ryan Norton <rnorton@instructure.com>
2022-05-03 20:00:53 +00:00
Brian Watson c8523e3233 Additional selenium 4 cleanup
flag=none
Test-plan:
- Jenkins jobs pass
- verify no references to docker-compose build context build/docker-compose
  or docker-compose/selenium-*

Change-Id: Ia11e2564490a5713256a70e9b1f3e88d6ebc78e5
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/285944
Reviewed-by: Martin Yosifov <martin.yosifov@instructure.com>
Reviewed-by: Aaron Ogata <aogata@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Brian Watson <bwatson@instructure.com>
Product-Review: Brian Watson <bwatson@instructure.com>
2022-03-14 15:02:37 +00:00
James Butters 38bfcbaac4 remove selenium from Jenkinsfile.docker-sync
the proper place to update the version of selenium is in
Jenkinsfile.selenium-chrome using
docker-compose/selenium-chrome/Dockerfile

Change-Id: I1c4b76f91229ed6fbced8a4042a743a371511a96
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/284975
Reviewed-by: Andrea Cirulli <andrea.cirulli@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-02-11 19:10:47 +00:00
Brian Watson 4325dfc616 Update docker-sync with selenium/node-chrome
For testing selenium 4 with node-chrome + grid config vs standalone

flag=none

Change-Id: I2afb7cf7c69c60b162536d304b01ca255161b0a4
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/284814
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-02-10 21:39:52 +00:00
Robin Kuss a6795520e5 update docker-sync with selenium-chrome
Closes LS-2968

Test Plan: passes Jenkins

Change-Id: I5c0b77ec87350616bf94b8cd489f721f69117249
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/283864
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Aaron Ogata <aogata@instructure.com>
QA-Review: Aaron Ogata <aogata@instructure.com>
Product-Review: Aaron Ogata <aogata@instructure.com>
2022-01-28 18:14:24 +00:00
Bobby Buten 8be4bb35c3 purge pulsar from canvas
refs DE-966
flag=none

TEST PLAN:
  ensure build completes and all tests run successfully

Change-Id: I82ef402eb790fafce53393b17b4695c9151e1745
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/281489
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Ben Rinaca <brinaca@instructure.com>
QA-Review: Bobby Buten <bobby.buten@instructure.com>
Product-Review: Bobby Buten <bobby.buten@instructure.com>
2022-01-03 20:37:22 +00:00
Cody Cutrer 0b87e99d23 require ruby 2.7
since we've started taking advantage of some ruby 2.7 only features,
in particular filter_map

Change-Id: Ie5f0e4f94018080c5c8cd2effff1eb0f234ea955
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/276268
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Aaron Ogata <aogata@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
2021-10-19 20:28:46 +00:00
Aaron Ogata d7e5a439fc fix docker sync job
Change-Id: Icc49860226bf427d08ebcf8b6899f6ffc48ceddc
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/274894
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Andrea Cirulli <andrea.cirulli@instructure.com>
QA-Review: Aaron Ogata <aogata@instructure.com>
Product-Review: Aaron Ogata <aogata@instructure.com>
2021-10-01 15:11:55 +00:00
Andrea Cirulli 4579bb9cca sync ruby-passenger 2.7 image
Change-Id: Iec731782138615d2bff05c08b7d4919288396d0e
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/266874
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Aaron Ogata <aogata@instructure.com>
QA-Review: Andrea Cirulli <andrea.cirulli@instructure.com>
Product-Review: Andrea Cirulli <andrea.cirulli@instructure.com>
2021-06-11 14:13:23 +00:00
Andrea Cirulli 70bb73c35b add jenkins file to the groovy linter stage
refs DE-690
flag = none

test-plan:
- Build passes
- Build trigger groovy linter stage if a change to Jenkinsfile is
made
- Build fails if a Jenkinsfile has linter issues

Change-Id: Ifdabb4f28f6124afcb6621844375a8de4b35d453
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/265279
Reviewed-by: James Butters <jbutters@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-05-19 20:51:13 +00:00
Andrea Cirulli f4757ca66a fix linter issues
Fix the following linter issues:
- UnusedVariable
- ClosureAsLastMethodParameter
- CatchException
- UnnecessaryGString
- ImplicitClosureParameter

test-plan:
- Build passes
- FSC qa build passes and it executes the changed test

Change-Id: I9f814e8f3466cd6a271a3b24afc410c32fc66022
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/265218
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>
Reviewed-by: James Butters <jbutters@instructure.com>
2021-05-18 20:11:48 +00:00
Andrea Cirulli 3f057e9c0c fix jenkins files linter issues
Fix linter issues related to variable name, space after closing bracket.

refs DE-690
flag = none

test-plan:
- Build passes
- QA build with spec change executes fsc stage

Change-Id: I6f985fb3dfa8627703a27325b1eb25fae4585505
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/265188
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: James Butters <jbutters@instructure.com>
QA-Review: Andrea Cirulli <andrea.cirulli@instructure.com>
Product-Review: Andrea Cirulli <andrea.cirulli@instructure.com>
2021-05-18 18:58:33 +00:00
Andrea Cirulli 67d6ccc360 fix jenkins file linter issues autofixable
refs DE-690
flag = none

test-plan:
- Build passes

Change-Id: Ie748a1e585ce8e3ec4978c7a5faa45dab524a905
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/265184
Reviewed-by: James Butters <jbutters@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-05-18 16:48:15 +00:00
Kyle Rosenbaum 0d0bf81b9a mirror apachepulsar/pulsar:latest to starlord
this will fix pulsar failures related to rate limiting

Change-Id: I3486e41106d6a3e7aae6b8747febc88c2642101d
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/263762
Reviewed-by: Aaron Ogata <aogata@instructure.com>
Reviewed-by: James Butters <jbutters@instructure.com>
Product-Review: Kyle Rosenbaum <krosenbaum@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Kyle Rosenbaum <krosenbaum@instructure.com>
2021-04-27 17:39:03 +00:00
Aaron Ogata 2b4747c4b5 cache docker/dockerfile to allow flakey network script usage
Change-Id: Ide628034a970e2e6fded7c2971712d9dfed6391e
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/262253
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-04-05 15:39:21 +00:00
Aaron Ogata d7e131b296 mirror busybox to starlord
refs DE-563

Change-Id: Ia48d1c078159aa3c0e3860cbb33ca34afcee8483
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/260658
Reviewed-by: Kyle Rosenbaum <krosenbaum@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-03-15 18:26:04 +00:00
Aaron Ogata 38abe8dd28 introduce docker image sync job
refs DE-368

When the images are rebuilt, it changes the image digest causing the cache to become invalid. It can also break the build and is not easily revertable to the previous image. Work around this issue by mirroring the dockerhub image on starlord, and update it via a cron job.

Change-Id: I2f3f80ea53c7c306a126805b429781743df85aa6
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/256167
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Kyle Rosenbaum <krosenbaum@instructure.com>
QA-Review: Aaron Ogata <aogata@instructure.com>
Product-Review: Aaron Ogata <aogata@instructure.com>
2021-01-07 19:13:51 +00:00