Skip to content

Commit

Permalink
Merge pull request #358 from nasa/develop
Browse files Browse the repository at this point in the history
Release 0.16.0
  • Loading branch information
marinagmoreira authored Dec 7, 2021
2 parents 7515c26 + 9757086 commit a9aa0a7
Show file tree
Hide file tree
Showing 592 changed files with 17,063 additions and 14,761 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Docker Image CI
name: Build and Test CI for Pull Requests

on:
push:
branches: [ 'master', 'develop' ]
pull_request:
branches: [ 'master', 'develop' ]

Expand All @@ -23,6 +21,7 @@ jobs:
--build-arg UBUNTU_VERSION=16.04
--build-arg ROS_VERSION=kinetic
--build-arg PYTHON=''
--build-arg REMOTE=ghcr.io/nasa
-t astrobee/astrobee:latest-ubuntu16.04

- name: Test code
Expand All @@ -45,6 +44,7 @@ jobs:
--build-arg UBUNTU_VERSION=18.04
--build-arg ROS_VERSION=melodic
--build-arg PYTHON=3
--build-arg REMOTE=ghcr.io/nasa
-t astrobee/astrobee:latest-ubuntu18.04

- name: Test code
Expand All @@ -67,6 +67,7 @@ jobs:
--build-arg UBUNTU_VERSION=20.04
--build-arg ROS_VERSION=noetic
--build-arg PYTHON=3
--build-arg REMOTE=ghcr.io/nasa
-t astrobee/astrobee:latest-ubuntu20.04

- name: Test code
Expand Down
100 changes: 100 additions & 0 deletions .github/workflows/ci_push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
name: Build, test and push packages CI

on:
push:
branches: [ 'develop' ]

jobs:

build-xenial:

runs-on: ubuntu-18.04

steps:
- uses: actions/checkout@v2

- name: Checkout submodule
run: git submodule update --init --depth 1 description/media

- name: Build code for Ubuntu 16
run: docker build . -f ./scripts/docker/astrobee.Dockerfile
--build-arg UBUNTU_VERSION=16.04
--build-arg ROS_VERSION=kinetic
--build-arg PYTHON=''
--build-arg REMOTE=ghcr.io/nasa
-t ghcr.io/${{ github.repository_owner }}/astrobee:latest-ubuntu16.04

- name: Test code
run: docker build . -f ./scripts/docker/test_astrobee.Dockerfile
--build-arg UBUNTU_VERSION=16.04
--build-arg REMOTE=ghcr.io/${{ github.repository_owner }}
-t astrobee:test-ubuntu16.04

- name: Log in to registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin

- name: Push Docker image
run: |
if [ "${{ github.repository_owner }}" = "nasa" ]; then docker push ghcr.io/${{ github.repository_owner }}/astrobee:latest-ubuntu16.04; fi;
build-bionic:

runs-on: ubuntu-18.04

steps:
- uses: actions/checkout@v2

- name: Checkout submodule
run: git submodule update --init --depth 1 description/media

- name: Build code for Ubuntu 18
run: docker build . -f ./scripts/docker/astrobee.Dockerfile
--build-arg UBUNTU_VERSION=18.04
--build-arg ROS_VERSION=melodic
--build-arg PYTHON=3
--build-arg REMOTE=ghcr.io/nasa
-t ghcr.io/${{ github.repository_owner }}/astrobee:latest-ubuntu18.04

- name: Test code
run: docker build . -f ./scripts/docker/test_astrobee.Dockerfile
--build-arg UBUNTU_VERSION=18.04
--build-arg REMOTE=ghcr.io/${{ github.repository_owner }}
-t astrobee:test-ubuntu18.04

- name: Log in to registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin

- name: Push Docker image
run: |
if [ "${{ github.repository_owner }}" = "nasa" ]; then docker push ghcr.io/${{ github.repository_owner }}/astrobee:latest-ubuntu18.04; fi;
build-focal:

runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v2

- name: Checkout submodule
run: git submodule update --init --depth 1 description/media

- name: Build code for Ubuntu 20
run: docker build . -f ./scripts/docker/astrobee.Dockerfile
--build-arg UBUNTU_VERSION=20.04
--build-arg ROS_VERSION=noetic
--build-arg PYTHON=3
--build-arg REMOTE=ghcr.io/nasa
-t ghcr.io/${{ github.repository_owner }}/astrobee:latest-ubuntu20.04

- name: Test code
run: docker build . -f ./scripts/docker/test_astrobee.Dockerfile
--build-arg UBUNTU_VERSION=20.04
--build-arg REMOTE=ghcr.io/${{ github.repository_owner }}
-t astrobee:test-ubuntu20.0

- name: Log in to registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin

- name: Push Docker image
run: |
if [ "${{ github.repository_owner }}" = "nasa" ]; then docker push ghcr.io/${{ github.repository_owner }}/astrobee:latest-ubuntu20.04; fi;
127 changes: 127 additions & 0 deletions .github/workflows/ci_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
name: Build, test and push packages CI

on:
push:
branches: [ 'release' ]

jobs:

build-xenial:

runs-on: ubuntu-18.04

steps:
- uses: actions/checkout@v2

