usage of install_functions_debian/alpine.sh
This commit is contained in:
parent
d2a3e60edf
commit
5b5249eb55
7 changed files with 23 additions and 24 deletions
|
@ -4,14 +4,14 @@ stages:
|
||||||
- image
|
- image
|
||||||
|
|
||||||
.py: &py
|
.py: &py
|
||||||
image: "domaindrivenarchitecture/ddadevops-python:4.10.0"
|
image: "domaindrivenarchitecture/ddadevops-python:4.10.2"
|
||||||
before_script:
|
before_script:
|
||||||
- export RELEASE_ARTIFACT_TOKEN=$MEISSA_REPO_BUERO_RW
|
- export RELEASE_ARTIFACT_TOKEN=$MEISSA_REPO_BUERO_RW
|
||||||
- python --version
|
- python --version
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
|
|
||||||
.img: &img
|
.img: &img
|
||||||
image: "domaindrivenarchitecture/ddadevops-dind:4.10.0"
|
image: "domaindrivenarchitecture/ddadevops-dind:4.10.2"
|
||||||
services:
|
services:
|
||||||
- docker:dind
|
- docker:dind
|
||||||
before_script:
|
before_script:
|
||||||
|
|
|
@ -44,5 +44,5 @@ function checksum() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
source /tmp/install_functions.sh
|
source /tmp/install_functions_debian.sh
|
||||||
DEBIAN_FRONTEND=noninteractive DEBCONF_NOWARNINGS=yes main
|
DEBIAN_FRONTEND=noninteractive DEBCONF_NOWARNINGS=yes main
|
|
@ -54,5 +54,5 @@ function checksum() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
source /tmp/install_functions.sh
|
source /tmp/install_functions_debian.sh
|
||||||
DEBIAN_FRONTEND=noninteractive DEBCONF_NOWARNINGS=yes main
|
DEBIAN_FRONTEND=noninteractive DEBCONF_NOWARNINGS=yes main
|
|
@ -4,16 +4,16 @@ set -exo pipefail
|
||||||
|
|
||||||
function main() {
|
function main() {
|
||||||
{
|
{
|
||||||
#upgradeSystem
|
upgradeSystem
|
||||||
apk -U upgrade
|
|
||||||
apk add --no-cache python3 py3-pip openssl-dev bash git curl
|
apk add --no-cache python3 py3-pip openssl-dev bash git curl
|
||||||
python3 -m pip install -U pip
|
python3 -m pip install -U pip
|
||||||
pip3 install pybuilder ddadevops deprecation dda-python-terraform boto3 pyyaml inflection
|
pip3 install pybuilder ddadevops deprecation dda-python-terraform boto3 pyyaml inflection
|
||||||
#cleanupDocker
|
|
||||||
apk cache clean
|
cleanupDocker
|
||||||
rm -rf /tmp/*
|
|
||||||
} > /dev/null
|
} > /dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
#source /tmp/install_functions_alpine.sh
|
source /tmp/install_functions_alpine.sh
|
||||||
main
|
main
|
||||||
|
|
|
@ -4,15 +4,14 @@ set -exo pipefail
|
||||||
|
|
||||||
function main() {
|
function main() {
|
||||||
{
|
{
|
||||||
#upgradeSystem
|
upgradeSystem
|
||||||
apk -U upgrade
|
|
||||||
apk add --no-cache python3 py3-pip openssl-dev bash git
|
apk add --no-cache python3 py3-pip openssl-dev bash git
|
||||||
pip3 --break-system-packages install pybuilder ddadevops deprecation dda-python-terraform boto3 pyyaml inflection
|
pip3 install --break-system-packages pybuilder ddadevops deprecation dda-python-terraform boto3 pyyaml inflection
|
||||||
#cleanupDocker
|
|
||||||
apk cache clean
|
cleanupDocker
|
||||||
rm -rf /tmp/*
|
|
||||||
} > /dev/null
|
} > /dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
#source /tmp/install_functions_alpine.sh
|
source /tmp/install_functions_alpine.sh
|
||||||
main
|
main
|
||||||
|
|
|
@ -13,5 +13,5 @@ function main() {
|
||||||
} > /dev/null
|
} > /dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
source /tmp/install_functions.sh
|
source /tmp/install_functions_debian.sh
|
||||||
DEBIAN_FRONTEND=noninteractive DEBCONF_NOWARNINGS=yes main
|
DEBIAN_FRONTEND=noninteractive DEBCONF_NOWARNINGS=yes main
|
|
@ -4,17 +4,17 @@ set -exo pipefail
|
||||||
|
|
||||||
function main() {
|
function main() {
|
||||||
{
|
{
|
||||||
#upgradeSystem
|
upgradeSystem
|
||||||
apk -U upgrade
|
|
||||||
apk add --no-cache build-base rust python3 python3-dev py3-pip py3-setuptools py3-wheel libffi-dev openssl-dev cargo bash git curl
|
apk add --no-cache build-base rust python3 python3-dev py3-pip py3-setuptools py3-wheel libffi-dev openssl-dev cargo bash git curl
|
||||||
python3 -m pip install -U pip
|
python3 -m pip install -U pip
|
||||||
pip3 install pybuilder ddadevops deprecation dda-python-terraform boto3 pyyaml inflection \
|
pip3 install pybuilder ddadevops deprecation dda-python-terraform boto3 pyyaml inflection \
|
||||||
coverage flake8 flake8-polyfill mypy mypy-extensions pycodestyle pyflakes pylint pytest pytest-cov pytest-datafiles types-setuptools types-PyYAML
|
coverage flake8 flake8-polyfill mypy mypy-extensions pycodestyle pyflakes pylint pytest pytest-cov pytest-datafiles types-setuptools types-PyYAML
|
||||||
#cleanupDocker
|
|
||||||
apk cache clean
|
cleanupDocker
|
||||||
rm -rf /tmp/*
|
|
||||||
} > /dev/null
|
} > /dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
#source /tmp/install_functions_alpine.sh
|
source /tmp/install_functions_alpine.sh
|
||||||
main
|
main
|
||||||
|
|
Loading…
Reference in a new issue