Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
11 changes: 9 additions & 2 deletions .github/workflows/calibration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Build Lambda Docker Image
run: |
# Define the repository and branch dynamically
Expand All @@ -21,7 +22,7 @@ jobs:
echo "Branch URL: $BRANCH_URL"

# Clone the Lambda function repository
git clone https://github.com/HERMES-SOC/sdc_aws_processing_lambda.git ../sdc_aws_processing_lambda
git clone https://github.com/swxsoc/sdc_aws_processing_lambda.git ../sdc_aws_processing_lambda
cd ../sdc_aws_processing_lambda/lambda_function

# Define mission name & instrument name from the repository name
Expand All @@ -45,6 +46,12 @@ jobs:
# Remove any previous entries for instrument package and add the new branch URL as the first entry
sed -i "/${PACKAGE_NAME}/d" $REQUIREMENTS_FILE
sed -i "1i ${PACKAGE_NAME} @ $BRANCH_URL" $REQUIREMENTS_FILE

# padre_craft currently pins padre_meddea to PADRESat/main in its own dependency list.
# For padre_meddea PR validation, remove padre_craft to avoid resolver conflicts.
if [[ "$PACKAGE_NAME" == "padre_meddea" ]]; then
sed -i '/^padre_craft[[:space:]]*@/d' $REQUIREMENTS_FILE
fi

echo "Updated $REQUIREMENTS_FILE:"
cat $REQUIREMENTS_FILE
Expand Down Expand Up @@ -129,7 +136,7 @@ jobs:

- name: Comment PR
if: steps.test-lambda.outputs.test_success == 'true' && github.event_name == 'pull_request_target'
uses: thollander/actions-comment-pull-request@v2
uses: andyghc/actions-comment-pull-request@v3
with:
message: |
The processed files are available as an artifact: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}/artifacts/${{ steps.artifact-upload-step.outputs.artifact-id }}
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ readme = "README.rst"
dynamic = ["version"]
authors = [
{name = "Steven Christe", email="steven.christe@nasa.gov"},
{name = "Andrew Robbertz", email="a.robbertz@gmail.com"},
{name = "Andrew Robbertz", email="andrew.l.robbertz@nasa.gov"},
{name = "Damian Barrous-Dume", email="dbarrous@navteca.com"},
{name = "Niharika Godbole", email="niharika.godbole@nasa.gov"},
]
Expand Down Expand Up @@ -37,7 +37,7 @@ dependencies = [
'matplotlib==3.10.*',
'swxsoc @ git+https://github.com/swxsoc/swxsoc.git@main',
'gitpython==3.1.*',
'solarnet_metadata @ git+https://github.com/IHDE-Alliance/solarnet_metadata.git@solarnet_metadata_package',
'solarnet_metadata',
]

[project.optional-dependencies]
Expand Down
Loading