Linter:
<<: *job_definition
stage: linter
+ needs:
+ - 'Test source'
script:
- pip install --upgrade --upgrade-strategy eager flake8 pylint
- flake8 --max-line-length=$FLAKE8_MAX_LINE_LENGTH --max-complexity=$FLAKE8_MAX_COMPLEXITY --ignore=$FLAKE8_IGNORE_ERRORS bin lib
Create Centos8 template:
<<: *job_definition
stage: deploy
+ needs:
+ - 'Linter'
variables:
OS_ID: centos8
VM_OS_VERSION: 'centos8_64Guest'
echo "-->";
cat "${CONFIG_FILE}" | sed -e "s/^\(root_password\) .*/\1 = ********/" -e "s/^\(password\) .*/\1 = ********/";
echo "<-- EOF"'
- - bin/waitfor 1200
+ # - bin/waitfor 1200
- bin/create-vmware-template --verbose --color yes --config "${CONFIG_FILE}"
environment:
name: ${SYSTEM_STATUS}
Create Centos7 template:
<<: *job_definition
stage: deploy
+ needs:
+ - 'Create Centos8 template'
variables:
OS_ID: centos7
VM_OS_VERSION: 'centos7_64Guest'
echo "-->";
cat "${CONFIG_FILE}" | sed -e "s/^\(root_password\) .*/\1 = ********/" -e "s/^\(password\) .*/\1 = ********/";
echo "<-- EOF"'
- - bin/waitfor 600
+ # - bin/waitfor 600
- bin/create-vmware-template --verbose --color yes --config "${CONFIG_FILE}"
environment:
name: ${SYSTEM_STATUS}
Create OracleLinux7 template:
<<: *job_definition
stage: deploy
+ needs:
+ - 'Create Centos7 template'
variables:
OS_ID: oel7
VM_OS_VERSION: 'oracleLinux7_64Guest'