Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/bundler/src/oc-id/loofah-2.19.1
Browse files Browse the repository at this point in the history
  • Loading branch information
talktovikas authored Sep 18, 2023
2 parents 5cc0986 + d74cc79 commit 9685721
Show file tree
Hide file tree
Showing 152 changed files with 1,301 additions and 1,289 deletions.
2 changes: 2 additions & 0 deletions .expeditor/release.omnibus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ builder-to-testers-map:
- ubuntu-22.04-x86_64
el-8-x86_64:
- el-8-x86_64
el-9-x86_64:
- el-9-x86_64
27 changes: 27 additions & 0 deletions .github/workflows/sonarqube.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: SonarQube scan

on:
# Trigger analysis when pushing to your main branches, and when creating a pull request.
push:
branches:
- main
- develop
- 'release/**'
pull_request:
types: [opened, synchronize, reopened]

jobs:
sonarqube:
runs-on: ip-range-controlled
# runs-on: ubuntu-latest
# needs: [build]
steps:
- uses: actions/checkout@v3
with:
# Disabling shallow clone is recommended for improving relevancy of reporting
fetch-depth: 0
- name: SonarQube Scan
uses: sonarsource/sonarqube-scan-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
57 changes: 54 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,64 @@
# Chef Server Changelog
<!-- usage documentation: http://expeditor-docs.es.chef.io/configuration/changelog/ -->
<!-- latest_release -->
<!-- latest_release 15.7.5 -->
## [15.7.5](https://github.com/chef/chef-server/tree/15.7.5) (2023-08-28)

