Skip to content
Snippets Groups Projects
Commit 0c1e74bb authored by fejao's avatar fejao
Browse files

setting ci-cd

parent 7d0cf74a
No related branches found
No related tags found
1 merge request!1Adding files
Pipeline #37757 passed
Pipeline: c3infodesk-deployment

#37758

    This commit is part of merge request !1. Comments created here will be created in the context of that merge request.
    ...@@ -6,9 +6,6 @@ ...@@ -6,9 +6,6 @@
    variables: variables:
    AUTHOR: fejao AUTHOR: fejao
    IMAGE_NAME_LINT: python:3.10.15-bullseye IMAGE_NAME_LINT: python:3.10.15-bullseye
    # PATH_ENV_DIR: "/builds/fejao/c3infodesk-deployment-role-test"
    # PATH_PYTHON_REQ_FILE: "/builds/fejao/c3infodesk-deployment-role-test/ci-cd/python_requirements.txt"
    # PATH_PLAYBOOK: "/builds/fejao/c3infodesk-deployment-role-test/ci-cd/playbook_role_test.yml"
    PATH_ENV_DIR: "/builds/fejao/c3infodesk-deployment-role-dependencies" PATH_ENV_DIR: "/builds/fejao/c3infodesk-deployment-role-dependencies"
    PATH_PYTHON_REQ_FILE: "/builds/fejao/c3infodesk-deployment-role-dependencies/ci-cd/python_requirements.txt" PATH_PYTHON_REQ_FILE: "/builds/fejao/c3infodesk-deployment-role-dependencies/ci-cd/python_requirements.txt"
    PATH_PLAYBOOK: "/builds/fejao/c3infodesk-deployment-role-dependencies/ci-cd/playbook_role_test.yml" PATH_PLAYBOOK: "/builds/fejao/c3infodesk-deployment-role-dependencies/ci-cd/playbook_role_test.yml"
    ...@@ -31,6 +28,9 @@ stages: ...@@ -31,6 +28,9 @@ stages:
    ### See https://github.com/ansible/ansible/pull/42142/files ### See https://github.com/ansible/ansible/pull/42142/files
    - chmod 700 $PATH_ENV_DIR - chmod 700 $PATH_ENV_DIR
    ###
    ### JOBS
    ###
    yamllint-test: yamllint-test:
    stage: yamllint stage: yamllint
    image: $IMAGE_NAME_LINT image: $IMAGE_NAME_LINT
    ...@@ -40,15 +40,14 @@ yamllint-test: ...@@ -40,15 +40,14 @@ yamllint-test:
    before_script: before_script:
    - *install_dependencies - *install_dependencies
    script: script:
    - echo "This is the 'yamllint' test from the 'test' role" - echo "This is the 'yamllint' test from the 'dependencies' role"
    - yamllint . - yamllint .
    # trigger-pipeline: trigger-pipeline:
    # stage: upstream-trigger stage: upstream-trigger
    # variables: variables:
    # # RUN_UPSTREAM_FOR_ROLE_TEST: true RUN_UPSTREAM_FOR_ROLE_DEPENDENCIES: true
    # RUN_UPSTREAM_FOR_ROLE_DEPENDENCIES: true trigger:
    # trigger: project: fejao/c3infodesk-deployment
    # project: fejao/c3infodesk-deployment branch: main
    # branch: main strategy: depend
    # strategy: depend
    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