I am encountering an error while building MongoDB source code on a Linux machine. Despite adding BAZEL_FLAGS=--config=local
, the issue persists. I would appreciate any help in resolving this.
Error →
Running bazel with remote execution enabled. To disable bazel remote execution, please add BAZEL_FLAGS=–config=local to the end of your scons command line invocation.
ERROR: /home/mohakg/.engflow/creds/engflow.crt not found. Please reach out to #ask-devprod-build if you need help with the steps below.
(If the below steps are not working or you are an external person to MongoDB, remote execution can be disabled by passing BAZEL_FLAGS=–config=local at the end of your scons.py invocation)
Please complete the following steps to generate a certificate:
- (If not in the Engineering org) Request access to the MANA group MongoDB - Sign In
- Go to Log in to EngFlow (Uses mongodbcorp.okta.com auth URL)
- Login with OKTA, then click the “GENERATE AND DOWNLOAD MTLS CERTIFICATE” button
- (If logging in with OKTA doesn’t work) Login with Google using your MongoDB email, then click the “GENERATE AND DOWNLOAD MTLS CERTIFICATE” button
- On your local system (usually your MacBook), open a terminal and run:
ZIP_FILE=~/Downloads/engflow-mTLS.zip
curl https://raw.githubusercontent.com/mongodb/mongo/master/buildscripts/setup_engflow_creds.sh -o setup_engflow_creds.sh
chmod +x ./setup_engflow_creds.sh
./setup_engflow_creds.sh mohakg localhost $ZIP_FILE local