-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into app-pack-build-service-integration
- Loading branch information
Showing
6 changed files
with
59 additions
and
46 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,12 +7,12 @@ name: Unity-sds-client Python Build | |
# Run on an PR if it includes unity-py changes OR if the schema in health are changed. | ||
on: | ||
push: | ||
branches: | ||
branches: | ||
- main | ||
paths: | ||
paths: | ||
- 'libs/unity-py/**' | ||
pull_request: | ||
branches: | ||
branches: | ||
- main | ||
paths: | ||
- 'libs/unity-py/**' | ||
|
@@ -49,7 +49,7 @@ jobs: | |
src: | ||
- 'libs/unity-py/**' | ||
- name: Software Version Check | ||
if: steps.filter.outputs.src == 'true' | ||
if: steps.changes.outputs.src == 'true' | ||
run: | | ||
unity_py_proposed_version=`poetry version -s` | ||
echo "curl -s -o /dev/null -w \"%{http_code}\" https://pypi.org/project/unity-sds-client/$unity_py_proposed_version/" | ||
|
@@ -79,12 +79,12 @@ jobs: | |
UNITY_USER: '${{ secrets.UNITY_TEST_USER }}' | ||
UNITY_PASSWORD: '${{ secrets.UNITY_TEST_PASSWORD }}' | ||
run: | | ||
poetry run pytest --cov-report=lcov --cov=unity_sds_client -o log_cli=true --log-cli-level=DEBUG | ||
poetry run pytest --cov-report=lcov --cov=unity_sds_client -o log_cli=true --log-cli-level=DEBUG | ||
- name: Coveralls | ||
uses: coverallsapp/[email protected] | ||
version: | ||
needs: build | ||
if: github.ref == 'refs/heads/main' && github.event_name == 'push' | ||
if: github.ref == 'refs/heads/main' && github.event_name == 'push' | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
|
@@ -99,12 +99,12 @@ jobs: | |
uses: abatilo/[email protected] | ||
with: | ||
poetry-version: "1.5.1" | ||
# Commented out the version bump code. Will publish new unity-py version to pypi on push to main. | ||
# Commented out the version bump code. Will publish new unity-py version to pypi on push to main. | ||
# This means we are always releasing. This will fail if the version already exists in Pypi. | ||
# We must ensure that the version has been updated. | ||
# ADded version check above. | ||
# Future work: set PR test to ensure the version has been updated. | ||
|
||
# - name: version-bump | ||
# run: | | ||
# poetry version prerelease | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,14 @@ | ||
[DEV] | ||
client_id = 40c2s0ulbhp9i0fmaph3su9jch | ||
auth_endpoint = https://cognito-idp.us-west-2.amazonaws.com | ||
unity_href = https://d3vc8w9zcq658.cloudfront.net/ | ||
unity_href = https://api.dev.mdps.mcp.nasa.gov/ | ||
|
||
[TEST] | ||
client_id = 71894molftjtie4dvvkbjeard0 | ||
auth_endpoint = https://cognito-idp.us-west-2.amazonaws.com | ||
unity_href = https://dxebrgu0bc9w7.cloudfront.net/ | ||
unity_href = https://api.test.mdps.mcp.nasa.gov/ | ||
|
||
[PROD] | ||
client_id = 7vehllplbone6p4usqgutqun35 | ||
auth_endpoint = https://cognito-idp.us-west-2.amazonaws.com | ||
unity_href = https://d2zjsabg0fonik.cloudfront.net/ | ||
|
||
;[APPLICATIONS] | ||
; | ||
; | ||
;[DATA] | ||
;dapa_endpoint = https://58nbcawrvb.execute-api.us-west-2.amazonaws.com/test/ | ||
; | ||
;[SPS] | ||
;sps_endpoint = http://a22b9d7b66df24e6fb3326ecd4cb0614-676486270.us-west-2.elb.amazonaws.com:5001/ | ||
unity_href = https://api.mdps.mcp.nasa.gov/ |
This file contains 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