-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
55 changed files
with
2,178 additions
and
160 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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Copyright (c) 2023 Robert Bosch GmbH | ||
# | ||
# 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 | ||
|
||
name: update-velocitas-json | ||
description: Update the project's velocitas JSON. | ||
inputs: | ||
project_path: | ||
description: Path to the directory containing the Velocitas project | ||
required: true | ||
template_path: | ||
description: Path to a JSON file which will replace the .velocitas.json file. | ||
default: None | ||
runs: | ||
using: composite | ||
steps: | ||
- run: | | ||
COMMIT_REF=$GITHUB_SHA | ||
if [ "$GITHUB_EVENT_NAME" = "pull_request" ]; | ||
then | ||
echo "Running in context of a PR!" | ||
COMMIT_REF=$GITHUB_HEAD_REF | ||
fi | ||
if [ "${{ inputs.template_path }}" != "None" ]; then | ||
echo "Copying template file..." | ||
cp -f ${{ inputs.template_path }} ${{ inputs.project_path }}/.velocitas.json | ||
fi | ||
NEW_CONFIG="$(jq --arg COMMIT_REF "$COMMIT_REF" '.packages[0].version |= $COMMIT_REF' ${{ inputs.project_path }}/.velocitas.json)" | ||
echo "${NEW_CONFIG}" > ${{ inputs.project_path }}/.velocitas.json | ||
shell: bash |
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,3 +1,10 @@ | ||
# devenv-devcontainer-setup | ||
# Velocitas Package for DevContainer Setup | ||
|
||
Repo for Devcontainer Configuration and vehicle model generation on container startup. | ||
|
||
## Components in this package | ||
|
||
* [Basic Setup](./setup/README.md) | ||
* [gRPC Interface Support](./grpc-service-support/README.md) | ||
* [Vehicle Signal Interface Support](./vehicle-model-lifecycle/README.md) | ||
* [SDK Installer](./sdk-installer/README.md) |
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,5 @@ | ||
# gRPC Interface Support | ||
|
||
Extends Velocitas applications and services with the ability to describe a dependency to a gRPC service via its interface definition in a proto file. | ||
|
||
The component provides CLI exec targets which will generate service client SDKs for all dependent services which will be made available for the application to use via a simple factory interface. |
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 @@ | ||
git+https://github.com/eclipse-velocitas/velocitas-lib.git@v0.0.2 |
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,13 @@ | ||
# Copyright (c) 2023 Contributors to the Eclipse Foundation | ||
# | ||
# 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 |
Oops, something went wrong.