Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix e2e tests #106

Merged
merged 99 commits into from
Mar 25, 2024
Merged
Changes from 1 commit
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
5a37de3
update worker class for test proxy to eventlet
markdboyd Feb 23, 2024
3b26e0e
temporarily point to CI at test branch
markdboyd Feb 23, 2024
a871849
refactor check for welcome message
markdboyd Feb 23, 2024
81b6f49
remove unused import
markdboyd Feb 27, 2024
7ece32a
applied black formatting
markdboyd Feb 27, 2024
9a81975
update pipeline to use hardened playwright image
markdboyd Feb 27, 2024
69cbc7c
fix pipeline definiton
markdboyd Feb 27, 2024
ee76450
add check for black formatting
markdboyd Feb 27, 2024
c282eed
add config to disable welcome screen for opensearch dashboards
markdboyd Mar 4, 2024
7ee8a8f
update opensearch docker images to 2.12.0
markdboyd Mar 4, 2024
eb2ae60
downgrade docker to opensearch 2.11
markdboyd Mar 4, 2024
8dfd770
update script for seeding ES data to include all env vars
markdboyd Mar 5, 2024
a16085b
disable new theme modal to make e2e tests less flaky
markdboyd Mar 5, 2024
f70f086
remove test handles for intermittent welcome message that is now disa…
markdboyd Mar 5, 2024
d543ac0
refactor e2e tests for user 1 to use page locators per playwright gui…
markdboyd Mar 5, 2024
f51e5ae
refactor e2e tests for other users to use page locators per playwrigh…
markdboyd Mar 5, 2024
51e6146
update CI seed script to wipe test index on every run
markdboyd Mar 5, 2024
849f135
apply black formatting
markdboyd Mar 5, 2024
a6622fa
update dev script for seeding ES data to work in CI
markdboyd Mar 6, 2024
6e21811
updated locator for hamburger menu to not rely on CSS class
markdboyd Mar 6, 2024
f1d51b1
fix CI script to handle 404 from delete index request & improve error…
markdboyd Mar 6, 2024
a4a2798
add dev script for seeding data locally
markdboyd Mar 6, 2024
48fa391
update README
markdboyd Mar 6, 2024
fcbcf6b
apply black formatting
markdboyd Mar 6, 2024
a956cfd
update opensearch containers to 2.12
markdboyd Mar 6, 2024
f86e024
update docker compose file to set required value for opensearch admin…
markdboyd Mar 6, 2024
92865fc
update sample .env file
markdboyd Mar 6, 2024
cdb3f36
update seed script to use new opensearch username/password env vars
markdboyd Mar 6, 2024
567d6f5
update README
markdboyd Mar 6, 2024
8f774c6
update script for starting docker cluster
markdboyd Mar 6, 2024
e3113da
rename ci/seed-es-data.sh -> ci/seed-opensearch-data.sh
markdboyd Mar 6, 2024
b9e1e84
update pipeline to use new environment vars for opensearch admin user…
markdboyd Mar 6, 2024
84f8794
update credhub vars for opensearch admin username/password
markdboyd Mar 6, 2024
9029692
remove test condition on UI element that no longer exists in opensear…
markdboyd Mar 6, 2024
b38e84a
update proxy app instances to use 1G of memory
markdboyd Mar 7, 2024
2019c8a
increase number of gunicorn workers per container
markdboyd Mar 7, 2024
a391a00
refactor code to have separate requirements.txt for local dev, for ha…
markdboyd Mar 7, 2024
058cfed
Revert "refactor code to have separate requirements.txt for local dev…
markdboyd Mar 7, 2024
c3895f0
update playwright e2e test to use auto-waiting assertions
markdboyd Mar 7, 2024
d5a3835
remove possibly unnecessary setup install of browser for playwright t…
markdboyd Mar 7, 2024
68c205f
re-enable installation of browser for playwright python
markdboyd Mar 7, 2024
1d2a35e
fix index pattern creation script
markdboyd Mar 13, 2024
1931c58
test script refactor
markdboyd Mar 13, 2024
5803498
refactor error handling for CI script
markdboyd Mar 14, 2024
07be7fb
fix OPENSEARCH_JAVA_OPTS for deployed opensearch test app
markdboyd Mar 14, 2024
df1a93c
bump memory for test dashboards app from 2G to 4G
markdboyd Mar 14, 2024
4a31fde
bump memory for opensearch test node from 4G to 5G
markdboyd Mar 14, 2024
ec0b662
refactor pipeline to only rebuild docker images when docker source fi…
markdboyd Mar 14, 2024
cd24c34
fix pipeline configuration
markdboyd Mar 14, 2024
ed91614
add separate manifests and apps for opensearch manager and test nodes
markdboyd Mar 14, 2024
035dff8
update pipeline to deploy manager and node apps
markdboyd Mar 14, 2024
3a6cadb
fix manifest paths
markdboyd Mar 14, 2024
8d6e30c
fix manifests
markdboyd Mar 14, 2024
9295132
fix app manifests
markdboyd Mar 14, 2024
81928fe
try setting java opt on opensearch manager node for max FD limit
markdboyd Mar 14, 2024
27071f4
set bootstrap option for manager node
markdboyd Mar 14, 2024
8a6c2e4
move back to a single node opensearch cluster & increase memory for n…
markdboyd Mar 14, 2024
02505a9
change memory for opensearch java process to 7GB
markdboyd Mar 14, 2024
f3cd5c7
remove CI code for manager node
markdboyd Mar 14, 2024
158ea66
refactor pipeline so new images trigger deploy of apps
markdboyd Mar 14, 2024
9520f99
fix pipeline
markdboyd Mar 14, 2024
a47cbda
fix script for setting config
markdboyd Mar 14, 2024
da0be47
refactor pipeline
markdboyd Mar 14, 2024
358bf5c
try a longer timeout
bengerman13 Mar 14, 2024
30a7830
Merge branch 'fix-e2e-tests' of github.com:cloud-gov/opensearch-dashb…
bengerman13 Mar 14, 2024
329cf98
revert timeout, add debug, allow setting ci target
bengerman13 Mar 14, 2024
4f0771b
add debug logging for proxy
markdboyd Mar 15, 2024
d6df389
add more debug logging
markdboyd Mar 15, 2024
97d31e1
revert the number of workers to 1 per auth proxy instance
markdboyd Mar 15, 2024
fa12c07
remove unused manifest
markdboyd Mar 15, 2024
882588e
re-enable four workers for proxy app
markdboyd Mar 15, 2024
5f54ddf
refactor source code info into config file for pipeline
markdboyd Mar 15, 2024
f380312
remove log level settings for proxy
markdboyd Mar 15, 2024
9852ca2
update pipeline to use general-task image for e2e tests
markdboyd Mar 15, 2024
83718e6
re-add hardened playwright image
markdboyd Mar 15, 2024
c4e8a3d
update code for running e2e tests and update documents
markdboyd Mar 15, 2024
f749f7d
refactor e2e test
markdboyd Mar 15, 2024
71995f4
use production config type for tests
bengerman13 Mar 18, 2024
67eb597
blacken
bengerman13 Mar 18, 2024
7693952
revert to local tests
bengerman13 Mar 18, 2024
1867d46
update pipeline to use pipline-playwright hardened image
markdboyd Mar 22, 2024
a4a31eb
remove python browser install setup that is now handled in hardened i…
markdboyd Mar 22, 2024
22d26e2
add missing env var to e2e step
markdboyd Mar 22, 2024
a89b12c
add basic env var validation for e2e tests
markdboyd Mar 22, 2024
6eab314
remove hardened playwright python image
markdboyd Mar 22, 2024
c46b730
add step to install playwright deps
markdboyd Mar 22, 2024
0b48ef8
update CI
markdboyd Mar 22, 2024
f200216
temporarily skip deploying apps
markdboyd Mar 22, 2024
2b43dfc
temporarily skip deploying apps
markdboyd Mar 22, 2024
30f9917
go back to using hardened image
markdboyd Mar 22, 2024
4ccd1a4
refactor pipeline steps
markdboyd Mar 22, 2024
542f279
add notifications to pipeline
markdboyd Mar 22, 2024
5c95b97
fix pipeline
markdboyd Mar 22, 2024
12103ac
fix pipeline
markdboyd Mar 22, 2024
c79ffa4
add slack resource
markdboyd Mar 22, 2024
bac036a
add slack notification resource type
markdboyd Mar 22, 2024
7fc18fb
update memory for test-auth-proxy app to 2G
markdboyd Mar 25, 2024
f19d43e
update FLASK_ENV to production
markdboyd Mar 25, 2024
1e70be7
update branch for source code back to main
markdboyd Mar 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add slack notification resource type
  • Loading branch information
markdboyd committed Mar 22, 2024
commit bac036ae65022f8e51baa0e4e081a0ff627f1756
9 changes: 9 additions & 0 deletions ci/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -385,3 +385,12 @@ resource_types:
repository: cf-resource
aws_region: us-gov-west-1
tag: latest

- name: slack-notification
type: registry-image
source:
aws_access_key_id: ((ecr_aws_key))
aws_secret_access_key: ((ecr_aws_secret))
repository: slack-notification-resource
aws_region: us-gov-west-1
tag: latest
Loading