diff --git a/.expeditor/config.yml b/.expeditor/config.yml index c0f40b4e8c..cc30193ac8 100644 --- a/.expeditor/config.yml +++ b/.expeditor/config.yml @@ -48,29 +48,3 @@ pipelines: - verify: description: Pull Request validation tests public: true - -subscriptions: - - workload: ruby_gem_published:chef-dk-* - actions: - - bash:.expeditor/update_dep.sh - - workload: ruby_gem_published:chef-14* - actions: - - bash:.expeditor/update_dep.sh - - workload: ruby_gem_published:train-* - actions: - - bash:.expeditor/update_dep.sh - - workload: ruby_gem_published:chef-telemetry-* - actions: - - bash:.expeditor/update_dep.sh - - workload: ruby_gem_published:mixlib-cli-* - actions: - - bash:.expeditor/update_dep.sh - - workload: ruby_gem_published:mixlib-config-* - actions: - - bash:.expeditor/update_dep.sh - - workload: ruby_gem_published:mixlib-log-* - actions: - - bash:.expeditor/update_dep.sh - - workload: ruby_gem_published:mixlib-install-* - actions: - - bash:.expeditor/update_dep.sh diff --git a/.expeditor/update_dep.sh b/.expeditor/update_dep.sh deleted file mode 100755 index e67f5f62c6..0000000000 --- a/.expeditor/update_dep.sh +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/bash - -############################################################################ -# What is this script? -# -# Chef Apply uses a workflow tool called Expeditor to manage version bumps, -# changelogs and releases. When a dependency is released, expeditor is triggered -# against this repository to run this script. It bumps our gem lock files and opens -# a PR. That way humans can do hard work and bots can open gem bump PRs. -############################################################################ - -set -evx - -function new_gem_included() { - git diff | grep -E '^\+' | grep "${EXPEDITOR_GEM_NAME} (${EXPEDITOR_VERSION})" -} - -branch="expeditor/${EXPEDITOR_GEM_NAME}_${EXPEDITOR_VERSION}" -git checkout -b "$branch" - -tries=12 -for (( i=1; i<=$tries; i+=1 )); do - bundle update - new_gem_included && break || sleep 20 - if [ $i -eq $tries ]; then - echo "Searching for '${EXPEDITOR_GEM_NAME} (${EXPEDITOR_VERSION})' ${i} times and did not find it" - exit 1 - else - echo "Searched ${i} times for '${EXPEDITOR_GEM_NAME} (${EXPEDITOR_VERSION})'" - fi -done - -git add . - -# give a friendly message for the commit and make sure it's noted for any future audit of our codebase that no -# DCO sign-off is needed for this sort of PR since it contains no intellectual property -git commit --message "Bump $EXPEDITOR_GEM_NAME to $EXPEDITOR_VERSION" --message "This pull request was triggered automatically via Expeditor when $EXPEDITOR_GEM_NAME $EXPEDITOR_VERSION was promoted to Rubygems." --message "This change falls under the obvious fix policy so no Developer Certificate of Origin (DCO) sign-off is required." - -open_pull_request "$EXPEDITOR_BRANCH" - -# Get back to master and cleanup the leftovers - any changed files left over at the end of this script will get committed to master. -git checkout - -git branch -D "$branch" diff --git a/.gitignore b/.gitignore index ef49ea6067..baf4d8b42d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,7 @@ .rspec_status .vagrant *.log -coverage/ \ No newline at end of file +coverage/ + +# Chef Workstation is the source of truth for all locked gems +Gemfile.lock diff --git a/Gemfile.lock b/Gemfile.lock deleted file mode 100644 index 5fb0c5a74c..0000000000 --- a/Gemfile.lock +++ /dev/null @@ -1,397 +0,0 @@ -PATH - remote: . - specs: - chef-apply (0.4.5) - chef (>= 15.0) - chef-cli (>= 1.0.3) - chef-telemetry - license-acceptance (~> 1.0, >= 1.0.11) - mixlib-cli - mixlib-config - mixlib-install - mixlib-log - pastel - r18n-desktop - toml-rb - train (~> 3.0) - train-winrm - tty-spinner - -GEM - remote: https://rubygems.org/ - specs: - addressable (2.5.2) - public_suffix (>= 2.0.2, < 4.0) - ast (2.4.0) - azure_graph_rbac (0.17.1) - ms_rest_azure (~> 0.11.0) - azure_mgmt_key_vault (0.17.4) - ms_rest_azure (~> 0.11.0) - azure_mgmt_resources (0.17.6) - ms_rest_azure (~> 0.11.1) - bcrypt_pbkdf (1.0.1) - binding_of_caller (0.8.0) - debug_inspector (>= 0.0.1) - builder (3.2.3) - byebug (11.0.1) - chef (15.2.20) - addressable - bcrypt_pbkdf (~> 1.0) - bundler (>= 1.10) - chef-config (= 15.2.20) - chef-zero (>= 14.0.11) - diff-lcs (~> 1.2, >= 1.2.4) - ed25519 (~> 1.2) - erubis (~> 2.7) - ffi (~> 1.9, >= 1.9.25) - ffi-libarchive - ffi-yajl (~> 2.2) - highline (>= 1.6.9, < 2) - iniparse (~> 1.4) - license-acceptance (~> 1.0, >= 1.0.5) - mixlib-archive (>= 0.4, < 2.0) - mixlib-authentication (~> 2.1) - mixlib-cli (>= 2.1.1, < 3.0) - mixlib-log (>= 2.0.3, < 4.0) - mixlib-shellout (>= 2.4, < 4.0) - net-sftp (~> 2.1, >= 2.1.2) - net-ssh (>= 4.2, < 6) - net-ssh-multi (~> 1.2, >= 1.2.1) - ohai (~> 15.0) - plist (~> 3.2) - proxifier (~> 1.0) - syslog-logger (~> 1.6) - train-core (~> 2.0, >= 2.0.12) - tty-screen (~> 0.6) - uuidtools (~> 2.1.5) - chef-cli (1.0.11) - addressable (>= 2.3.5, < 2.6) - chef (>= 14.0) - cookbook-omnifetch (~> 0.5) - diff-lcs (~> 1.0) - ffi-yajl (>= 1.0, < 3.0) - license-acceptance (~> 1.0, >= 1.0.11) - minitar (~> 0.6) - mixlib-cli (>= 1.7, < 3.0) - mixlib-shellout (>= 2.0, < 4.0) - paint (~> 1.0) - solve (> 2.0, < 5.0) - chef-config (15.2.20) - addressable - fuzzyurl - mixlib-config (>= 2.2.12, < 4.0) - mixlib-shellout (>= 2.0, < 4.0) - tomlrb (~> 1.2) - chef-telemetry (0.1.8) - chef-config - concurrent-ruby (~> 1.0) - ffi-yajl (~> 2.2) - http (~> 2.2) - chef-zero (14.0.12) - ffi-yajl (~> 2.2) - hashie (>= 2.0, < 4.0) - mixlib-log (>= 2.0, < 4.0) - rack (~> 2.0, >= 2.0.6) - uuidtools (~> 2.1) - chefstyle (0.13.3) - rubocop (= 0.72.0) - citrus (3.0.2) - coderay (1.1.2) - concurrent-ruby (1.1.5) - cookbook-omnifetch (0.9.0) - mixlib-archive (>= 0.4, < 2.0) - debug_inspector (0.0.3) - declarative (0.0.10) - declarative-option (0.1.0) - diff-lcs (1.3) - docile (1.3.2) - docker-api (1.34.2) - excon (>= 0.47.0) - multi_json - domain_name (0.5.20190701) - unf (>= 0.0.5, < 1.0.0) - ed25519 (1.2.4) - equatable (0.6.1) - erubis (2.7.0) - excon (0.66.0) - faraday (0.15.4) - multipart-post (>= 1.2, < 3) - faraday-cookie_jar (0.0.6) - faraday (>= 0.7.4) - http-cookie (~> 1.0.0) - ffi (1.11.1) - ffi-libarchive (0.4.10) - ffi (~> 1.0) - ffi-yajl (2.3.1) - libyajl2 (~> 1.2) - fuzzyurl (0.9.0) - github-markup (3.0.4) - google-api-client (0.23.9) - addressable (~> 2.5, >= 2.5.1) - googleauth (>= 0.5, < 0.7.0) - httpclient (>= 2.8.1, < 3.0) - mime-types (~> 3.0) - representable (~> 3.0) - retriable (>= 2.0, < 4.0) - signet (~> 0.9) - googleauth (0.6.7) - faraday (~> 0.12) - jwt (>= 1.4, < 3.0) - memoist (~> 0.16) - multi_json (~> 1.11) - os (>= 0.9, < 2.0) - signet (~> 0.7) - gssapi (1.3.0) - ffi (>= 1.0.1) - gyoku (1.3.1) - builder (>= 2.1.2) - hashie (3.6.0) - highline (1.7.10) - http (2.2.2) - addressable (~> 2.3) - http-cookie (~> 1.0) - http-form_data (~> 1.0.1) - http_parser.rb (~> 0.6.0) - http-cookie (1.0.3) - domain_name (~> 0.5) - http-form_data (1.0.3) - http_parser.rb (0.6.0) - httpclient (2.8.3) - inifile (3.0.0) - iniparse (1.4.4) - ipaddress (0.8.3) - jaro_winkler (1.5.3) - json (2.2.0) - jwt (2.2.1) - libyajl2 (1.2.0) - license-acceptance (1.0.13) - pastel (~> 0.7) - tomlrb (~> 1.2) - tty-box (~> 0.3) - tty-prompt (~> 0.18) - little-plugger (1.1.4) - logging (2.2.2) - little-plugger (~> 1.1) - multi_json (~> 1.10) - memoist (0.16.0) - method_source (0.9.2) - mime-types (3.2.2) - mime-types-data (~> 3.2015) - mime-types-data (3.2019.0331) - minitar (0.8) - mixlib-archive (1.0.1) - mixlib-log - mixlib-authentication (2.1.1) - mixlib-cli (2.1.1) - mixlib-config (3.0.1) - tomlrb - mixlib-install (3.11.21) - mixlib-shellout - mixlib-versioning - thor - mixlib-log (3.0.1) - mixlib-shellout (3.0.7) - mixlib-versioning (1.2.7) - molinillo (0.6.6) - ms_rest (0.7.4) - concurrent-ruby (~> 1.0) - faraday (~> 0.9) - timeliness (~> 0.3.10) - ms_rest_azure (0.11.1) - concurrent-ruby (~> 1.0) - faraday (~> 0.9) - faraday-cookie_jar (~> 0.0.6) - ms_rest (~> 0.7.4) - unf_ext (= 0.0.7.2) - multi_json (1.13.1) - multipart-post (2.1.1) - necromancer (0.5.0) - net-scp (2.0.0) - net-ssh (>= 2.6.5, < 6.0.0) - net-sftp (2.1.2) - net-ssh (>= 2.6.5) - net-ssh (5.2.0) - net-ssh-gateway (2.0.0) - net-ssh (>= 4.0.0) - net-ssh-multi (1.2.1) - net-ssh (>= 2.6.5) - net-ssh-gateway (>= 1.2.0) - nori (2.6.0) - ohai (15.2.5) - chef-config (>= 12.8, < 16) - ffi (~> 1.9) - ffi-yajl (~> 2.2) - ipaddress - mixlib-cli (>= 1.7.0) - mixlib-config (>= 2.0, < 4.0) - mixlib-log (>= 2.0.1, < 4.0) - mixlib-shellout (>= 2.0, < 4.0) - plist (~> 3.1) - systemu (~> 2.6.4) - wmi-lite (~> 1.0) - os (1.0.1) - paint (1.0.1) - parallel (1.17.0) - parser (2.6.4.0) - ast (~> 2.4.0) - pastel (0.7.3) - equatable (~> 0.6) - tty-color (~> 0.5) - plist (3.5.0) - proxifier (1.0.3) - pry (0.12.2) - coderay (~> 1.1.0) - method_source (~> 0.9.0) - pry-byebug (3.7.0) - byebug (~> 11.0) - pry (~> 0.10) - pry-stack_explorer (0.4.9.3) - binding_of_caller (>= 0.7) - pry (>= 0.9.11) - public_suffix (3.1.1) - r18n-core (3.2.0) - r18n-desktop (3.2.0) - r18n-core (= 3.2.0) - rack (2.0.7) - rainbow (3.0.0) - rake (12.3.3) - rb-readline (0.5.5) - redcarpet (3.5.0) - representable (3.0.4) - declarative (< 0.1.0) - declarative-option (< 0.2.0) - uber (< 0.2.0) - retriable (3.1.2) - rspec (3.8.0) - rspec-core (~> 3.8.0) - rspec-expectations (~> 3.8.0) - rspec-mocks (~> 3.8.0) - rspec-core (3.8.2) - rspec-support (~> 3.8.0) - rspec-expectations (3.8.4) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.8.0) - rspec-mocks (3.8.1) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.8.0) - rspec-support (3.8.2) - rubocop (0.72.0) - jaro_winkler (~> 1.5.1) - parallel (~> 1.10) - parser (>= 2.6) - rainbow (>= 2.2.2, < 4.0) - ruby-progressbar (~> 1.7) - unicode-display_width (>= 1.4.0, < 1.7) - ruby-progressbar (1.10.1) - rubyntlm (0.6.2) - rubyzip (1.2.3) - semverse (3.0.0) - signet (0.11.0) - addressable (~> 2.3) - faraday (~> 0.9) - jwt (>= 1.5, < 3.0) - multi_json (~> 1.10) - simplecov (0.17.0) - docile (~> 1.1) - json (>= 1.8, < 3) - simplecov-html (~> 0.10.0) - simplecov-html (0.10.2) - solve (4.0.2) - molinillo (~> 0.6) - semverse (>= 1.1, < 4.0) - strings (0.1.6) - strings-ansi (~> 0.1) - unicode-display_width (~> 1.5) - unicode_utils (~> 1.4) - strings-ansi (0.1.0) - syslog-logger (1.6.8) - systemu (2.6.5) - thor (0.20.3) - timeliness (0.3.10) - toml-rb (1.1.2) - citrus (~> 3.0, > 3.0) - tomlrb (1.2.8) - train (3.0.3) - azure_graph_rbac (~> 0.16) - azure_mgmt_key_vault (~> 0.17) - azure_mgmt_resources (~> 0.15) - docker-api (~> 1.26) - google-api-client (~> 0.23.9) - googleauth (~> 0.6.6) - inifile - json (>= 1.8, < 3.0) - mixlib-shellout (>= 2.0, < 4.0) - net-scp (>= 1.2, < 3.0) - net-ssh (>= 2.9, < 6.0) - train-core (2.1.19) - json (>= 1.8, < 3.0) - mixlib-shellout (>= 2.0, < 4.0) - net-scp (>= 1.2, < 3.0) - net-ssh (>= 2.9, < 6.0) - winrm (~> 2.0) - winrm-fs (~> 1.0) - train-winrm (0.2.4) - winrm (~> 2.0) - winrm-fs (~> 1.0) - tty-box (0.4.1) - pastel (~> 0.7.2) - strings (~> 0.1.6) - tty-cursor (~> 0.7) - tty-color (0.5.0) - tty-cursor (0.7.0) - tty-prompt (0.19.0) - necromancer (~> 0.5.0) - pastel (~> 0.7.0) - tty-reader (~> 0.6.0) - tty-reader (0.6.0) - tty-cursor (~> 0.7) - tty-screen (~> 0.7) - wisper (~> 2.0.0) - tty-screen (0.7.0) - tty-spinner (0.9.1) - tty-cursor (~> 0.7) - uber (0.1.0) - unf (0.1.4) - unf_ext - unf_ext (0.0.7.2) - unicode-display_width (1.6.0) - unicode_utils (1.4.0) - uuidtools (2.1.5) - winrm (2.3.2) - builder (>= 2.1.2) - erubis (~> 2.7) - gssapi (~> 1.2) - gyoku (~> 1.0) - httpclient (~> 2.2, >= 2.2.0.2) - logging (>= 1.6.1, < 3.0) - nori (~> 2.0) - rubyntlm (~> 0.6.0, >= 0.6.1) - winrm-fs (1.3.2) - erubis (~> 2.7) - logging (>= 1.6.1, < 3.0) - rubyzip (~> 1.1) - winrm (~> 2.0) - wisper (2.0.0) - wmi-lite (1.0.2) - yard (0.9.20) - -PLATFORMS - ruby - -DEPENDENCIES - bundler - chef-apply! - chefstyle - github-markup - pry - pry-byebug - pry-stack_explorer - rake (>= 10.1.0) - rb-readline - redcarpet - rspec (~> 3.0) - simplecov - yard - -BUNDLED WITH - 1.17.3