Skip to content

Commit

Permalink
testing pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
volkan-aslan committed Dec 21, 2023
1 parent 4b56b3a commit a27b4c5
Show file tree
Hide file tree
Showing 3 changed files with 102 additions and 69 deletions.
26 changes: 13 additions & 13 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,22 @@ RUN adduser --disabled-password $USER
WORKDIR $USER

# Copy Resources
COPY buildroot buildroot
COPY thunder thunder
COPY thunder-client-libraries thunder-client-libraries
COPY thunder-interfaces thunder-interfaces
COPY thunder-plugins thunder-plugins
COPY thunder-rdk-services thunder-rdk-services
COPY thunder-tools thunder-tools
#COPY buildroot buildroot
#COPY thunder thunder
#COPY thunder-client-libraries thunder-client-libraries
#COPY thunder-interfaces thunder-interfaces
#COPY thunder-plugins thunder-plugins
#COPY thunder-rdk-services thunder-rdk-services
#COPY thunder-tools thunder-tools

# Run Build
WORKDIR $USER/buildroot/
RUN echo WPEFRAMEWORK_OVERRIDE_SRCDIR=../thunder > local.mk
RUN echo WPEFRAMEWORK_CLIENTLIBRARIES_OVERRIDE_SRCDIR=../thunder-client-libraries >> local.mk
RUN echo WPEFRAMEWORK_INTERFACES_OVERRIDE_SRCDIR=../thunder-interfaces >> local.mk
RUN echo WPEFRAMEWORK_PLUGINS_OVERRIDE_SRCDIR=../thunder-plugins >> local.mk
RUN echo WPEFRAMEWORK_RDKSERVICES_OVERRIDE_SRCDIR=../thunder-rdk-services >> local.mk
RUN echo WPEFRAMEWORK_TOOLS_OVERRIDE_SRCDIR=../thunder-tools >> local.mk
#RUN echo WPEFRAMEWORK_OVERRIDE_SRCDIR=../thunder > local.mk
#RUN echo WPEFRAMEWORK_CLIENTLIBRARIES_OVERRIDE_SRCDIR=../thunder-client-libraries >> local.mk
#RUN echo WPEFRAMEWORK_INTERFACES_OVERRIDE_SRCDIR=../thunder-interfaces >> local.mk
#RUN echo WPEFRAMEWORK_PLUGINS_OVERRIDE_SRCDIR=../thunder-plugins >> local.mk
#RUN echo WPEFRAMEWORK_RDKSERVICES_OVERRIDE_SRCDIR=../thunder-rdk-services >> local.mk
#RUN echo WPEFRAMEWORK_TOOLS_OVERRIDE_SRCDIR=../thunder-tools >> local.mk

ENV FORCE_UNSAFE_CONFIGURE=1
RUN make raspberrypi3_wpe_defconfig
Expand Down
86 changes: 86 additions & 0 deletions ci/backup_pl
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
resources:
- name: buildroot
type: git
icon: github
source:
branch: Divya-test
uri: https://github.com/WebPlatformForEmbedded/buildroot/
password: ((service-account.access-token))

- name: thunder
type: git
icon: github
source:
uri: https://github.com/rdkcentral/Thunder/
password: ((service-account.access-token))

- name: thunder-client-libraries
type: git
icon: github
source:
uri: https://github.com/rdkcentral/ThunderClientLibraries
password: ((service-account.access-token))

- name: thunder-interfaces
type: git
icon: github
source:
uri: https://github.com/rdkcentral/ThunderInterfaces
password: ((service-account.access-token))

- name: thunder-plugins
type: git
icon: github
source:
uri: https://github.com/rdkcentral/ThunderNanoServices
password: ((service-account.access-token))

- name: thunder-rdk-services
type: git
icon: github
source:
uri: https://github.com/WebPlatformForEmbedded/ThunderNanoServicesRDK
password: ((service-account.access-token))

- name: thunder-tools
type: git
icon: github
source:
uri: https://github.com/rdkcentral/ThunderTools
password: ((service-account.access-token))

- name: buildroot-docker-image
type: docker-image
check_every: 72h
source:
repository: hub.comcast.net/tpx-metrological-embedded/rootfs
username: ((service-account.username))
password: ((service-account.password))

jobs:
- name: image-push
plan:
- get: buildroot
trigger: true
- get: thunder
trigger: true
- get: thunder-client-libraries
trigger: true
- get: thunder-interfaces
trigger: true
- get: thunder-plugins
trigger: true
- get: thunder-rdk-services
trigger: true
- get: thunder-tools
trigger: true
- put: buildroot-docker-image
params:
build: buildroot
tag_as_latest: true
build: thunder-client-libraries
build: thunder-interfaces
build: thunder-plugins
build: thunder-rdk-services
build: thunder-tools

59 changes: 3 additions & 56 deletions ci/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,74 +7,21 @@ resources:
uri: https://github.com/WebPlatformForEmbedded/buildroot/
password: ((service-account.access-token))

- name: thunder
type: git
icon: github
source:
uri: https://github.com/rdkcentral/Thunder/
password: ((service-account.access-token))

- name: thunder-client-libraries
type: git
icon: github
source:
uri: https://github.com/rdkcentral/ThunderClientLibraries
password: ((service-account.access-token))

- name: thunder-interfaces
type: git
icon: github
source:
uri: https://github.com/rdkcentral/ThunderInterfaces
password: ((service-account.access-token))

- name: thunder-plugins
type: git
icon: github
source:
uri: https://github.com/rdkcentral/ThunderNanoServices
password: ((service-account.access-token))

- name: thunder-rdk-services
type: git
icon: github
source:
uri: https://github.com/WebPlatformForEmbedded/ThunderNanoServicesRDK
password: ((service-account.access-token))

- name: thunder-tools
type: git
icon: github
source:
uri: https://github.com/rdkcentral/ThunderTools
password: ((service-account.access-token))

- name: buildroot-docker-image
type: docker-image
icon: docker
check_every: 72h
source:
repository: hub.comcast.net/tpx-metrological-embedded/rootfs
username: ((service-account.username))
password: ((service-account.password))

jobs:
- name: image-push
- name: build-rootfs
plan:
- get: buildroot
trigger: true
- get: thunder
trigger: true
- get: thunder-client-libraries
trigger: true
- get: thunder-interfaces
trigger: true
- get: thunder-plugins
trigger: true
- get: thunder-rdk-services
trigger: true
- get: thunder-tools
trigger: true
- put: buildroot-docker-image
params:
build: buildroot
image: output/images/rootfs.tar
tag_as_latest: true

0 comments on commit a27b4c5

Please sign in to comment.