Skip to content

Commit 2db879f

Browse files
clewellyn-navaryan-morosaJamesDemeryNavaannamontare-navagithub-actions[bot]
authored
Clewellyn nava/bb2 4668/integration test gha (#1591)
* initial commit * add more boiler code * initial attempt at running api in codebuild runner * renive okd byukd oridyctuib cide * re-enable workflow dispatch * typo in compose * fix dockerfile * final initial changset 400 * fix path * 3rd time is the charm * path change again * fixed part 1003231 * fixing paths * use make for codebuild instance * I don't understand file paths * using the power of root paths * what if there were even more path changes * fix path * fix some more stuff * more path fixes * minor spelling mistake * one day..... * more path fixes * more changes * cooking with gas * maybe last changes but probably not * remove debugpy * cleaning some stuff up * remove return exit code * check db path * remove readonly from codebuild * attempt number 5000 * added integration tests and teardown * paths!!! * paths part 2 * almost there * still file paths * I hate you file paths * more path shenanigans * tests run but they error out now * unnecessary makefile changes * makefile beautification (also fix relative paths for docker) * make migrate simpler (scope creep) * cleanup env, make some make changes, migrate and collectstatic work * change mslsx for better teardown * podman support (does the database need a persistence volume?) * persist database locally * this worked before and now it doesn't * test certificate issue * tabs * not sure what changed here * change podman tmpfs which doesnt work in docker * cleaning up files * change makefile targets * lower tmp size in codebuild * check memory in action * not anything * add explicit env file * up memory limit on tmp * add container env to codebuild instance, remove from integration test * remove unused envvars * MAYBE? * ruff failure * Fail unit tests * change unit tests back * ruff failure * fail unit test * Fix unit tests * BB2-4183: Dynamic v3 Permissions Screen (#1531) * BB2-4183: Dynamic permissions screen for v3 * Add unit testing * Raise a no scopes provided error if there are no scopes in the DB for an app, or if the scopes passed in the scope param has no overlap with an app's scopes in DB * Ensure v3 only shows scopes that are both requested/in the DB * Add another unit test * Added bene name, some styling * Add svg icon, modify some styling, add unit tests * Finish up styling and make sure Rubik font shows correctly * New tab for privacy policy/ToS links and add icon for those as well * Modify format_patient_name, add profile to list of scopes that shows patient info on v3 permissions screen * BB2-4676: SAMHSA filtering v3 EOB calls (#1595) * Add param support for EOB call * BB2-4676: Add SAMHSA filtering for v3 EOB calls based on include_samhsa value * Add back ioncorrectly removed tag and override_switch on integration test * Use httpstatus.ok instead of 200 and remove commented out line * Address PR feedback * anna/bb2 4818 display app contact in permissions screen (#1606) Displays an application's contact email in the v3 permissions screen. * add application support email to v3 permissions screen * add changes to authorize_v3_coverage_only.html * match wording in figma files * fix template formatting * update contributors information (#1608) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Make apt get install Debian:13 lcms2 to version 2.16-2+deb13u2 (#1610) * Bump the pip group across 1 directory with 2 updates (#1601) * Bump the pip group across 1 directory with 2 updates Bumps the pip group with 2 updates in the /requirements directory: [idna](https://github.com/kjd/idna) and [urllib3](https://github.com/urllib3/urllib3). Updates `idna` from 3.7 to 3.15 - [Release notes](https://github.com/kjd/idna/releases) - [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.md) - [Commits](kjd/idna@v3.7...v3.15) Updates `urllib3` from 2.6.3 to 2.7.0 - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](urllib3/urllib3@2.6.3...2.7.0) --- updated-dependencies: - dependency-name: idna dependency-version: '3.15' dependency-type: direct:production - dependency-name: urllib3 dependency-version: 2.7.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * Add back our via value --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: James Demery <jamesdemery@navapbc.com> * (NFC) Update synthetic beneficiary test password (#1609) * Fix integration test (#1600) * ryan-morosa/bb2-4860-respect-app-settings-follow-up (#1603) * Fix the search vs.read functionality * Work on more testing * Get unit tests to work for FHIRResourcesReadSearchTest * BB2-4183: Dynamic v3 Permissions Screen (#1531) * BB2-4183: Dynamic permissions screen for v3 * Add unit testing * Raise a no scopes provided error if there are no scopes in the DB for an app, or if the scopes passed in the scope param has no overlap with an app's scopes in DB * Ensure v3 only shows scopes that are both requested/in the DB * Add another unit test * Added bene name, some styling * Add svg icon, modify some styling, add unit tests * Finish up styling and make sure Rubik font shows correctly * New tab for privacy policy/ToS links and add icon for those as well * Modify format_patient_name, add profile to list of scopes that shows patient info on v3 permissions screen * BB2-4676: SAMHSA filtering v3 EOB calls (#1595) * Add param support for EOB call * BB2-4676: Add SAMHSA filtering for v3 EOB calls based on include_samhsa value * Add back ioncorrectly removed tag and override_switch on integration test * Use httpstatus.ok instead of 200 and remove commented out line * Address PR feedback * Fix some more integration tests * Get more integration tests to pass * Get all tests passing * Do some cleanup * Cleanup database setup commands * Remove from audit logger * Final cleanup * Cleanup some of the app scope permission code * Add app scope permission class to insurance card view * Add bundle for dic endpoint * Get insurance card endpoint to work with app scope permissions too * Update logic in read/search section of app scope permissions * Get rid of is_not_empty and rename dictionary lookup --------- Co-authored-by: James Demery <jamesdemery@navapbc.com> * BB2-4817 run scheduled django commands on GitHub Actions (#1604) Run scheduled Django management commands on GitHub actions. * add workflow_call to run-manage-command.yml and add scheduled commands workflow * add name for workflow * fix syntax * fix syntax (2) * fix syntax (3) * fix syntax (4) * update input description * add fail-fast: false and inherit secrets --------- Co-authored-by: James Demery <jamesdemery@navapbc.com> * update contributors information (#1612) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Noor1027/bb2 4604 prod fargate release clean (#1611) * BB2-4604: add prod SOPS config and fix ACM cert lookup for prod environment Set ACM domain to api.bluebutton.cms.gov in 20-microservices platform module since the default domain pattern does not match the prod cert. Add encrypted SOPS config for the prod environment. * updated SOPS and softlink * skip environment protection for workflow_call * fix environment protection bypass using skip_protection input * Rename test job to unit-test in workflow (#1613) Co-authored-by: ryan-morosa <Ryan.Morosa@icf.com> * BB2-4781: Revoke prior tokens on new auth flow (#1605) * BB2-4781: Revoke prior tokens on new auth flow * Ensure token revocation only happens on v3 auth flows * Move the revocation of prior tokens to form_valid of AuthorizationView from post of TokenView. Revoke all previous tokens as the newest one will not have been created yet at that point * Address PR feedback, remove no longer needed test * Address feedback - use previously existing utils function * Fix typo * Add unit test coverage * Delete unit test yaml file * Try to run sequentially * Add some debugging steps * change some of the commands * Get rid of inspection * Get back to normal * added validation around code_challenge_method to reject non S256 values (#1599) * added validation around code_challenge_method to reject non S256 values * intermediate commit * Fix authorize POST param handling in code_challenge_method validation Agent-Logs-Url: https://github.com/CMSgov/bluebutton-web-server/sessions/ec2649c7-d427-4f59-ad18-098613b75e4e Co-authored-by: bwang-icf <178809349+bwang-icf@users.noreply.github.com> * Remove stale commented lines in authorization GET handler Agent-Logs-Url: https://github.com/CMSgov/bluebutton-web-server/sessions/ec2649c7-d427-4f59-ad18-098613b75e4e Co-authored-by: bwang-icf <178809349+bwang-icf@users.noreply.github.com> * cleanup of previous pkce setup * removing unnecessary error handling * adding updated tests with pkce params as part of enforcing pkce params on auth * adding extra tests for pkce param verification before login * removing unnecessary change for this pr * reverting code_challenge_method back to post_auth * removing invalid code challenge method printing --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: bwang-icf <178809349+bwang-icf@users.noreply.github.com> Co-authored-by: annamontare-nava <267455234+annamontare-nava@users.noreply.github.com> * Noor1027/bb2 4816 release notes missing last commit (#1616) * Bug fix publish-release.yml always drops the oldest commit from release notes * temp change to run GHA * Revert "temp change to run GHA" This reverts commit dae8864. * BB2-4675: Add SAMHSA checkbox to v3 permissions screen (#1607) * BB2-4675: Add SAMHSA checkbox to v3 permissions screen * Use cache.add instead of cache.set, modify default for code * Address PR feedback - add docstrings * Add a new table to track user SAMHSA preferences rather than use caching * Address PR feedback * Remove commented out line * Address copilot feedback * Convert share_samhsa_data to a BooleanField to make the code less confusing * Revert "BB2-4675: Add SAMHSA checkbox to v3 permissions screen (#1607)" (#1619) This reverts commit e1b0b7b. * BB2-4890 - Add Fargate pre-deploy migrations safety gate * Revert "BB2-4890 - Add Fargate pre-deploy migrations safety gate" This reverts commit ffc450b. * update sops values (#1617) Co-authored-by: James Demery <jamesdemery@navapbc.com> * BB2-4851: Update lodash (#1621) * BB2-4851: Update lodash * Fix new vulnerability that popped up * BB2-4845: Update libgnutls (#1618) * BB2-4845: Update libgnutls * Update bb-css Dockerfile * Update gnutls in mslsx Dockerfile * Revert file mode change * docs(contributor): contributors readme action update (#1624) * update contributors information * Trigger unit tests --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: James Demery <jamesdemery@navapbc.com> * BB2-4574: Run unit and integration tests with pytest (#1614) * BB2-4574: Install pytest-django and add .ini file * Add conftest.py file, skip one test file, add a fixture * Add pytest.mark.integration, update ini file * Ensure all unit and integration tests pass with pytest, update some docs * removed unneeded code from conftest.py * Update unit test command for GHA * Remove commented out code * Address most PR feedback - still have documentation updates to make * Update documentation to reflect latest * Add strict-markers to toml file * B2-4890 Add pre/post-deploy migration support to Fargate deploy workflow (#1623) * masking hostname and removed gates * Update run-manage-command.yml * updated task def * removed multiple env for confirm apporvals * Updated Gate Approval for Post deploy * Fix New Relic reporting 401, 403, and 405 errors in Fargate * Fix New Relic ignoring status codes by dynamically creating config file on startup --------- Co-authored-by: jimmyfagan <90421499+jimmyfagan@users.noreply.github.com> * upgrading with npm --legacy-peer-deps (#1626) * Change workflow to run on push to any branch * Try just one test * Update docker compose codebuild to have no volumes * Roll back to run all integration tests * change it to run integration tests with pytest * Add aws credentials setup * testing certs * catch OOM traceback * Update Makefile * masking for test * test with codebuild VPC updates * Target impl for integration tests * adding health to chek certs are exisit * See if integration tag is working properly * Change the github action to use pytest instead of the old way * Separate out ruff and unit test jobs * Change back to regular integration testing bfd test * Only collect the ones that are deselected to compare * Put the collected tests into a file * Upload collected tests as an artifact to compare locally * Show integration and deslected that weren't integration * try to get deselected test summary in gha * BB2-4675: v3 Permissions Screen SAMHSA Checkbox (#1620) * BB2-4675: Add SAMHSA checkbox to v3 permissions screen * Use cache.add instead of cache.set, modify default for code * Address PR feedback - add docstrings * Add a new table to track user SAMHSA preferences rather than use caching * Address PR feedback * Remove commented out line * Address copilot feedback * Convert share_samhsa_data to a BooleanField to make the code less confusing * Small changes to get it back to the way it was * Delete unit tests yml since it is absorbed by pr checks now * Ensure runnign with bfd sbx locally still works * Help consolidate some of the make file selenium building and running locally * Comment changes * Make test names plural * Ensure we use make integration-test in make file * Change it back to pytest command * Update pull request checks to ignore certain paths Added paths-ignore to pull request checks for docs and markdown files. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Ryan Morosa <Ryan.Morosa@icf.com> Co-authored-by: James Demery <jamesdemery@navapbc.com> Co-authored-by: annamontare-nava <267455234+annamontare-nava@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: jimmyfagan <90421499+jimmyfagan@users.noreply.github.com> Co-authored-by: noor1027 <noorulla@gmail.com> Co-authored-by: bwang-icf <Brandon.Wang@icf.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: bwang-icf <178809349+bwang-icf@users.noreply.github.com>
1 parent e039198 commit 2db879f

28 files changed

Lines changed: 417 additions & 301 deletions

.env.example

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ BB20_REMOTE_DEBUG_WAIT_ATTACH=false
77
SUPER_USER_NAME=root
88
SUPER_USER_PASSWORD=blue123
99
SUPER_USER_EMAIL=bluebutton@example.com
10-
## DB image migrations
11-
DB_MIGRATIONS=true
1210
## put a place holder Django secret
1311
DJANGO_SECRET_KEY=replace-me-with-real-secret
1412
# This value controls if some unit tests run that require being online.
Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
name: Pull Request Checks
2+
3+
on:
4+
pull_request:
5+
branches: [master]
6+
paths-ignore:
7+
- 'docs/**'
8+
- '*.md'
9+
workflow_dispatch:
10+
11+
jobs:
12+
ruff:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v4
18+
19+
- name: Install python dependencies
20+
run: |
21+
python3 -m venv venv
22+
source venv/bin/activate
23+
python3 -m pip install --upgrade pip setuptools wheel
24+
pip install -r requirements/requirements.dev.txt --no-deps --prefer-binary --require-hashes
25+
26+
- name: Run Ruff Linter
27+
run: |
28+
source venv/bin/activate
29+
ruff check
30+
31+
unit-tests:
32+
runs-on: ubuntu-latest
33+
34+
steps:
35+
- name: Checkout code
36+
uses: actions/checkout@v4
37+
38+
- name: Install python dependencies
39+
run: |
40+
python3 -m venv venv
41+
source venv/bin/activate
42+
python3 -m pip install --upgrade pip setuptools wheel
43+
pip install -r requirements/requirements.dev.txt --no-deps --prefer-binary --require-hashes
44+
45+
- name: Run Unit Tests
46+
run: |
47+
source venv/bin/activate
48+
pytest -m 'not integration'
49+
50+
integration-tests:
51+
needs: [ruff, unit-tests]
52+
env:
53+
AWS_REGION: us-east-1
54+
55+
permissions:
56+
id-token: write
57+
contents: read
58+
59+
# This will only run on test
60+
runs-on: codebuild-bb-test-web-server-${{ github.run_id }}-${{ github.run_attempt }}
61+
62+
steps:
63+
- name: Checkout Code
64+
uses: actions/checkout@v4
65+
66+
- name: Setup AWS credentials
67+
uses: ./.github/actions/setup-tofu
68+
with:
69+
environment: test
70+
non-prod-account: ${{ secrets.NON_PROD_ACCOUNT }}
71+
prod-account: ${{ secrets.PROD_ACCOUNT }}
72+
test-role-id: ${{ secrets.TEST_AWS_ROLE_ID_MASK }}
73+
prod-role-id: ${{ secrets.PROD_AWS_ROLE_ID_MASK }}
74+
75+
- name: Build BBAPI
76+
run: |
77+
cd ./ops/containers/bb-api
78+
make build-codebuild
79+
80+
- name: Start Stack
81+
run: |
82+
cd ./ops/containers/bb-api
83+
make run-codebuild
84+
85+
- name: Execute Integration Tests
86+
run: |
87+
cd ./ops/containers/bb-api
88+
make run-codebuild-integration
89+
90+
- name: Teardown Stack
91+
if: always()
92+
run: |
93+
cd ./ops/containers/bb-api
94+
make teardown-codebuild

.github/workflows/unit-tests.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

Makefile

Lines changed: 7 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,10 @@
1-
build-local:
2-
cd ops/containers ; make build-local ; cd ../..
1+
.PHONY: build-local build-local-no-cache run-local build-selenium \
2+
run-selenium-local reqs-install reqs-install-dev generate \
3+
generate-requirements migrate collectstatic \
4+
unit-test integration-test
35

4-
build-local-no-cache:
5-
cd ops/containers ; make build-local-no-cache ; cd ../..
6-
7-
run-local:
8-
cd ops/containers ; make run-local ; cd ../..
9-
10-
exec-web:
11-
cd ops/containers ; make exec-web ; cd ../..
12-
13-
build-selenium:
14-
cd ops/containers ; make build-selenium ; cd ../..
15-
16-
run-selenium:
17-
$(MAKE) -C ops/containers run-selenium-target-local
6+
build-local build-local-no-cache run-local build-selenium migrate collectstatic run-selenium-local:
7+
$(MAKE) -C ops/containers $@
188

199
reqs-install:
2010
pip install -r requirements/requirements.txt
@@ -23,16 +13,7 @@ reqs-install-dev:
2313
pip install -r requirements/requirements.dev.txt
2414

2515
generate generate-requirements:
26-
cd ops/containers ; make requirements ; cd ../..
27-
28-
retrieve-certs:
29-
cd ops/containers ; make retrieve-certs ; cd ../..
30-
31-
migrate:
32-
cd ops/containers ; make migrate ; cd ../..
33-
34-
collectstatic:
35-
cd ops/containers ; make collectstatic ; cd ../..
16+
$(MAKE) -C ops/containers requirements
3617

3718
unit-test:
3819
pytest -m 'not integration'

hhs_oauth_server/settings/base.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,9 @@
99
TARGET_ENV=(str, ''),
1010
)
1111

12-
environ.Env.read_env(os.path.join(BASE_DIR + '/ops/containers', '.env.local'))
13-
1412
TARGET_ENV = env('TARGET_ENV')
1513

16-
if TARGET_ENV == 'local':
17-
from hhs_oauth_server.settings.base_local import * # noqa
14+
if TARGET_ENV == 'local' or TARGET_ENV == 'codebuild':
15+
from hhs_oauth_server.settings.base_local import *
1816
else:
19-
from hhs_oauth_server.settings.base_ec2 import * # noqa
17+
from hhs_oauth_server.settings.base_ec2 import *

hhs_oauth_server/settings/base_local.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
1717

1818
# Take environment variables from .env.local file
19-
environ.Env.read_env(os.path.join(BASE_DIR + '/ops/container', '.env.local'))
19+
TARGET_ENV = env('TARGET_ENV')
20+
21+
environ.Env.read_env(os.path.join(BASE_DIR + '/ops/container', f'.env.{TARGET_ENV}'))
2022

2123
###############################################################################
2224
# DJANGO BASE SETTINGS
@@ -262,12 +264,7 @@
262264
},
263265
}
264266

