Merge "Switch back to using git for the agent ref"
This commit is contained in:
commit
0a85de4c6d
|
@ -16,6 +16,9 @@ $AMP_VENV/bin/pip install pip --upgrade
|
|||
|
||||
$AMP_VENV/bin/pip install -U -c /opt/upper-constraints.txt /opt/amphora-agent
|
||||
|
||||
# Let's capture the git reference we installed in the venv
|
||||
git --git-dir=/opt/amphora-agent/.git rev-parse HEAD >> /opt/amphora-agent.gitref
|
||||
|
||||
# Workaround https://github.com/svinota/pyroute2/issues/724
|
||||
# TODO(johnsom) Remove once a that is resolved and 0.5.13 has been blocked in
|
||||
# global requirements.
|
||||
|
|
|
@ -9,7 +9,6 @@ set -o pipefail
|
|||
|
||||
[ "${DIB_INSTALLTYPE_amphora_agent:-}" = "package" ] && exit 0
|
||||
|
||||
awk 'FNR == 1 {print $1}' /opt/amphora-agent/.git/logs/HEAD >> /opt/amphora-agent.gitref
|
||||
rm -rf /opt/amphora-agent
|
||||
|
||||
case $DISTRO_NAME in
|
||||
|
|
Loading…
Reference in New Issue