Skip to content
Snippets Groups Projects
Commit 479cd637 authored by fejao's avatar fejao
Browse files

setting ci-cd

parent 41116748
No related branches found
No related tags found
1 merge request!1Adding files
Pipeline #37644 passed
......@@ -39,10 +39,12 @@ stages:
- ls -hal
- ls -hal /builds/fejao/c3infodesk-deployment-role-test/ci-cd
- ls -hal /builds/fejao/c3infodesk-deployment-role-test/ci-cd/python_requirements.txt
- echo $PATH_PYTHON_REQ_FILE
# - echo $PATH_PYTHON_REQ_FILE
- echo $PYTHON_REQ_FILE_PATH
# - pip3 install -r ci-cd/requirements.txt
- pip3 install -r $PATH_PYTHON_REQ_FILE
# - pip3 install -r $PATH_PYTHON_REQ_FILE
- pip3 install -r $PYTHON_REQ_FILE_PATH
### Correct the permissions on the build environment directory.
### See https://github.com/ansible/ansible/pull/42142/files
# - chmod 700 /builds/fejao/c3infodesk-deployment
......@@ -57,21 +59,21 @@ stages:
###
### STAGE-SYNTAX-CHECK
###
debug:
stage: syntax-check
image: $IMAGE_NAME_SYNTAX
script:
- echo "Running ansible-playbook --syntax-check tests at the role-> 'test'"
- pwd
- ls -hal
# - *run_syntax_check
# debug:
# stage: syntax-check
# image: $IMAGE_NAME_SYNTAX
# script:
# - echo "Running ansible-playbook --syntax-check tests at the role-> 'test'"
# - pwd
# - ls -hal
# # - *run_syntax_check
syntax-test:
stage: syntax-check
image: $IMAGE_NAME_SYNTAX
variables:
PATH_PYTHON_REQ_FILE: $PATH_PYTHON_REQ_FILE
PATH_ENV_DIR: $PATH_ENV_DIR
PYTHON_REQ_FILE_PATH: $PATH_PYTHON_REQ_FILE
# PATH_ENV_DIR: $PATH_ENV_DIR
# ROLE_PATH: $PLAYBOOK_PATH_FOR_ROLE_TEST
before_script:
- *before_syntax_n_lint
......
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