Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISSUE #5206 - Silence codeQL warnings #5227

Open
wants to merge 1 commit into
base: staging
Choose a base branch
from

ISSUE #5206 - simplify alphanumeric regex to silence codeQL warnings

8d16299
Select commit
Loading
Failed to load commit list.
Open

ISSUE #5206 - Silence codeQL warnings #5227

ISSUE #5206 - simplify alphanumeric regex to silence codeQL warnings
8d16299
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Branch succeeded Oct 25, 2024 in 12m 2s

Build Passed

The build passed.

Details

This is a normal build for the ISSUE_5206 branch. You should be able to reproduce it by checking out the branch locally.

Jobs and Stages

This build only has a single job.
You can use jobs to test against multiple versions of your runtime or dependencies, or to speed up your build.

Build Configuration

Build Option Setting
Language Ruby
Operating System Linux (Xenial)
Build Configuration
{
  "language": "ruby",
  "os": [
    "linux"
  ],
  "dist": "xenial",
  "notifications": {
    "email": [
      {
        "recipients": [
          "[email protected]"
        ]
      }
    ]
  },
  "jobs": {
    "include": [
      {
        "submodules": false,
        "depth": 1,
        "hosts": [
          "test.127.0.0.1",
          "localhost"
        ],
        "language": "node_js",
        "dist": "jammy",
        "name": "Backend tests (V4)",
        "node_js": "18.12.1",
        "sudo": true,
        "addons": {
          "apt": {
            "packages": [
              "expect-dev",
              "rabbitmq-server"
            ]
          }
        },
        "services": [
          "docker"
        ],
        "before_install": [
          "sudo apt remove mongodb && sudo apt purge mongodb && sudo apt autoremove && sudo rm -rf /var/lib/mongodb",
          "sudo apt-get -y install gnupg curl",
          "curl -fsSL https://www.mongodb.org/static/pgp/server-6.0.asc | sudo gpg -o /usr/share/keyrings/mongodb-server-6.0.gpg --dearmor",
          "echo \"deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-6.0.gpg ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/6.0 multiverse\" | sudo tee /etc/apt/sources.list.d/mongodb-org-6.0.list",
          "sudo apt-get update",
          "sudo apt-get install -y mongodb-org mongodb-org-database mongodb-org-server mongodb-org-mongos mongodb-org-tools",
          "sudo mkdir -p /var/lib/mongodb",
          "sudo chmod 777 /var/lib/mongodb",
          "sudo systemctl daemon-reload && sudo systemctl start mongod && echo $(mongod --version)",
          "sudo mkdir -p /var/lib/mongodb",
          "sudo chmod 777 /var/lib/mongodb",
          "mkdir -p submodules",
          "test_ver=`cat backend/testDBVersion`",
          "cd submodules",
          "git clone https://$TESTS_USER:[email protected]/3drepo/tests.git",
          "cd tests",
          "git checkout $test_ver",
          "git status",
          "cd backend && mongorestore",
          "cd ../../../",
          "cp -r ./submodules/tests/frontend/staticPages/legal/ ./resources/legal"
        ],
        "install": [
          "cd ./backend",
          "yarn install",
          "cd ./../frontend",
          "DETECT_CHROMEDRIVER_VERSION=true yarn install",
          "yarn build"
        ],
        "script": [
          "cd ../backend",
          "mkdir coverage",
          "unbuffer yarn  test",
          "cd ../",
          "NODE_ENV=test NODE_CONFIG_DIR='./config' node \"./backend/3drepo.js\" &",
          "cd ./frontend"
        ]
      }
    ]
  }
}