Skip to content

Commit

Permalink
Revert "try fix license scout issue [didn't work]"
Browse files Browse the repository at this point in the history
This reverts commit 61f62ea.
  • Loading branch information
lbakerchef committed Aug 21, 2024
1 parent 61f62ea commit 4f5d966
Show file tree
Hide file tree
Showing 8 changed files with 201 additions and 916 deletions.
3 changes: 1 addition & 2 deletions .expeditor/license_scout.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,4 @@ for dir in "${erlang_install_dirs[@]}"; do
done

echo "+++ Running License Scout"
#license_scout /var/cache/omnibus/chef-server/src/oc_bifrost --only-show-failures
exit 0
license_scout --only-show-failures
16 changes: 8 additions & 8 deletions .expeditor/verify.pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ steps:
# Lint Tests
#########################################################################

#- label: license-scout
# command:
# - .expeditor/license_scout.sh
# expeditor:
# executor:
# docker:
# environment:
# - OCTOKIT_ACCESS_TOKEN
- label: license-scout
command:
- .expeditor/license_scout.sh
expeditor:
executor:
docker:
environment:
- OCTOKIT_ACCESS_TOKEN

#########################################################################
# Component Tests
Expand Down
35 changes: 7 additions & 28 deletions .license_scout.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
---
name: chef-server
directories:
- ./
- ./src/bookshelf
# - ./
# - ./src/bookshelf
# - ./src/chef-server-ctl
# - ./src/nginx
# - ./src/oc_bifrost
# - ./src/oc_erchef
# - ./src/oc-id
# - ./src/openresty-noroot
- ./src/chef-server-ctl
- ./src/nginx
- ./src/oc_bifrost
- ./src/oc_erchef
- ./src/oc-id
- ./src/openresty-noroot

habitat:
channel_for_origin:
Expand Down Expand Up @@ -55,12 +54,6 @@ allowed_licenses:
fallbacks:
# These erlang overrides are temporary. We may be able to remove some of them once chef/license_scout#194 is resolved
erlang:
- name: cookbooks
license_id: Apache-2.0
license_content: https://github.com/chef/chef-server/LICENSE
- name: server-ctl-cookbooks
license_id: Apache-2.0
license_content: https://github.com/chef/chef-server/LICENSE
- name: amqp_client
license_id: MPL-1.1
license_content: https://github.com/seth/amqp_client/blob/master/src/amqp_connection.erl
Expand Down Expand Up @@ -125,12 +118,6 @@ fallbacks:
license_id: MIT
license_content: https://github.com/okeuday/uuid/blob/master/README.markdown
ruby:
- name: cookbooks
license_id: Apache-2.0
license_content: https://github.com/chef/chef-server/LICENSE
- name: server-ctl-cookbooks
license_id: Apache-2.0
license_content: https://github.com/chef/chef-server/LICENSE
- name: amqp
license_id: Ruby
license_content: https://raw.githubusercontent.com/ruby-amqp/amqp/master/README.md
Expand Down Expand Up @@ -168,21 +155,13 @@ fallbacks:

exceptions:
erlang:
- name: cookbooks
reason: Historic exception made by Chef Legal (unmodified library, used as-is)
- name: server-ctl-cookbooks
reason: Historic exception made by Chef Legal (unmodified library, used as-is)
- name: amqp_client
reason: Historic exception made by Chef Legal (unmodified library, used as-is)
- name: erlsom
reason: Historic exception made by Chef Legal (unmodified library, used as-is)
- name: rabbit_common
reason: Historic exception made by Chef Legal (unmodiifed library, used as-is)
ruby:
- name: cookbooks
reason: Historic exception made by Chef Legal (unmodified library, used as-is)
- name: server-ctl-cookbooks
reason: Historic exception made by Chef Legal (unmodified library, used as-is)
- name: kgio
reason: Exception made by Chef Legal (unmodified library, used as-is)
- name: newrelic_rpm
Expand Down
5 changes: 0 additions & 5 deletions omnibus/files/server-ctl-cookbooks/Gemfile

This file was deleted.

Loading

0 comments on commit 4f5d966

Please sign in to comment.