Skip to content

Commit

Permalink
added repos files to vcs imports
Browse files Browse the repository at this point in the history
Signed-off-by: Esteve Fernandez <[email protected]>
  • Loading branch information
esteve committed Feb 18, 2025
1 parent 4dd0637 commit d4ad1df
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/actions/docker-build-and-push/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ runs:
run: |
mkdir src
vcs import src < autoware.repos
vcs import src < extra-packages.repos
shell: bash

- name: Setup Docker Buildx
Expand Down
1 change: 1 addition & 0 deletions .github/actions/docker-build/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ runs:
run: |
mkdir src
vcs import src < autoware.repos
vcs import src < extra-packages.repos
shell: bash

- name: Import additional repositories
Expand Down
6 changes: 4 additions & 2 deletions docker/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,12 @@ clone_repositories() {
cd "$WORKSPACE_ROOT"
if [ ! -d "src" ]; then
mkdir -p src
vcs import src <autoware.repos
vcs import src < autoware.repos
vcs import src < extra-packages.repos
else
echo "Source directory already exists. Updating repositories..."
vcs import src <autoware.repos
vcs import src < autoware.repos
vcs import src < extra-packages.repos
vcs pull src
fi
}
Expand Down

0 comments on commit d4ad1df

Please sign in to comment.