- name: Checkout submodule
run: git submodule update --init --depth 1 description/media

- name: Build base for Ubuntu 16
run: docker build . -f ./scripts/docker/astrobee_base.Dockerfile
--build-arg UBUNTU_VERSION=16.04
--build-arg ROS_VERSION=kinetic
--build-arg PYTHON=''
-t astrobee/astrobee:base-latest-ubuntu16.04

- name: Build code for Ubuntu 16
run: docker build . -f ./scripts/docker/astrobee.Dockerfile
--build-arg UBUNTU_VERSION=16.04
--build-arg ROS_VERSION=kinetic
--build-arg PYTHON=''
-t astrobee/astrobee:latest-ubuntu16.04

- name: Test code
run: docker build . -f ./scripts/docker/test_astrobee.Dockerfile
--build-arg UBUNTU_VERSION=16.04
-t astrobee:test-ubuntu16.04

- name: Log in to registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin

- name: Push Docker image
run: |
export VERSION=`grep -w -m 1 "Release" RELEASE.md | awk '{print $3}'`
docker tag astrobee/astrobee:latest-base-ubuntu16.04 ghcr.io/${{ github.repository_owner }}/astrobee:latest-base-ubuntu16.04
docker push ghcr.io/${{ github.repository_owner }}/astrobee:latest-base-ubuntu16.04
docker tag astrobee/astrobee:latest-ubuntu16.04 ghcr.io/${{ github.repository_owner }}/astrobee:v${VERSION}-ubuntu16.04
docker push ghcr.io/${{ github.repository_owner }}/astrobee:v${VERSION}-ubuntu16.04
build-bionic:

runs-on: ubuntu-18.04

steps:
- uses: actions/checkout@v2

- name: Checkout submodule
run: git submodule update --init --depth 1 description/media

- name: Build base for Ubuntu 18
run: docker build . -f ./scripts/docker/astrobee_base.Dockerfile
--build-arg UBUNTU_VERSION=18.04
--build-arg ROS_VERSION=melodic
--build-arg PYTHON=''
-t astrobee/astrobee:base-latest-ubuntu18.04

- name: Build code for Ubuntu 18
run: docker build . -f ./scripts/docker/astrobee.Dockerfile
--build-arg UBUNTU_VERSION=18.04
--build-arg ROS_VERSION=melodic
--build-arg PYTHON=''
-t astrobee/astrobee:latest-ubuntu18.04

- name: Test code
run: docker build . -f ./scripts/docker/test_astrobee.Dockerfile
--build-arg UBUNTU_VERSION=18.04
-t astrobee:test-ubuntu18.04

- name: Log in to registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin

- name: Push Docker image
run: |
export VERSION=`grep -w -m 1 "Release" RELEASE.md | awk '{print $3}'`
docker tag astrobee/astrobee:latest-base-ubuntu18.04 ghcr.io/${{ github.repository_owner }}/astrobee:latest-base-ubuntu18.04
docker push ghcr.io/${{ github.repository_owner }}/astrobee:latest-base-ubuntu18.04
docker tag astrobee/astrobee:latest-ubuntu18.04 ghcr.io/${{ github.repository_owner }}/astrobee:v${VERSION}-ubuntu18.04
docker push ghcr.io/${{ github.repository_owner }}/astrobee:v${VERSION}-ubuntu18.04
build-focal:

runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v2

- name: Checkout submodule
run: git submodule update --init --depth 1 description/media

- name: Build base for Ubuntu 20
run: docker build . -f ./scripts/docker/astrobee_base.Dockerfile
--build-arg UBUNTU_VERSION=20.04
--build-arg ROS_VERSION=noetic
--build-arg PYTHON=3
-t astrobee/astrobee:base-latest-ubuntu20.04

- name: Build code for Ubuntu 20
run: docker build . -f ./scripts/docker/astrobee.Dockerfile
--build-arg UBUNTU_VERSION=20.04
--build-arg ROS_VERSION=noetic
--build-arg PYTHON=3
-t astrobee/astrobee:latest-ubuntu20.04

- name: Test code
run: docker build . -f ./scripts/docker/test_astrobee.Dockerfile
--build-arg UBUNTU_VERSION=20.04
-t astrobee:test-ubuntu20.04

- name: Log in to registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin

- name: Push Docker image
run: |
export VERSION=`grep -w -m 1 "Release" RELEASE.md | awk '{print $3}'`
docker tag astrobee/astrobee:latest-base-ubuntu20.04 ghcr.io/${{ github.repository_owner }}/astrobee:latest-base-ubuntu20.04
docker push ghcr.io/${{ github.repository_owner }}/astrobee:latest-base-ubuntu20.04
docker tag astrobee/astrobee:latest-ubuntu20.04 ghcr.io/${{ github.repository_owner }}/astrobee:v${VERSION}-ubuntu20.04
docker push ghcr.io/${{ github.repository_owner }}/astrobee:v${VERSION}-ubuntu20.04
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ arm_build_release
arm_build_debug
armhf
build_native
data
doc/html
doc/latex

Expand Down
Loading

0 comments on commit a9aa0a7

Please sign in to comment.