Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/10868 extract seatadjuster app (#25)
* [10802] Improve local runtime scripts Signed-off-by: Dennis Meister <dennis.meister@bosch.com> * [10802] Fix linting Signed-off-by: Dennis Meister <dennis.meister@bosch.com> * Create Skeleton app and extract seat-adjuster to sdk Signed-off-by: Dennis Meister <dennis.meister@bosch.com> * [11025/11031] fix GitHub workflow to support external contributors (#23) * fix: fix GitHub workflow to support external contributors * fix: update the name of the notice file * fix: rename deployment script to deploy_image_from_artifact.sh * fix: remove head_refs from all readonly jobs (#24) * [10802] Improve local runtime scripts (#17) * [10802] Improve local runtime scripts Signed-off-by: Dennis Meister <dennis.meister@bosch.com> * [10802] Fix linting Signed-off-by: Dennis Meister <dennis.meister@bosch.com> * [11025/11031] fix GitHub workflow to support external contributors (#23) * fix: fix GitHub workflow to support external contributors * fix: update the name of the notice file * fix: rename deployment script to deploy_image_from_artifact.sh * fix: remove head_refs from all readonly jobs (#24) * Change UTILS_DIRECTORY for consistency Signed-off-by: Dennis Meister <dennis.meister@bosch.com> Signed-off-by: Dennis Meister <dennis.meister@bosch.com> Co-authored-by: Ebrahim.A <ebrahim.ameen@bosch.com> * [10802] Improve local runtime scripts Signed-off-by: Dennis Meister <dennis.meister@bosch.com> * [10802] Fix linting Signed-off-by: Dennis Meister <dennis.meister@bosch.com> * Create Skeleton app and extract seat-adjuster to sdk Signed-off-by: Dennis Meister <dennis.meister@bosch.com> * Fix rebase issue Signed-off-by: Dennis Meister <dennis.meister@bosch.com> * Change log level of data received Signed-off-by: Dennis Meister <dennis.meister@bosch.com> * Bump version for sdk requirement Signed-off-by: Dennis Meister <dennis.meister@bosch.com> * Fix merge conflict Signed-off-by: Dennis Meister <dennis.meister@bosch.com> * Adapt to SDK pr findings Signed-off-by: Dennis Meister <dennis.meister@bosch.com> * Remove other examples beside seat-adjuster Signed-off-by: Dennis Meister <dennis.meister@bosch.com> * Remove AppManifest.json from root directory Signed-off-by: Dennis Meister <dennis.meister@bosch.com> * Add missing path change Signed-off-by: Dennis Meister <dennis.meister@bosch.com> * Fix unit tests in workflow Signed-off-by: Dennis Meister <dennis.meister@bosch.com> * Adapt import example app task Signed-off-by: Dennis Meister <dennis.meister@bosch.com> Signed-off-by: Dennis Meister <dennis.meister@bosch.com> Co-authored-by: Ebrahim.A <ebrahim.ameen@bosch.com>
- Loading branch information
1 parent
6d91042
commit 5e1df64
Showing
35 changed files
with
429 additions
and
521 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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/bin/bash | ||
# Copyright (c) 2022 Robert Bosch GmbH and Microsoft Corporation | ||
# | ||
# This program and the accompanying materials are made available under the | ||
# terms of the Apache License, Version 2.0 which is available at | ||
# https://www.apache.org/licenses/LICENSE-2.0. | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
# License for the specific language governing permissions and limitations | ||
# under the License. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
SDV_EXAMPLES_PATH="$(python -c 'import os,inspect,sdv; print(os.path.dirname(inspect.getfile(sdv)))')_examples" | ||
|
||
if [[ `git status --porcelain` ]]; then | ||
echo "####################### WARNING #######################" | ||
echo "#### Please commit or stash your changes before ####" | ||
echo "#### importing the example app. ####" | ||
echo "#### Otherwise all changes will be discarded! #### | ||
" | ||
echo "####################### WARNING #######################" | ||
else | ||
rm -rf app/ && cp -a $SDV_EXAMPLES_PATH/$@ app && pip install -r ./app/requirements.txt | ||
echo "#######################################################" | ||
echo "Successfully imported $@" | ||
echo "#######################################################" | ||
fi |
Oops, something went wrong.