Commit d747c4cb authored by nimrod's avatar nimrod
Browse files

Remove the manual CI stages.

The pre-commit template now runs in .pre. Reorder the other jobs.
parent bcf8db4e
Loading
Loading
Loading
Loading
Loading
+2 −8
Original line number Diff line number Diff line
@@ -5,12 +5,6 @@ include:
  - project: shore/ci-templates
    file: templates/terraform.yml

stages:
  - test
  - build
  - plan
  - apply

Generate payload:
  stage: build
  image: registry.shore.co.il/ci-images:python3
@@ -30,13 +24,13 @@ Generate payload:

Terraform plan:
  extends: .tf_plan
  stage: plan
  stage: test
  dependencies:
    - Generate payload

Terraform apply:
  extends: .tf_apply
  stage: apply
  stage: deploy
  dependencies: &tf_apply_dependecies
    - Generate payload
    - Terraform plan