Skip to content
Snippets Groups Projects
Commit f8f39ea3 authored by Yaroslav Lobankov's avatar Yaroslav Lobankov Committed by Yaroslav Lobankov
Browse files

ci: use targets from .pack.mk in workflows

NO_DOC=ci
NO_TEST=ci
NO_CHANGELOG=ci
parent d243b204
No related branches found
No related tags found
No related merge requests found
......@@ -10,12 +10,12 @@ runs:
export PACKPACK_EXTRA_DOCKER_RUN_PARAMS='--init'
# Create packages.
make -f .gitlab.mk package
make -f .pack.mk package
# Deploy live packages. Enabled only for 1.10 and 2.8 branches.
if ${{ github.ref == 'refs/heads/1.10' ||
github.ref == 'refs/heads/2.8' }}; then
REPO_TYPE=live make -f .gitlab.mk deploy
REPO_TYPE=live make -f .pack.mk deploy
fi
# Deploy pre-release (since 2.10) and release packages. It's expected
......@@ -26,11 +26,11 @@ runs:
case ${{ github.ref }} in
# It's relevant since 2.10 only.
refs/tags/*-alpha*|refs/tags/*-beta*|refs/tags/*-rc*)
REPO_TYPE=pre-release make -f .gitlab.mk deploy
REPO_TYPE=pre-release make -f .pack.mk deploy
;;
refs/tags/*)
REPO_TYPE=release make -f .gitlab.mk deploy
REPO_TYPE=release make -f .pack.mk deploy
;;
esac
fi
......
......@@ -32,7 +32,7 @@ concurrency:
cancel-in-progress: true
env:
CI_MAKE: make -f .gitlab.mk
CI_MAKE: make -f .pack.mk
jobs:
default_gcc_centos_7:
......
......@@ -43,7 +43,7 @@ jobs:
env:
MAKE_CHECK: false
PRESERVE_ENVVARS: 'MAKE_CHECK,${{ env.PRESERVE_ENVVARS }}'
run: make -f .gitlab.mk package
run: make -f .pack.mk package
- name: 'Upload build artifacts'
uses: actions/upload-artifact@v2
with:
......
......@@ -7,7 +7,7 @@ on:
workflow_dispatch:
env:
CI_MAKE: make -f .gitlab.mk
CI_MAKE: make -f .pack.mk
jobs:
source:
......@@ -30,7 +30,7 @@ jobs:
run: |
sudo apt-get -y update
sudo apt-get install -y awscli
${CI_MAKE} source_deploy
${CI_MAKE} source-deploy
- name: call action to send Telegram message on failure
env:
TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_CORE_TOKEN }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment