Skip to content

Commit

Permalink
Merge pull request #1 from colin-pm/develop
Browse files Browse the repository at this point in the history
Added Tests
  • Loading branch information
Colin McAllister authored Dec 30, 2020
2 parents 9c23575 + f061e19 commit d7724b4
Show file tree
Hide file tree
Showing 19 changed files with 69 additions and 7 deletions.
2 changes: 2 additions & 0 deletions centos/centos_7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ RUN yum install -y epel-release \
SDL-devel \
xterm \
mesa-libGL-devel \
openssh-server \
openssh-clients \
&& pip3 install GitPython jinja2 \
&& useradd -ms /bin/bash yocto \
&& printf "yocto:yocto" | chpasswd \
Expand Down
6 changes: 6 additions & 0 deletions centos/centos_7/docker-compose.test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
sut:
build: .
command: /bin/bash -c "
git clone git://git.yoctoproject.org/poky
&& source poky/oe-init-build-env
&& bitbake --dry-run core-image-minimal"
2 changes: 2 additions & 0 deletions centos/centos_8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ RUN dnf install -y 'dnf-command(config-manager)' \
rpcgen \
mesa-libGL-devel \
glibc-langpack-en \
openssh-server \
openssh-clients \
&& useradd -ms /bin/bash yocto \
&& printf "yocto:yocto" | chpasswd \
&& printf "yocto ALL= NOPASSWD: ALL\\n" >> /etc/sudoers \
Expand Down
6 changes: 6 additions & 0 deletions centos/centos_8/docker-compose.test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
sut:
build: .
command: /bin/bash -c "
git clone git://git.yoctoproject.org/poky
&& source poky/oe-init-build-env
&& bitbake --dry-run core-image-minimal"
1 change: 1 addition & 0 deletions debian/debian_10/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ RUN apt-get clean \
xterm \
python3-subunit \
mesa-common-dev \
openssh-server \
&& useradd -ms /bin/bash yocto \
&& printf "yocto:yocto" | chpasswd \
&& adduser yocto sudo \
Expand Down
6 changes: 6 additions & 0 deletions debian/debian_10/docker-compose.test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
sut:
build: .
command: /bin/bash -c "
git clone git://git.yoctoproject.org/poky
&& source poky/oe-init-build-env
&& bitbake --dry-run core-image-minimal"
1 change: 1 addition & 0 deletions debian/debian_9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ RUN apt-get clean \
xterm \
python3-subunit \
mesa-common-dev \
openssh-server \
&& useradd -ms /bin/bash yocto \
&& printf "yocto:yocto" | chpasswd \
&& adduser yocto sudo \
Expand Down
6 changes: 6 additions & 0 deletions debian/debian_9/docker-compose.test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
sut:
build: .
command: /bin/bash -c "
git clone git://git.yoctoproject.org/poky
&& source poky/oe-init-build-env
&& bitbake --dry-run core-image-minimal"
4 changes: 3 additions & 1 deletion fedora/fedora_31/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ RUN dnf -y update \
SDL-devel \
xterm \
rpcgen \
mesa-libGL-devel\
mesa-libGL-devel \
openssh-server \
openssh-clients \
&& useradd -ms /bin/bash yocto \
&& printf "yocto:yocto" | chpasswd \
&& printf "yocto ALL= NOPASSWD: ALL\\n" >> /etc/sudoers \
Expand Down
6 changes: 6 additions & 0 deletions fedora/fedora_31/docker-compose.test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
sut:
build: .
command: /bin/bash -c "
git clone git://git.yoctoproject.org/poky
&& source poky/oe-init-build-env
&& bitbake --dry-run core-image-minimal"
4 changes: 3 additions & 1 deletion fedora/fedora_32/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ RUN dnf -y update \
SDL-devel \
xterm \
rpcgen \
mesa-libGL-devel\
mesa-libGL-devel \
openssh-server \
openssh-clients \
&& useradd -ms /bin/bash yocto \
&& printf "yocto:yocto" | chpasswd \
&& printf "yocto ALL= NOPASSWD: ALL\\n" >> /etc/sudoers \
Expand Down
6 changes: 6 additions & 0 deletions fedora/fedora_32/docker-compose.test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
sut:
build: .
command: /bin/bash -c "
git clone git://git.yoctoproject.org/poky
&& source poky/oe-init-build-env
&& bitbake --dry-run core-image-minimal"
5 changes: 0 additions & 5 deletions test.sh

This file was deleted.

1 change: 1 addition & 0 deletions ubuntu/ubuntu_16/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ RUN apt-get -qq update \
xterm \
python3-subunit \
mesa-common-dev \
openssh-server \
&& useradd -ms /bin/bash yocto \
&& printf "yocto:yocto" | chpasswd \
&& adduser yocto sudo \
Expand Down
6 changes: 6 additions & 0 deletions ubuntu/ubuntu_16/docker-compose.test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
sut:
build: .
command: /bin/bash -c "
git clone git://git.yoctoproject.org/poky
&& source poky/oe-init-build-env
&& bitbake --dry-run core-image-minimal"
1 change: 1 addition & 0 deletions ubuntu/ubuntu_18/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ RUN apt-get -qq update \
xterm \
python3-subunit \
mesa-common-dev \
openssh-server \
&& useradd -ms /bin/bash yocto \
&& printf "yocto:yocto" | chpasswd \
&& adduser yocto sudo \
Expand Down
6 changes: 6 additions & 0 deletions ubuntu/ubuntu_18/docker-compose.test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
sut:
build: .
command: /bin/bash -c "
git clone git://git.yoctoproject.org/poky
&& source poky/oe-init-build-env
&& bitbake --dry-run core-image-minimal"
1 change: 1 addition & 0 deletions ubuntu/ubuntu_20/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ RUN apt-get -qq update \
xterm \
python3-subunit \
mesa-common-dev \
openssh-server \
&& useradd -ms /bin/bash yocto \
&& printf "yocto:yocto" | chpasswd \
&& adduser yocto sudo \
Expand Down
6 changes: 6 additions & 0 deletions ubuntu/ubuntu_20/docker-compose.test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
sut:
build: .
command: /bin/bash -c "
git clone git://git.yoctoproject.org/poky
&& source poky/oe-init-build-env
&& bitbake --dry-run core-image-minimal"

0 comments on commit d7724b4

Please sign in to comment.