-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from sonia-auv/develop
Develop
- Loading branch information
Showing
81 changed files
with
394 additions
and
196 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
blank_issues_enabled: false | ||
# TODO: enter appropriate contacts | ||
""" | ||
|
||
contact_links: | ||
- name: GitHub Community Forum | ||
url: https://github.community/ | ||
about: Please ask and answer questions here. | ||
- name: GitHub Security Bug Bounty | ||
url: https://bounty.github.com/ | ||
about: Please report security vulnerabilities here. | ||
""" | ||
- name: SONIA AUV official documentation | ||
url: https://wiki.sonia.etsmtl.ca/ | ||
about: Visit our documentation for more information. | ||
- name: SONIA AUV website | ||
url: https://sonia.etsmtl.ca/ | ||
about: Visit our website and feel free to ask any questions. |
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,75 @@ | ||
name: Docker Image CI - Fix Branch | ||
|
||
on: | ||
push: | ||
branches: [fix/**] | ||
|
||
jobs: | ||
build-ros-perception-x86-64: | ||
name: "Build ROS perception X86/64" | ||
runs-on: ubuntu-latest | ||
env: | ||
BASE_IMAGE: "docker.pkg.github.com/sonia-auv/sonia_common/sonia_common:x86-perception-latest" | ||
ARCH: x86 | ||
TARGET_TYPE: perception | ||
TARGET_VERSION: fix | ||
IMAGE_NAME: provider_vision | ||
GITHUB_REMOTE_URL: docker.pkg.github.com/${{ github.repository }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Login to Github Package Registry | ||
run: | | ||
echo "${{ secrets.GITHUB_TOKEN }}" | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin | ||
- name: Build the docker image (perception based) | ||
run: | | ||
docker build . --tag build-fix-${GITHUB_REF##*/}-${GITHUB_RUN_NUMBER} --build-arg BUILD_DATE=$(date '+%Y-%m-%d_%H:%M:%S') --build-arg VERSION=${GITHUB_REF##*/}-$(date ' +%Y-%m-%d_%H:%M:%S') --build-arg BASE_IMAGE=${BASE_IMAGE} --build-arg TARGET_ARCH=${ARCH} | ||
- name: Create Docker Image Tag | ||
run: | | ||
docker tag build-fix-${GITHUB_REF##*/}-${GITHUB_RUN_NUMBER} ${GITHUB_REMOTE_URL}/${IMAGE_NAME}:${ARCH}-${TARGET_TYPE}-${TARGET_VERSION}-${GITHUB_REF##*/} | ||
- name: Push Image to Github Packages Registry | ||
run: | | ||
docker push --all-tags ${GITHUB_REMOTE_URL}/${IMAGE_NAME} | ||
build-ros-perception-arm64: | ||
name: "Build ROS perception AMR64" | ||
runs-on: ubuntu-latest | ||
env: | ||
BASE_IMAGE: "docker.pkg.github.com/sonia-auv/sonia_common/sonia_common:arm64-perception-latest" | ||
ARCH: arm64 | ||
TARGET_TYPE: perception | ||
TARGET_VERSION: fix | ||
IMAGE_NAME: provider_vision | ||
GITHUB_REMOTE_URL: docker.pkg.github.com/${{ github.repository }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Login to Github Package Registry | ||
run: | | ||
echo "${{ secrets.GITHUB_TOKEN }}" | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin | ||
- name: Enable Docker Daemon Experimental features | ||
run: | | ||
sudo rm /etc/docker/daemon.json | ||
echo '{"experimental": true , "cgroup-parent": "/actions_job" }' | sudo tee -a /etc/docker/daemon.json | ||
sudo service docker restart | ||
docker version | ||
- name: Install QEMU to be able to compile on X86 into ARM64 | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install qemu binfmt-support qemu-user-static | ||
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes | ||
- name: Build the docker image (perception based) | ||
run: | | ||
docker build . --tag build-fix-${GITHUB_REF##*/}-${GITHUB_RUN_NUMBER} --build-arg BUILD_DATE=$(date '+%Y-%m-%d_%H:%M:%S') --build-arg VERSION=${GITHUB_REF##*/}-$(date ' +%Y-%m-%d_%H:%M:%S') --build-arg BASE_IMAGE=${BASE_IMAGE} --build-arg TARGET_ARCH=${ARCH} | ||
docker inspect build-fix-${GITHUB_REF##*/}-${GITHUB_RUN_NUMBER} | ||
- name: Create Docker Image Tag | ||
run: | | ||
docker tag build-fix-${GITHUB_REF##*/}-${GITHUB_RUN_NUMBER} ${GITHUB_REMOTE_URL}/${IMAGE_NAME}:${ARCH}-${TARGET_TYPE}-${TARGET_VERSION}-${GITHUB_REF##*/} | ||
- name: Push Image to Github Packages Registry | ||
run: | | ||
docker push --all-tags ${GITHUB_REMOTE_URL}/${IMAGE_NAME} | ||
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
Binary file not shown.
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,2 +1,8 @@ | ||
Y | ||
yes | ||
Y | ||
sonia | ||
|
||
|
||
|
||
|
Oops, something went wrong.