65 changes: 65 additions & 0 deletions .github/workflows/acceptance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: Acceptance tests

on: pull_request

jobs:
build_cache:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup ruby
uses: actions/setup-ruby@v1
with:
ruby-version: "2.7"
- uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-2.7-gems-acceptance-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-2.7-gems-acceptance-
- name: Install dependencies
run: |
gem install bundler
bundle config path vendor/bundle
bundle config without 'development test'
bundle install --jobs 4 --retry 3
acceptance:
needs: build_cache
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
setfile:
- centos7-64{hostname=centos7-64.example.com}
- centos8-64{hostname=centos8-64.example.com}
puppet:
- "6"
- "5"
name: Puppet ${{ matrix.puppet }} - ${{ matrix.setfile }}
steps:
- name: Enable IPv6 on docker
run: |
echo '{"ipv6":true,"fixed-cidr-v6":"2001:db8:1::/64"}' | sudo tee /etc/docker/daemon.json
sudo service docker restart
- uses: actions/checkout@v2
- name: Setup ruby
uses: actions/setup-ruby@v1
with:
ruby-version: "2.7"
- uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-2.7-gems-acceptance-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-2.7-gems-acceptance-
- name: Install dependencies
run: |
gem install bundler
bundle config path vendor/bundle
bundle config without 'development test'
bundle install --jobs 4 --retry 3
- name: Run tests
run: bundle exec rake beaker
env:
BEAKER_PUPPET_COLLECTION: puppet${{ matrix.puppet }}
BEAKER_setfile: ${{ matrix.setfile }}
114 changes: 114 additions & 0 deletions .github/workflows/cron.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
name: Nightly tests

on:
schedule:
- cron: '4 * * * *'

jobs:
unit:
if: github.repository == 'theforeman/puppet-pulpcore'
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby:
- "2.5"
- "2.4"
puppet:
- "6"
- "5"
exclude:
- ruby: "2.5"
puppet: "5"
- ruby: "2.4"
puppet: "6"
env:
PUPPET_VERSION: "${{ matrix.puppet }}.0"
name: Puppet ${{ matrix.puppet }} (Ruby ${{ matrix.ruby }})
steps:
- uses: actions/checkout@v2
- name: Setup ruby
uses: actions/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-${{ matrix.puppet }}-${{ matrix.ruby }}-gems-unit-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-${{ matrix.puppet }}-${{ matrix.ruby }}-gems-unit-
- name: Install dependencies
run: |
gem install bundler
bundle config path vendor/bundle
bundle config without 'development system_tests'
bundle install --jobs 4 --retry 3
- name: Run tests
run: bundle exec rake

build_cache:
if: github.repository == 'theforeman/puppet-pulpcore'
runs-on: ubuntu-latest
steps:
- name: Enable IPv6 on docker
run: |
echo '{"ipv6":true,"fixed-cidr-v6":"2001:db8:1::/64"}' | sudo tee /etc/docker/daemon.json
sudo service docker restart
- uses: actions/checkout@v2
- name: Setup ruby
uses: actions/setup-ruby@v1
with:
ruby-version: "2.7"
- uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-2.7-gems-acceptance-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-2.7-gems-acceptance-
- name: Install dependencies
run: |
gem install bundler
bundle config path vendor/bundle
bundle config without 'development test'
bundle install --jobs 4 --retry 3
acceptance:
if: github.repository == 'theforeman/puppet-pulpcore'
needs: build_cache
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
setfile:
- centos7-64{hostname=centos7-64.example.com}
- centos8-64{hostname=centos8-64.example.com}
puppet:
- "6"
- "5"
name: Puppet ${{ matrix.puppet }} - ${{ matrix.setfile }}
steps:
- name: Enable IPv6 on docker
run: |
echo '{"ipv6":true,"fixed-cidr-v6":"2001:db8:1::/64"}' | sudo tee /etc/docker/daemon.json
sudo service docker restart
- uses: actions/checkout@v2
- name: Setup ruby
uses: actions/setup-ruby@v1
with:
ruby-version: "2.7"
- uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-2.7-gems-acceptance-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-2.7-gems-acceptance-
- name: Install dependencies
run: |
gem install bundler
bundle config path vendor/bundle
bundle config without 'development test'
bundle install --jobs 4 --retry 3
- name: Run tests
run: bundle exec rake beaker
env:
BEAKER_PUPPET_COLLECTION: puppet${{ matrix.puppet }}
BEAKER_setfile: ${{ matrix.setfile }}
44 changes: 44 additions & 0 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Unit tests

on: pull_request

jobs:
unit:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby:
- "2.5"
- "2.4"
puppet:
- "6"
- "5"
exclude:
- ruby: "2.5"
puppet: "5"
- ruby: "2.4"
puppet: "6"
name: Puppet ${{ matrix.puppet }} (Ruby ${{ matrix.ruby }})
env:
PUPPET_VERSION: "${{ matrix.puppet }}.0"
steps:
- uses: actions/checkout@v2
- name: Setup ruby
uses: actions/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-${{ matrix.puppet }}-${{ matrix.ruby }}-gems-unit-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-${{ matrix.puppet }}-${{ matrix.ruby }}-gems-unit-
- name: Install dependencies
run: |
gem install bundler
bundle config path vendor/bundle
bundle config without 'development system_tests'
bundle install --jobs 4 --retry 3
- name: Run tests
run: bundle exec rake
57 changes: 0 additions & 57 deletions .travis.yml

This file was deleted.

40 changes: 40 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,45 @@
# Changelog

## [2.0.0](https://github.com/theforeman/puppet-pulpcore/tree/2.0.0) (2020-10-29)

[Full Changelog](https://github.com/theforeman/puppet-pulpcore/compare/1.2.1...2.0.0)

**Breaking changes:**

- Switch to using a Unix socket bind for API and Content services [\#124](https://github.com/theforeman/puppet-pulpcore/pull/124) ([ehelms](https://github.com/ehelms))
- Fixes [\#30465](https://projects.theforeman.org/issues/30465) - Use libexec wrappers for SELinux [\#116](https://github.com/theforeman/puppet-pulpcore/pull/116) ([ekohl](https://github.com/ekohl))
- Fixes [\#30423](https://projects.theforeman.org/issues/30423) - Change the application layout [\#115](https://github.com/theforeman/puppet-pulpcore/pull/115) ([ekohl](https://github.com/ekohl))

**Implemented enhancements:**

- Drop pid files and fix working dirs [\#125](https://github.com/theforeman/puppet-pulpcore/pull/125) ([ekohl](https://github.com/ekohl))
- Add Pulpcore repository class [\#123](https://github.com/theforeman/puppet-pulpcore/pull/123) ([ekohl](https://github.com/ekohl))
- Set docroot to pulpcore_static [\#141](https://github.com/theforeman/puppet-pulpcore/pull/141) ([ekohl](https://github.com/ekohl))

**Fixed bugs:**

- use absolute paths in unit files [\#129](https://github.com/theforeman/puppet-pulpcore/pull/129) ([wbclark](https://github.com/wbclark))
- Fixes [\#31018](https://projects.theforeman.org/issues/31018) - Force UTF-8 database encoding [\#126](https://github.com/theforeman/puppet-pulpcore/pull/126) ([ekohl](https://github.com/ekohl))

**Merged pull requests:**

- Describe the service setup in README [\#135](https://github.com/theforeman/puppet-pulpcore/pull/135) ([ekohl](https://github.com/ekohl))
- Expand README with more about the support policy. [\#128](https://github.com/theforeman/puppet-pulpcore/pull/128) ([ekohl](https://github.com/ekohl))

## [1.3.0](https://github.com/theforeman/puppet-pulpcore/tree/1.3.0) (2020-09-23)

[Full Changelog](https://github.com/theforeman/puppet-pulpcore/compare/1.2.0...1.3.0)

**Implemented enhancements:**

- Handle X-Forwarded-Proto headers [\#120](https://github.com/theforeman/puppet-pulpcore/pull/120) ([ekohl](https://github.com/ekohl))

**Fixed bugs:**

- Manage the static assets via a class [\#121](https://github.com/theforeman/puppet-pulpcore/pull/121) ([ekohl](https://github.com/ekohl))
- Refs [\#30780](https://projects.theforeman.org/issues/30780) - set proper content origin setting [\#119](https://github.com/theforeman/puppet-pulpcore/pull/119) ([jlsherrill](https://github.com/jlsherrill))
- Fixes [\#30770](https://projects.theforeman.org/issues/30770) - check for the admin user before pw reset [\#118](https://github.com/theforeman/puppet-pulpcore/pull/118) ([jlsherrill](https://github.com/jlsherrill))

## [1.2.0](https://github.com/theforeman/puppet-pulpcore/tree/1.2.0) (2020-08-06)

[Full Changelog](https://github.com/theforeman/puppet-pulpcore/compare/1.1.0...1.2.0)
Expand Down
54 changes: 54 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,57 @@
## [2.0.0](https://github.com/theforeman/puppet-pulpcore/tree/2.0.0) (2020-10-29)

[Full Changelog](https://github.com/theforeman/puppet-pulpcore/compare/1.2.1...2.0.0)

**Breaking changes:**

- Switch to using a Unix socket bind for API and Content services [\#124](https://github.com/theforeman/puppet-pulpcore/pull/124) ([ehelms](https://github.com/ehelms))
- Fixes [\#30465](https://projects.theforeman.org/issues/30465) - Use libexec wrappers for SELinux [\#116](https://github.com/theforeman/puppet-pulpcore/pull/116) ([ekohl](https://github.com/ekohl))
- Fixes [\#30423](https://projects.theforeman.org/issues/30423) - Change the application layout [\#115](https://github.com/theforeman/puppet-pulpcore/pull/115) ([ekohl](https://github.com/ekohl))

**Implemented enhancements:**

- Drop pid files and fix working dirs [\#125](https://github.com/theforeman/puppet-pulpcore/pull/125) ([ekohl](https://github.com/ekohl))
- Add Pulpcore repository class [\#123](https://github.com/theforeman/puppet-pulpcore/pull/123) ([ekohl](https://github.com/ekohl))
- Set docroot to pulpcore_static [\#141](https://github.com/theforeman/puppet-pulpcore/pull/141) ([ekohl](https://github.com/ekohl))

**Fixed bugs:**

- use absolute paths in unit files [\#129](https://github.com/theforeman/puppet-pulpcore/pull/129) ([wbclark](https://github.com/wbclark))
- Fixes [\#31018](https://projects.theforeman.org/issues/31018) - Force UTF-8 database encoding [\#126](https://github.com/theforeman/puppet-pulpcore/pull/126) ([ekohl](https://github.com/ekohl))

**Merged pull requests:**

- Describe the service setup in README [\#135](https://github.com/theforeman/puppet-pulpcore/pull/135) ([ekohl](https://github.com/ekohl))
- Expand README with more about the support policy. [\#128](https://github.com/theforeman/puppet-pulpcore/pull/128) ([ekohl](https://github.com/ekohl))

## [1.3.0](https://github.com/theforeman/puppet-pulpcore/tree/1.3.0) (2020-09-23)

[Full Changelog](https://github.com/theforeman/puppet-pulpcore/compare/1.2.0...1.3.0)

**Implemented enhancements:**

- Handle X-Forwarded-Proto headers [\#120](https://github.com/theforeman/puppet-pulpcore/pull/120) ([ekohl](https://github.com/ekohl))

**Fixed bugs:**

- Manage the static assets via a class [\#121](https://github.com/theforeman/puppet-pulpcore/pull/121) ([ekohl](https://github.com/ekohl))
- Refs [\#30780](https://projects.theforeman.org/issues/30780) - set proper content origin setting [\#119](https://github.com/theforeman/puppet-pulpcore/pull/119) ([jlsherrill](https://github.com/jlsherrill))
- Fixes [\#30770](https://projects.theforeman.org/issues/30770) - check for the admin user before pw reset [\#118](https://github.com/theforeman/puppet-pulpcore/pull/118) ([jlsherrill](https://github.com/jlsherrill))

## [1.2.0](https://github.com/theforeman/puppet-pulpcore/tree/1.2.0) (2020-08-06)

[Full Changelog](https://github.com/theforeman/puppet-pulpcore/compare/1.1.0...1.2.0)

**Implemented enhancements:**

- Fixes [\#29895](https://projects.theforeman.org/issues/29895) - add pulp\_deb plugin [\#112](https://github.com/theforeman/puppet-pulpcore/pull/112) ([m-bucher](https://github.com/m-bucher))
- Use pulpcore-manager [\#111](https://github.com/theforeman/puppet-pulpcore/pull/111) ([ekohl](https://github.com/ekohl))
- Refs [\#30057](https://projects.theforeman.org/issues/30057) - Configure Pulpcore Worker Count [\#100](https://github.com/theforeman/puppet-pulpcore/pull/100) ([wbclark](https://github.com/wbclark))

**Fixed bugs:**

- Add the GPL license text [\#109](https://github.com/theforeman/puppet-pulpcore/pull/109) ([ekohl](https://github.com/ekohl))

## [1.1.0](https://github.com/theforeman/puppet-pulpcore/tree/1.1.0) (2020-06-30)

[Full Changelog](https://github.com/theforeman/puppet-pulpcore/compare/1.0.0...1.1.0)
Expand Down
Loading