updating few package #166
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 cluster | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| jobs: | |
| acceptance-cluster: | |
| 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: | |
| puppet: | |
| - puppet7 | |
| - puppet8 | |
| use_agent: | |
| - no | |
| ci_build: | |
| - no | |
| set: | |
| - rocky-8-cluster | |
| - ubuntu-2404-cluster | |
| env: | |
| BEAKER_debug: true | |
| name: Sensu Go Cluster ${{ matrix.set }} ${{ matrix.puppet }} (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: ${{ matrix.puppet == 'puppet8' && '3.2.5' || '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: cluster | |
| BEAKER_sensu_use_agent: ${{ matrix.use_agent }} | |
| BEAKER_sensu_ci_build: ${{ matrix.ci_build }} |