updating few package #169
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Acceptance full | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| jobs: | |
| acceptance-full: | |
| runs-on: ubuntu-latest | |
| # Items marked as ci_build=yes are allowed to fail | |
| continue-on-error: ${{ matrix.ci_build == 'yes' }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| # Modes described in DESIGN.md: https://github.com/sensu/sensu-puppet/blob/master/DESIGN.md#acceptance-tests | |
| sensu_mode: | |
| - full | |
| - types | |
| - examples | |
| puppet: | |
| - puppet7 | |
| - puppet8 | |
| use_agent: | |
| - no | |
| ci_build: | |
| - no | |
| set: | |
| - rocky-8 | |
| - ubuntu-2404-modern | |
| include: | |
| - sensu_mode: types | |
| puppet: puppet7 | |
| use_agent: yes | |
| ci_build: no | |
| set: rocky-8 | |
| - sensu_mode: bolt | |
| puppet: puppet7 | |
| set: rocky-8 | |
| - sensu_mode: types | |
| puppet: puppet8 | |
| use_agent: yes | |
| ci_build: no | |
| set: rocky-8 | |
| env: | |
| BEAKER_debug: true | |
| name: ${{ matrix.set }} ${{ matrix.puppet }} (mode=${{ matrix.sensu_mode }} use-agent=${{ matrix.use_agent }} CI=${{ matrix.ci_build }}) | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Setup ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: '3.1.4' | |
| bundler-cache: true | |
| bundler: '2.4.10' | |
| - name: Decrypt secrets | |
| env: | |
| SENSU_SECRETS_PASSWORD: ${{ secrets.SENSU_SECRETS_PASSWORD }} | |
| if: ${{ env.SENSU_SECRETS_PASSWORD != null }} | |
| run: ./tests/decrypt-secrets.sh | |
| - name: Run tests | |
| run: bundle exec rake acceptance | |
| env: | |
| RUN_ACCEPTANCE: 1 | |
| BEAKER_PUPPET_COLLECTION: ${{ matrix.puppet }} | |
| BEAKER_set: ${{ matrix.set }} | |
| BEAKER_sensu_mode: ${{ matrix.sensu_mode }} | |
| BEAKER_sensu_use_agent: ${{ matrix.use_agent }} | |
| BEAKER_sensu_ci_build: ${{ matrix.ci_build }} |