Skip to content

Unable to turn off git submodule sync with env vars from documentation #3345

@KonstantinSimeonov

Description

@KonstantinSimeonov

Duplicate of #1053, but creating a new issue, since I cannot post there. I've tried disabling git submodules for a couple of reasons using the environment variable BUILDKITE_GIT_SUBMODULES=false in the env file which is sourced by the Elastic CI AWS Stack. I have verified that the variable is indeed exported and available during the clone step by using this debug pipeline config:

steps:
  - label: ":pipeline:"
    command: env | grep SUBMODULE
    plugins:
      - "uber-workflow/run-without-clone"
Image

Is it possible to disable the submodule operations during checkout with an env var, or I'll need to fork the AWS Stack and hack around this in the systemd definition or in the agent hooks?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions