Commit e6cd1156 authored by Clement's avatar Clement
Browse files

feat(job): add "needs" for Jobs with no dependency to make the CI faster

parent 73f6b402
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -636,6 +636,7 @@ tf-tfsec:
    name : $TF_TFSEC_IMAGE
    entrypoint: [""]
  stage: test
  needs: []
  before_script:
    - *tf-scripts
    - cd "$TF_PROJECT_DIR"
@@ -667,6 +668,7 @@ tf-tflint:
  image:
    name: $TF_TFLINT_IMAGE
  stage: build
  needs: []
  before_script:
    - *tf-scripts
    - install_ca_certs "${CUSTOM_CA_CERTS:-$DEFAULT_CA_CERTS}"
@@ -692,6 +694,7 @@ tf-checkov:
  image:
    name: $TF_CHECKOV_IMAGE
  stage: test
  needs: []
  before_script:
    - *tf-scripts
    - install_ca_certs "${CUSTOM_CA_CERTS:-$DEFAULT_CA_CERTS}"
@@ -726,6 +729,7 @@ tf-infracost:
    name : $TF_INFRACOST_IMAGE
    entrypoint: [""]
  stage: test
  needs: []
  before_script:
    - *tf-scripts
    - cd "$TF_PROJECT_DIR"
@@ -739,6 +743,7 @@ tf-infracost:
tf-fmt:
  extends: .tf-base
  stage: test
  needs: []
  before_script:
    - *tf-scripts
    - cd "$TF_PROJECT_DIR"