#### Merged Pull Requests
- fix link in docs [#3506](https://github.com/chef/chef-server/pull/3506) ([IanMadd](https://github.com/IanMadd))
<!-- latest_release -->

<!-- release_rollup -->
<!-- release_rollup since=15.7.0 -->
### Changes since 15.7.0 release

#### Merged Pull Requests
- fix link in docs [#3506](https://github.com/chef/chef-server/pull/3506) ([IanMadd](https://github.com/IanMadd)) <!-- 15.7.5 -->
- CHEF-4514 Reorganize reusable text files in docs [#3692](https://github.com/chef/chef-server/pull/3692) ([IanMadd](https://github.com/IanMadd)) <!-- 15.7.4 -->
- CHEF-3465 Replace download links [#3683](https://github.com/chef/chef-server/pull/3683) ([IanMadd](https://github.com/IanMadd)) <!-- 15.7.3 -->
- Docs update [#3676](https://github.com/chef/chef-server/pull/3676) ([PrajaktaPurohit](https://github.com/PrajaktaPurohit)) <!-- 15.7.2 -->
- Update supported platforms page [#3675](https://github.com/chef/chef-server/pull/3675) ([IanMadd](https://github.com/IanMadd)) <!-- 15.7.1 -->
<!-- release_rollup -->

<!-- latest_stable_release -->
## [15.7.0](https://github.com/chef/chef-server/tree/15.7.0) (2023-06-14)

#### Merged Pull Requests
- Integrating with sonarcubes [#3628](https://github.com/chef/chef-server/pull/3628) ([vinay-satish](https://github.com/vinay-satish))
- Bump activesupport from 7.0.4.1 to 7.0.4.2 in /oc-chef-pedant [#3588](https://github.com/chef/chef-server/pull/3588) ([dependabot[bot]](https://github.com/dependabot[bot]))
- Bump mixlib-install from 3.12.24 to 3.12.27 in /src/chef-server-ctl [#3591](https://github.com/chef/chef-server/pull/3591) ([dependabot[bot]](https://github.com/dependabot[bot]))
- Bump nokogiri from 1.14.0 to 1.14.2 in /src/oc-id [#3602](https://github.com/chef/chef-server/pull/3602) ([dependabot[bot]](https://github.com/dependabot[bot]))
- Bump pg from 1.4.5 to 1.4.6 in /src/chef-server-ctl [#3612](https://github.com/chef/chef-server/pull/3612) ([dependabot[bot]](https://github.com/dependabot[bot]))
- Update release process docs [#3631](https://github.com/chef/chef-server/pull/3631) ([lbakerchef](https://github.com/lbakerchef))
- Bump nokogiri from 1.14.2 to 1.14.3 in /src/oc-id [#3643](https://github.com/chef/chef-server/pull/3643) ([dependabot[bot]](https://github.com/dependabot[bot]))
- Bump omnibus-software from `6a1c889` to `67a1705` in /omnibus [#3660](https://github.com/chef/chef-server/pull/3660) ([dependabot[bot]](https://github.com/dependabot[bot]))
- Add el-9 builder and tester to the pipelines [#3661](https://github.com/chef/chef-server/pull/3661) ([PrajaktaPurohit](https://github.com/PrajaktaPurohit))
- Updated license scout issues [#3666](https://github.com/chef/chef-server/pull/3666) ([jashaik](https://github.com/jashaik))
- Setting file and template backup to false for the config files [#3659](https://github.com/chef/chef-server/pull/3659) ([vinay-satish](https://github.com/vinay-satish))
<!-- latest_stable_release -->

## [15.6.2](https://github.com/chef/chef-server/tree/15.6.2) (2023-03-17)

#### Merged Pull Requests
- Update default OpenJRE to 11.0.18+10 [#3623](https://github.com/chef/chef-server/pull/3623) ([lbakerchef](https://github.com/lbakerchef))

## [15.6.1](https://github.com/chef/chef-server/tree/15.6.1) (2023-03-07)

#### Merged Pull Requests
- Disable caching on SSL pages [#3570](https://github.com/chef/chef-server/pull/3570) ([lbakerchef](https://github.com/lbakerchef))
- Normalize host header case [#3587](https://github.com/chef/chef-server/pull/3587) ([lbakerchef](https://github.com/lbakerchef))
- Bump omnibus-software to pull in the OpenJRE update [#3609](https://github.com/chef/chef-server/pull/3609) ([lbakerchef](https://github.com/lbakerchef))
- Update Erlang dependencies [#3611](https://github.com/chef/chef-server/pull/3611) ([lbakerchef](https://github.com/lbakerchef))
- Bump spring from 4.1.0 to 4.1.1 in /src/oc-id [#3572](https://github.com/chef/chef-server/pull/3572) ([dependabot[bot]](https://github.com/dependabot[bot]))

## [15.5.1](https://github.com/chef/chef-server/tree/15.5.1) (2023-02-08)

#### Merged Pull Requests
- Update release process documentation [#3567](https://github.com/chef/chef-server/pull/3567) ([lbakerchef](https://github.com/lbakerchef))
- Updated license_scout to 1.3.4 [#3595](https://github.com/chef/chef-server/pull/3595) ([jashaik](https://github.com/jashaik))
- Update opensearch version to 1.3.7 in chef-server. [#3573](https://github.com/chef/chef-server/pull/3573) ([sreepuramsudheer](https://github.com/sreepuramsudheer))
- Adding opensearch config to gen_frontend/backend [#3596](https://github.com/chef/chef-server/pull/3596) ([jashaik](https://github.com/jashaik))
- Forward ports from dev vm to host [#3594](https://github.com/chef/chef-server/pull/3594) ([lbakerchef](https://github.com/lbakerchef))
- Updated upgrade docs with a note [#3600](https://github.com/chef/chef-server/pull/3600) ([jashaik](https://github.com/jashaik))

## [15.4.0](https://github.com/chef/chef-server/tree/15.4.0) (2023-01-05)

#### Merged Pull Requests
Expand Down Expand Up @@ -36,7 +88,6 @@
- Upgrade rebar3 3.6.2 -&gt; 3.20.0 [#3551](https://github.com/chef/chef-server/pull/3551) ([lbakerchef](https://github.com/lbakerchef))
- Changed erlang version to 24. [#3560](https://github.com/chef/chef-server/pull/3560) ([sreepuramsudheer](https://github.com/sreepuramsudheer))
- Bump omnibus-software from `ab655a5` to `2be3816` in /omnibus [#3558](https://github.com/chef/chef-server/pull/3558) ([dependabot[bot]](https://github.com/dependabot[bot]))
<!-- latest_stable_release -->

## [15.3.2](https://github.com/chef/chef-server/tree/15.3.2) (2022-11-09)

Expand Down
30 changes: 24 additions & 6 deletions RELEASE_PROCESS.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ In order to release, you will need the following accounts/permissions:
Upgrade Erlang dependencies via automated script.
See https://github.com/chef/chef-server/blob/main/dev-docs/FrequentTasks.md#updating-erlang-dependencies-using-rebar3 .

### Update documentation

Ensure documentation in [docs-site](https://docs.chef.io/) is updated for changes that would be included in the release.

### Update Release Notes

#### Pending Release Notes In Wiki
Expand Down Expand Up @@ -171,6 +175,18 @@ https://buildkite.com/chef/chef-chef-server-main-habitat-build
Follow the below document for testing the chef-server version in Automate environment.
https://github.com/chef/automate/blob/main/dev-docs/DEV_ENVIRONMENT.md

#### Software Versions Check

If any software was bumped or updated (including any CVEs addressed), load up a dev VM and verify that the software is the correct version.

For example, after an OpenJRE bump:
```
# /opt/opscode/embedded/open-jre/bin/java --version
openjdk 11.0.18 2023-01-17
OpenJDK Runtime Environment Temurin-11.0.18+10 (build 11.0.18+10)
OpenJDK 64-Bit Server VM Temurin-11.0.18+10 (build 11.0.18+10, mixed mode)
```

#### Special Testing

Do any special testing specific to the particular release you are doing, as applicable.
Expand Down Expand Up @@ -224,18 +240,20 @@ https://discourse.chef.io/c/chef-release/9
1. Confirm that the release notes from Pending Release Notes are automatically posted on discourse. Sample post:
https://discourse.chef.io/t/chef-infra-server-14-10-23-released/20438
1. Confirm that the data for the Pending Release Notes at https://github.com/chef/chef-server/wiki/Pending-Release-Notes is automatically deleted by expeditor, and only the titles remain. Notify releng at https://github.com/chef/release-engineering/issues if this does not automatically happen on promote.
1. Confirm that the release notes appear at https://docs.chef.io/release_notes_server/ . This should happen automatically via expeditor, but if it does not you need to perform the steps manually and create an issue with releng at https://github.com/chef/release-engineering/issues.
1. Confirm that the release notes appear at https://docs.chef.io/release_notes_server/ . This should happen automatically via expeditor, but if it does not you need to perform the steps manually and create an issue with releng at https://github.com/chef/release-engineering/issues. For instructions on how to proceed with a manual edit, contact docs-support.

In case of release failure, consult appropriate documentation to assist with troubleshooting and correcting the issue.
https://expeditor.chef.io/dashboard/?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2NDYxODMwMTgsImlhdCI6MTY0NjE2ODYxOCwiaXNzIjoiaHR0cHM6Ly9leHBlZGl0b3IuY2hlZi5pbyIsInVzZXJfbG9naW4iOiJQcmFqYWt0YVB1cm9oaXQiLCJ1c2VyX25hbWUiOm51bGwsImFjY2Vzc190b2tlbiI6ImdodV95R3o4MkE5dWg5TzdnVXhOMHhEbXQ5bHU1YXM0YUE0TVZuVjYiLCJhZG1pbiI6dHJ1ZX0.5EZ1GvD_ufWmXPzfosGbs11RXYnHNm7gABgc-TpLgkQ#/

### Automate

1. Create issues in the chef-server repo and in the automate repo to update the version of Chef Infra Server in Automate. Make sure to link the issues to each other.
1. Bump the version of Automate [placeholder - instructions forthcoming].
Notify the Automate team that chef server has been released, and give them the version. Confirm that the hab packages are available for them to consume:

https://github.com/chef/chef-server/blob/main/dev-docs/AUTOMATE_DEV_ENV.md
https://github.com/chef/automate/pull/5269
https://bldr.habitat.sh/#/pkgs/chef/oc_erchef/latest
https://bldr.habitat.sh/#/pkgs/chef/oc_bifrost/latest
https://bldr.habitat.sh/#/pkgs/chef/bookshelf/latest
https://bldr.habitat.sh/#/pkgs/chef/chef-server-nginx/latest
https://bldr.habitat.sh/#/pkgs/chef/chef-server-ctl/latest

Chef Infra Server is now released.

Expand Down Expand Up @@ -265,5 +283,5 @@ https://buildkite.com/chef/chef-umbrella-main-chef-server-full/builds/97#20ad56a
- verify that manifest contains correct PASSED
release number
- build and release the release PENDING
- Create automate issues PENDING
- notify automate PENDING
```
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
15.4.0
15.7.5
2 changes: 2 additions & 0 deletions dev/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ end

Vagrant.configure("2") do |config|
config.vm.network 'public_network' if USE_AZURE
config.vm.network "forwarded_port", guest: 80, host: 8080
config.vm.network "forwarded_port", guest: 443, host: 8443
config.vm.box = "bento/ubuntu-20.04"
config.ssh.forward_agent = true
config.omnibus.chef_version = :latest
Expand Down
6 changes: 5 additions & 1 deletion docs-chef-io/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ preview_netlify: chef_web_docs
cp -R content chef-web-docs/_vendor/github.com/chef/chef-server/docs-chef-io
cp -R static chef-web-docs/_vendor/github.com/chef/chef-server/docs-chef-io
cp -R config.toml chef-web-docs/_vendor/github.com/chef/chef-server/docs-chef-io/config.toml
cp -R layouts chef-web-docs/_vendor/github.com/chef/chef-server/docs-chef-io

if [ -d "layouts" ]; then \
cp -R layouts chef-web-docs/_vendor/github.com/chef/chef-server/docs-chef-io; \
fi

pushd chef-web-docs && make bundle; hugo --buildFuture --gc --minify && popd

serve: chef_web_docs
Expand Down
Loading

0 comments on commit 9685721

Please sign in to comment.