265-
DATABASES = {
266-
'default': env.db(
267-
'DATABASES_CUSTOM',
268-
default=f'sqlite:///{BASE_DIR}/db.sqlite3',
269-
)
270-
}
267+
DATABASES = {'default': env.db('DATABASES_CUSTOM', default='sqlite:////tmp/db.sqlite3')} # type: ignore
271268

272269
# internationalization
273270
LANGUAGE_CODE = 'en'

hhs_oauth_server/settings/logging_it.py

Lines changed: 0 additions & 43 deletions
This file was deleted.

ops/containers/.env.local

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ AWS_SESSION_TOKEN=${AWS_SESSION_TOKEN}
2727
SUPER_USER_NAME=root
2828
SUPER_USER_PASSWORD=blue123
2929
SUPER_USER_EMAIL=bluebutton@example.com
30-
# We run migrations *always* when running locally
31-
DB_MIGRATIONS=true
3230
# This would be cryptographically secure in production.
3331
DJANGO_SECRET_KEY=replace-me-with-real-secret
3432

ops/containers/Makefile

Lines changed: 28 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,52 @@
1-
SHELL:=/bin/bash
2-
RELEASE_TAG?=TAG_NOT_SET
3-
bfd ?= "test"
4-
env ?= "local"
5-
auth ?= "live"
1+
SHELL := /bin/bash
2+
RELEASE_TAG ?= TAG_NOT_SET
3+
bfd ?= test
4+
env ?= local
5+
auth ?= live
6+
7+
.PHONY: css requirements build-local build-local-no-cache build-production run-local \
8+
migrate collectstatic run-selenium-local build-selenium
69

710
css:
8-
cd bb-css ; make build-local
9-
cd bb-css ; make run-local
11+
$(MAKE) -C bb-css build-local run-local
1012

1113
requirements:
12-
cd bb-requirements ; make clean
13-
cd bb-requirements ; make build-local
14-
cd bb-requirements ; make run-local
14+
$(MAKE) -C bb-requirements clean build-local run-local
1515

1616
build-local: css requirements
17-
cd mslsx ; make build-local
18-
cd bb-api ; make build-local
17+
$(MAKE) -C mslsx build-local
18+
$(MAKE) -C bb-api build-local
1919

2020
build-local-no-cache:
21-
cd bb-api ; make build-local-no-cache
21+
$(MAKE) -C bb-api build-local-no-cache
2222

2323
# This is speculative; not yet tested in production.
2424
build-production:
25-
echo "build"
26-
env="local" \
27-
bfd=${bfd} \
28-
docker build \
29-
--platform "linux/amd64" \
30-
--build-arg RELEASE_TAG="${RELEASE_TAG}" \
31-
--build-arg BUILD_TARGET="production" \
32-
--no-cache \
33-
-t bb:latest \
34-
-f bb-api/Dockerfile \
35-
.
25+
@echo "Building production..."
26+
env="local" bfd="$(bfd)" docker build \
27+
--platform "linux/amd64" \
28+
--build-arg RELEASE_TAG="$(RELEASE_TAG)" \
29+
--build-arg BUILD_TARGET="production" \
30+
--no-cache \
31+
-t bb:latest \
32+
-f bb-api/Dockerfile .
3633

3734
run-local:
38-
bfd="${bfd}" \
39-
env="${env}" \
40-
auth="${auth}" \
41-
TARGET_ENV="local" \
35+
bfd="$(bfd)" env="$(env)" auth="$(auth)" TARGET_ENV="local" \
4236
bash ./bb-api/scripts/external/prepare-environment.bash
4337

4438
migrate:
45-
MIGRATE=1 \
46-
bfd="test" \
47-
env="local" \
48-
TARGET_ENV="local" \
39+
MIGRATE=1 bfd="test" env="local" TARGET_ENV="local" \
4940
bash ./bb-api/scripts/external/prepare-environment.bash
5041

5142
collectstatic:
52-
COLLECTSTATIC=1 \
53-
bfd="test" \
54-
env="local" \
55-
TARGET_ENV="local" \
43+
COLLECTSTATIC=1 bfd="test" env="local" TARGET_ENV="local" \
5644
bash ./bb-api/scripts/external/prepare-environment.bash
5745

58-
run-selenium-target-local:
46+
run-selenium-local:
5947
@echo "Running Selenium: Local"
60-
$(MAKE) -C selenium run-selenium-target-local AUTH=$(auth)
48+
$(MAKE) -C selenium run-selenium-local AUTH="$(auth)" DEBUG="$(debug)"
6149

6250
build-selenium:
63-
@echo "Running Selenium: Local"
64-
cd selenium && make build-selenium
51+
@echo "Building Selenium..."
52+
$(MAKE) -C selenium build-selenium

0 commit comments

Comments
 (0)