https://github.com/cloud-gov/deploy-platform-opensearch
Platform opensearch for platform logs
https://github.com/cloud-gov/deploy-platform-opensearch
Last synced: 23 days ago
JSON representation
Platform opensearch for platform logs
- Host: GitHub
- URL: https://github.com/cloud-gov/deploy-platform-opensearch
- Owner: cloud-gov
- License: other
- Created: 2026-03-06T16:44:02.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2026-05-22T18:53:25.000Z (about 1 month ago)
- Last Synced: 2026-05-22T19:46:52.767Z (about 1 month ago)
- Language: Python
- Size: 1.04 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
# Opensearch logs deployment
This repo contains the pipeline and [BOSH](https://bosh.io) manifests for deploying cloud.gov [Opensearch](https://opensearch.org/) implementation.
## UAA Setup
To set up the UAA client, add the following to the CF secrets:
```yaml
properties:
uaa:
clients:
opensearch_dashboards_oauth2_client:
secret: CHANGEME
scope: scim.userids,cloud_controller.read,openid,oauth.approvals
authorized-grant-types: refresh_token,authorization_code
redirect-uri: https://CHANGEME/login
autoapprove: true
```
## e2e tests with Playwright
This project includes e2e tests for logging into OpenSearch that use Python Playwright. To run these tests:
```shell
cp .env-sample .env # Update values in .env afterwards
./scripts/e2e-local.sh
```
## Downloading test results from CI
When the e2e tests run in CI, traces from failed test runs may be created. To download these traces, use the provided script:
```shell
./scripts/download-e2e-ci-results.sh [ENVIRONMENT]
```
where:
- `BUILD_NUMBER` - the number of the failed `smoke-tests-login-` job from the pipeline
- `ENVIRONMENT` - **optionally** specify the environment for the tests: `development`, `staging`, or `production`. defaults to `production`.
To view downloaded trace files:
```shell
source venv/bin/activate
pip install -r requirements-test.txt
playwright show-trace ci-test-results//trace.zip
```
where `` is an abitrary directory name generated for the test run by Playwright.
See for more information about working with Playwright traces.