Skip to content
This repository has been archived by the owner on Jan 13, 2020. It is now read-only.
/ accelpy Public archive

Commit

Permalink
1.0.0-beta.26
Browse files Browse the repository at this point in the history
  • Loading branch information
JGoutin committed Sep 23, 2019
1 parent 14d02e5 commit c25e0de
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 18 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ services: docker
dist: xenial

python:
- "3.6"
- "3.7"

install:
Expand Down
2 changes: 1 addition & 1 deletion accelpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
See the License for the specific language governing permissions and
limitations under the License.
"""
__version__ = '1.0.0-beta.25'
__version__ = '1.0.0-beta.26'
__copyright__ = "Copyright 2019 Accelize"
__licence__ = "Apache 2.0"

Expand Down
14 changes: 0 additions & 14 deletions accelpy/_ansible/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,3 @@
become: true
vars_files:
- common.user_override.yml

pre_tasks:

- name: Accelize DRM, Move credential appuser home if service is disabled
set_fact: accelize_drm_cred_dst="/home/appuser/.accelize_drm/cred.json"
when: accelize_drm_disabled | bool

- name: Driver, force provider required driver over application driver
set_fact: fpga_driver="{{ provider_required_driver }}"
when: provider_required_driver is defined

- name: Driver, pass XRT version only if specified (Else use role default)
set_fact: xilinx_xrt_version="{{ fpga_driver_version }}"
when: fpga_driver_version is defined
6 changes: 6 additions & 0 deletions accelpy/_ansible/roles/common.init/meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ dependencies:
ssh_allow_users: "{{ ansible_user }}"
when: ssh_hardening | bool

# Kernel selection
- role: 'accelize.linux_kernel'
vars:
kernel_version: "{{ linux_kernel_version }}"
when: linux_kernel_version is defined

# System reboot
- role: common.reboot_system

Expand Down
12 changes: 12 additions & 0 deletions accelpy/_ansible/roles/common.init_system/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,15 @@
groups: fpgauser
append: true
create_home: true

- name: Accelize DRM, Move credential appuser home if service is disabled
set_fact: accelize_drm_cred_dst="/home/appuser/.accelize_drm/cred.json"
when: accelize_drm_disabled | bool

- name: Driver, force provider required driver over application driver
set_fact: fpga_driver="{{ provider_required_driver }}"
when: provider_required_driver is defined

- name: Driver, pass XRT version only if specified (Else use role default)
set_fact: xilinx_xrt_version="{{ fpga_driver_version }}"
when: fpga_driver_version is defined
4 changes: 2 additions & 2 deletions container_base/centos_7-aws_f1.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ export AWS_FPGA_RELEASE=$(curl -s https://api.github.com/repos/aws/aws-fpga/rele
curl -L https://github.com/aws/aws-fpga/archive/$AWS_FPGA_RELEASE.tar.gz | tar xz -C /tmp/aws-fpga --strip-components=1 && \
source /tmp/aws-fpga/sdk_setup.sh && \
yum erase -y sudo && \
yum install -y https://s3.amazonaws.com/aws-fpga-developer-ami/1.6.0/Patches/XRT_2018_3_RC3_Patch2/xrt_201830.2.1.0_7.6.1810-xrt.rpm && \
yum install -y https://s3.amazonaws.com/aws-fpga-developer-ami/1.6.0/Patches/XRT_2018_3_RC3_Patch2/xrt_201830.2.1.0_7.6.1810-aws.rpm && \
yum install -y https://s3.amazonaws.com/aws-fpga-developer-ami/1.7.0/Patches/XRT_2019_1_RC2/xrt_201910.2.2.0_7.6.1810-xrt.rpm && \
yum install -y https://s3.amazonaws.com/aws-fpga-developer-ami/1.7.0/Patches/XRT_2019_1_RC2/xrt_201910.2.2.0_7.6.1810-aws.rpm && \
rm -rf /tmp/* && \
rm -rf /var/cache/yum/* && \
groupadd -g 1001 fpgauser && \
Expand Down

0 comments on commit c25e0de

Please sign in to comment.