From 26a0e85f40100b1aa8a2ae43900210a601d30be9 Mon Sep 17 00:00:00 2001 From: "zhu.boxiang" Date: Fri, 8 Oct 2021 18:29:48 +0800 Subject: [PATCH] Fix: Reuse nvm.sh before run yarn 1. Reuse nvm.sh before run yarn 2. Move all tar.gz and whell packages into dist under skyline-apiserver Change-Id: I423b174d19e067eeb16cf4e3a8a51771468c1e4b --- playbooks/python-tarball/run.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/playbooks/python-tarball/run.yaml b/playbooks/python-tarball/run.yaml index 40b1038..9352cd2 100644 --- a/playbooks/python-tarball/run.yaml +++ b/playbooks/python-tarball/run.yaml @@ -22,6 +22,19 @@ executable: /bin/bash cmd: | git submodule update --init + . $HOME/.nvm/nvm.sh $HOME/.local/bin/tox -e package args: chdir: "src/{{ zuul.project.canonical_name }}" + - name: Move all tar.gz and wheel packages into dist + shell: "mv libs/{{ item }}/dist/* dist/" + args: + chdir: "src/{{ zuul.project.canonical_name }}" + with_items: + - "skyline-apiserver" + - "skyline-config" + - "skyline-console" + - "skyline-log" + - "skyline-nginx" + - "skyline-policy-manager" +