1. Add post into zuul. So we publish source package into tarballs. 2. Update submodule for skyline-console Change-Id: I799e5658d0aca588d4f6b5b6ebcca218e1ca57d6
43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
- hosts: all
|
|
tasks:
|
|
- name: Install poetry!=1.1.8
|
|
pip:
|
|
name: poetry!=1.1.8
|
|
become: yes
|
|
- name: Add node repo
|
|
command: curl --silent --location https://rpm.nodesource.com/setup_12.x | sudo bash -
|
|
become: yes
|
|
- name: Install nodejs
|
|
apt:
|
|
name: nodejs
|
|
update_cache: yes
|
|
become: yes
|
|
- name: Update nodejs version
|
|
shell:
|
|
executable: /bin/bash
|
|
cmd: |
|
|
npm install -g n
|
|
n stable
|
|
become: yes
|
|
- name: Add yarn repo
|
|
shell:
|
|
executable: /bin/bash
|
|
cmd: |
|
|
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
|
|
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
|
|
become: yes
|
|
- name: Install yarn
|
|
apt:
|
|
name: yarn
|
|
update_cache: yes
|
|
become: yes
|
|
|
|
- name: Build tarball and wheel
|
|
shell:
|
|
executable: /bin/bash
|
|
cmd: |
|
|
make install
|
|
make package
|
|
args:
|
|
chdir: "src/{{ zuul.project.canonical_name }}"
|
|
become: yes |