Skip to content

Commit

Permalink
Merge pull request #602 from dgraeber/fix/sfn-rosbag
Browse files Browse the repository at this point in the history
fix deployspec export of metadata in rosbag-sfn
  • Loading branch information
dgraeber authored Nov 1, 2024
2 parents 58ea2d8 + 3a4f1da commit aa56f2c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- pin github action to hash instead of explicit version
- update to yolo11 object detection model
- fix `opensearch-tunnel` user data install script
- fix `analysis/rosbag-image-pipeline-sfn` to properly record metadata

### **Removed**

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: rip
path: modules/analysis/rosbag-image-pipeline-sfn
path: git::https://github.com/awslabs/autonomous-driving-data-framework.git//modules/analysis/rosbag-image-pipeline-sfn/?ref=release/3.7.1
parameters:
- name: vpc-id
valueFrom:
Expand Down
2 changes: 1 addition & 1 deletion modules/analysis/rosbag-image-pipeline-sfn/deployspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ deploy:
commands:
- cdk deploy --require-approval never --progress events --app "python app.py" --outputs-file ./cdk-exports.json
# Here we export some env vars
- export SEEDFARMER_MODULE_METADATA=$(python -c "import json; file=open('cdk-exports.json'); print(json.load(file)['addf-${SEEDFARMER_DEPLOYMENT_NAME}-${SEEDFARMER_MODULE_NAME}']['metadata'])") || true
- seedfarmer metadata convert -f cdk-exports.json || true
- export EMR_DIR="emr-scripts"
- wget -O $EMR_DIR/spark-dynamodb_2.12-1.1.1.jar https://repo1.maven.org/maven2/com/audienceproject/spark-dynamodb_2.12/1.1.1/spark-dynamodb_2.12-1.1.1.jar
- aws s3 cp --recursive $EMR_DIR/ s3://$SEEDFARMER_PARAMETER_ARTIFACTS_BUCKET_NAME/$EMR_DIR/
Expand Down

0 comments on commit aa56f2c

Please sign in to comment.