Skip to content

Add security settings #75

Add security settings

Add security settings #75

Workflow file for this run

name: Operator Tests
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
pull_request:
workflow_call:
workflow_dispatch:
jobs:
build:
uses: ./.github/workflows/build.yaml
with:
charmcraft-snap-revision: 1349 # version 2.3.0

Check failure on line 16 in .github/workflows/integration.yaml

View workflow run for this annotation

GitHub Actions / Operator Tests

Invalid workflow file

The workflow is not valid. .github/workflows/integration.yaml (Line: 16, Col: 33): Invalid input, charmcraft-snap-revision is not defined in the referenced workflow.

Check failure on line 16 in .github/workflows/integration.yaml

View workflow run for this annotation

GitHub Actions / Operator Tests

Invalid workflow file

The workflow is not valid. .github/workflows/integration.yaml (Line: 16, Col: 33): Invalid input, charmcraft-snap-revision is not defined in the referenced workflow.
integration:
runs-on: ubuntu-latest
timeout-minutes: 120
needs: build
strategy:
matrix:
env: [integration, ha-integration, tls-integration]
fail-fast: false
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup operator environment
uses: charmed-kubernetes/actions-operator@main
with:
provider: microk8s
# This is needed until
# https://bugs.launchpad.net/juju/+bug/1977582 is fixed
bootstrap-options: "--agent-version 2.9.29"
- uses: actions/download-artifact@v3
with:
name: mongodb-rock
- name: Install tox
run: python3 -m pip install tox
- name: Integration Tests
run: sg microk8s -c "tox -e ${{ matrix.env }}"