Deploy stage missing
I'm trying to migrate over from the old Terraform template to the opentofu components.
I cannot get the test or deploy stage to appear. I've tried a bunch of approaches, from the full pipeline to individual components, and in each case the deploy stage just isn't displayed. I've stripped the CI file back to the following:
include:
- component: gitlab.com/components/opentofu/full-pipeline@0.18.0-rc5
inputs:
# The version must currently be specified explicitly as an input,
# to find the correctly associated images. # This can be removed
# once https://gitlab.com/gitlab-org/gitlab/-/issues/438275 is solved.
version: 0.18.0-rc5
opentofu_version: 1.6.1
root_dir: terraform
stages: [validate, test, build, deploy, cleanup]
I also tried the validate-plan-apply
component instead of full-pipeline
, but got the same result (well except the cleanup stage is missing too, as expected). The same project with the old Terraform template runs test and deploy stages successfully.
The attached screenshot shows the validate, build and cleanup stages are shown, but not test or deploy. I am running on gitlab.com with an external docker runner.
I'm sure I am missing something obvious or stupid, and I've tried various versions all with the same results - thanks in advance for any guidance!