summaryrefslogtreecommitdiff
path: root/spec
AgeCommit message (Collapse)Author
2020-08-04Add spec to reproduce error in offline envmo khan
2020-08-05Update dotnet test fixturesmo khan
Related to changes in https://gitlab.com/gitlab-org/security-products/tests/csharp-nuget-dotnetcore/-/merge_requests/19
2020-08-04Exclude dev dependenciesmo khan
* Add test to install composer packages from custom TLS endpoint * Remove dev dependencies from fixture files * Install composer packages in vendor_path * Bump version and update CHANGELOG
2020-07-22Combine default/custom certs in cacertmo khan
2020-07-21Remove duplicate examplemo khan
2020-07-21Update maven/gradle offline testsmo khan
* Let maven figure out the version of the license plugin that it is compatible with * Print the error when the setup fails * Add tests for multiple versions of maven and java * Install packages into a project specific directory to prevent cross test pollution * Specify the list of supported Maven versions * Update CHANGELOG and bump the version
2020-07-16Install mono/nuget at build timemo khan
* Install ca-certificates-mono * Download *.deb files to /opt/toolcache/mono
2020-07-15Add composer lock file for test project and fix failing buildmo khan
2020-07-14Fetch dependencies from a custom dotnet sourcemo khan
* Install custom ca certificate in location where nuget can recognize it * Add subject alternative name to the generate x509 cert * Do not cache packages and https requests * Detect vbproj, fsproj, csproj, and sln files * Improve nuget package detection * Parse SPDX license expression from nuspec files * Update version and update CHANGELOG
2020-07-10Isolate license_management ruby from projectmo khan
* Target ruby version 2.7.1 * Add spec to fetch gems from a custom source * Add proxy to rubygems.org config * Specify default env vars to support offline environment * Cleanup custom certificates after spec * Inline docker-test script * Do not install license_finder with each installed ruby * Increase gem log verbosity and include backtrace * Extract test fixtures for the different ruby scenarios * Find *.gemspec files in gems dir * Use RUBYLIB to hijack src path * Run scan from project path dir
2020-07-09Specify branch `main`v3.15.1mo khan
2020-07-08Detect gems.rb and gems.lockedmo khan
2020-07-07Fix failing specmo khan
2020-07-07Export CI_PROJECT_DIR for integration test runnermo khan
2020-07-07Scan project from project directly to match gitlab-runner runtime behaviourmo khan
2020-07-06Install gems from custom source with custom CAmo khan
* Bump version and add CHANGELOG entry * Configure Bundler logging * Include install_path of gem * Use gem summary and full_gem_path * Specify a vendor path to install dependencies to prevent leakage between tests and take advantage of build job cache
2020-07-03Run multiple assertions at oncemo khan
2020-07-02Update version, CHANGELOG and READMEmo khan
* Install license_finder ~> 6.6 into default gems
2020-06-26Update Java to match new naming conventionmo khan
2020-06-18Fix linter errormo khan
2020-06-18Bump version and add spec for LGPL-2.1mo khan
2020-06-18Detect variations of the Eclipse Public Licensecan eldem
2020-06-14Update default name of the generated reportTetiana Chupryna
2020-06-08Use GOPROXY to test downloading modules for trusted and untrusted TLS endpointsmo khan
* Use haproxy to proxy to package registry * Install haproxy in setup script * Add markers for collapsible sections * Move ignored groups setup to prepare_project
2020-06-05Allow configuring Python version using environment variablesmo khan
2020-06-05Update usages of pathnamemo khan
2020-06-05Launch the desired Java versionmo khan
2020-06-04List all dependencies that appear in go.modmo khan
* Update CHANGELOG and fix typo * Render severity based on exit code * Explicitly specify the default GOPROXY * Default to -mod=readonly and allow override * Do not modify `vendor` directory if it exists. * Skip `go mod tidy` to prevent modifying projects files. * Include dependencies that appear in go.mod but are not present in the vendor directory. * Remove severity from log output * Wipe golang module cache before each spec ```plaintext The -mod build flag provides additional control over updating and use of go.mod. If invoked with -mod=readonly, the go command is disallowed from the implicit automatic updating of go.mod described above. Instead, it fails when any changes to go.mod are needed. This setting is most useful to check that go.mod does not need updates, such as in a continuous integration and testing system. The "go get" command remains permitted to update go.mod even with -mod=readonly, and the "go mod" commands do not take the -mod flag (or any other build flags). If invoked with -mod=vendor, the go command loads packages from the main module's vendor directory instead of downloading modules to and loading packages from the module cache. The go command assumes the vendor directory holds correct copies of dependencies, and it does not compute the set of required module versions from go.mod files. However, the go command does check that vendor/modules.txt (generated by 'go mod vendor') contains metadata consistent with go.mod. If invoked with -mod=mod, the go command loads modules from the module cache even if there is a vendor directory present. If the go command is not invoked with a -mod flag and the vendor directory is present and the "go" version in go.mod is 1.14 or higher, the go command will act as if it were invoked with -mod=vendor. ``` - https://golang.org/cmd/go/#hdr-Maintaining_module_requirements
2020-05-29Ensure the correct license is detectedmo khan
2020-05-29Allow custom conan configurationmo khan
* Use git fetch with a depth of 1 * Control Conan environment via environment variables * Allow specifying a custom CONAN_LOGIN_USERNAME and CONAN_PASSWORD * Specify a default CONAN_CACERT_PATH to point the system cert file * Tie CONAN_LOGGING_LEVEL to LOG_LEVEL * Tag and skip offline environment tests because it was shutdown * Add CHANGELOG entry
2020-05-27Add tests for each report version when scanning conan projectsmo khan
2020-05-26Scan Conan projectsmo khan
* Scan the conan examples project * Split licenses by comma * Add integration test job for c projects * Add package_manager, version and path to v2.1 report * Detect collisions between names from different package managers * Add CHANGELOG entry * Update README to indicate Conan support * Print timestamps in install script
2020-05-22Add functional tests to the pipelinemo khan
* Move jobs to gitlab-ci.yml files that match the stage they belong to. * Move linter job to build stage * Add functional test jobs * Reduce max size to 2 GB * Pass the current pipeline image to the downstream jobs * Replace `edge` tag with `latest` * Use $CI_DEFAULT_BRANCH instead of master * Move `.env*` files to config dir and update RELEASE instructions * Combine `tag` and `release` stages into `deploy` stage as recommended in GitLab docs * Make the `build-docker-image` job interruptible * Fix issues found in code quality report
2020-05-20Specify license of maven packagemo khan
2020-05-20Detect maven package from the same GL projectmo khan
2020-05-20Upload maven package to GL repo for testingmo khan
2020-05-20Pass the `bower_ca` env variable to bowermo khan
2020-05-19Scan example projectsmo khan
2020-05-19Test example bower projectmo khan
2020-05-19Fetch bower dependencies from custom repo with custom cert chainmo khan
2020-05-19Collect dependencies of dependencies in bower projectmo khan
2020-05-19Add --allow-root option to install stepmo khan
2020-05-19Add bower dependencies and expected assertionsmo khan
2020-05-19Add spec for bower projectmo khan
2020-05-15Pull yarn packages from a custom registrymo khan
2020-05-15Merge branch 'dev-docs' into 'master'Can Eldem
Update README instructions to run tests in docker container See merge request gitlab-org/security-products/license-management!149
2020-05-14Clean up the golang module fixture filesmo khan
2020-05-14url description and paths are not used by the rails appmo khan
2020-05-14Add specs for previous versions of golangmo khan
2020-05-14Update go list command to be compatible with 1.14mo khan
* Add missing packages to report fixtures