|
@ -144,6 +144,7 @@ jobs: |
|
|
- name: Configure docker |
|
|
- name: Configure docker |
|
|
run: | |
|
|
run: | |
|
|
bash DINAR/workflow-files/configure-docker.sh ${{ secrets.DINAR_TOKEN || secrets.GITHUB_TOKEN }} |
|
|
bash DINAR/workflow-files/configure-docker.sh ${{ secrets.DINAR_TOKEN || secrets.GITHUB_TOKEN }} |
|
|
|
|
|
echo "::set-env name=PR_FILES::../../REPO" |
|
|
- name: Install python tools |
|
|
- name: Install python tools |
|
|
run: | |
|
|
run: | |
|
|
pip install plumbum PyGithub pyyaml |
|
|
pip install plumbum PyGithub pyyaml |
|
@ -158,6 +159,7 @@ jobs: |
|
|
ODOO_BASE_MODULES=$(docker inspect \ |
|
|
ODOO_BASE_MODULES=$(docker inspect \ |
|
|
--format '{{ index .Config.Labels "dinar.odoo.modules"}}' \ |
|
|
--format '{{ index .Config.Labels "dinar.odoo.modules"}}' \ |
|
|
dinar_odoo_1) |
|
|
dinar_odoo_1) |
|
|
|
|
|
echo "ODOO_BASE_MODULES=$ODOO_BASE_MODULES" |
|
|
|
|
|
|
|
|
# sets environment variables that available in next steps via $ {{ env.PR_... }} notation |
|
|
# sets environment variables that available in next steps via $ {{ env.PR_... }} notation |
|
|
cd REPO |
|
|
cd REPO |
|
@ -238,6 +240,7 @@ jobs: |
|
|
- name: Configure Docker |
|
|
- name: Configure Docker |
|
|
run: | |
|
|
run: | |
|
|
bash DINAR/workflow-files/configure-docker.sh ${{ secrets.DINAR_TOKEN || secrets.GITHUB_TOKEN }} |
|
|
bash DINAR/workflow-files/configure-docker.sh ${{ secrets.DINAR_TOKEN || secrets.GITHUB_TOKEN }} |
|
|
|
|
|
echo "::set-env name=PR_FILES::../../REPO" |
|
|
- name: Analyze PR |
|
|
- name: Analyze PR |
|
|
run: | |
|
|
run: | |
|
|
# sets environment variables that available in next steps via $ {{ env.PR_... }} notation |
|
|
# sets environment variables that available in next steps via $ {{ env.PR_... }} notation |
|
|