canvas-lms/script
Charley Kline 7352275e07 Use rm -f to avoid hang waiting on input in check_gemfile
In certain docker setups, the Gemfile.lock file winds up being
owned by the "wrong" user, so when the check_gemfile function
tries to remove and re-touch it, the rm command hangs up waiting
for a confirmation on "rm: remove write-protected regular file
'Gemfile.lock'?" The fix is to use rm -f which will not ask for
the confirmation.

Test plan:
* docker_dev_update and update_canvas both still work

Change-Id: Ie6f1be8d6b52284da59e2c0e4c55e1662fe2e7d2
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/253405
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Charley Kline <ckline@instructure.com>
Product-Review: Charley Kline <ckline@instructure.com>
Reviewed-by: Ed Schiebel <eschiebel@instructure.com>
2020-11-20 22:42:07 +00:00
..
prepare create log files for scripts 2018-10-11 16:23:54 +00:00
brakeman dry up linters 2017-01-10 19:44:48 +00:00
canvas_init oh whoops, bash might not always be the default shell 2011-02-11 12:33:24 -07:00
canvas_update improve rebase when running canvas_update script 2020-11-11 20:24:45 +00:00
common.sh Use rm -f to avoid hang waiting on input in check_gemfile 2020-11-20 22:42:07 +00:00
configure_replication.sh Add configuration and scripts for replication. 2019-12-20 22:21:12 +00:00
consume_consul_events Support consul event driven flushall 2020-09-11 21:23:12 +00:00
delayed_job use correct class for delayed jobs CLI 2016-06-08 16:33:41 +00:00
docker_dev_setup.sh add docker-smoke build 2020-09-14 23:12:35 +00:00
docker_dev_update.sh Add docker-compose.override.yml to .gitignore 2019-11-15 20:48:08 +00:00
docker_pull_image.sh Update docker image 2020-09-11 15:58:56 +00:00
eslint move canvas-rce to canvas-lms/packages/canvas-rce 2018-05-01 13:46:18 +00:00
generate_js_coverage add json version of javascript coverage report to build 2019-02-26 16:34:58 +00:00
generate_lti_variable_substitution_markdown add permissions variable expansion 2019-06-12 12:13:28 +00:00
install_hooks Add precommit hook for auto fixing files 2018-11-27 21:07:31 +00:00
lint_commit_message remove skipping linters if whitelisted engineer 2020-05-08 15:17:49 +00:00
linter.rb Add copyright message to remaining .rb files 2018-03-19 13:38:50 +00:00
nuke_node.sh add packages/*/node_modules to nuke_node script 2018-09-12 04:12:29 +00:00
process_incoming_emails extract incoming mail into gem 2014-04-25 23:06:02 +00:00
rails fix double requiring of application.rb 2014-09-09 00:42:50 +00:00
render_json_lint to_json unnecessary (and wrongish) in render :json 2013-10-02 18:05:22 +00:00
rlint dry up linters 2017-01-10 19:44:48 +00:00
rspec-queue remove unused selinimum gem 2020-04-23 17:25:57 +00:00
rspec-queue-with-retries Remove retry on ChromeDriver worker crash 2019-04-29 21:19:05 +00:00
stylelint dry up linters 2017-01-10 19:44:48 +00:00
tail_kinesis upgrade to aws-sdk v3 2017-05-26 15:30:08 +00:00
tatl_tael remove skipping linters if whitelisted engineer 2020-05-08 15:17:49 +00:00
upgrade-instructure-ui add CanvasDateInput and bulk edit test table 2020-03-31 03:52:27 +00:00
xsslint.js Add support for javascript optional chaining 2019-09-17 17:33:46 +00:00