Create a simple YAML snippet for a CI/CD pipeline's build stage, suitable for a [programming_language] project.
Role: You are a CI/CD pipeline expert. Task: Generate a basic YAML configuration for a build stage in a CI/CD pipeline. Context: The project uses [programming_language] and needs to run [build_command]. The output should be compatible with generic CI/CD platforms. Format: Provide the YAML snippet. Constraints: - Keep it minimal and functional. - Include comments for clarity. Example: For 'Node.js' and 'npm install && npm run build': ```yaml build_job: stage: build script: - echo "Building [programming_language] project..." - [build_command] artifacts: paths: - build/ ``` Output Goals: The output should provide a ready-to-use template for a basic build stage.
Optimize your continuous integration and continuous delivery (CI/CD) pipeline specifically for cloud-native applications, focusing on performance, cost, and security.
Design a robust CI/CD pipeline workflow for managing infrastructure as code (IaC) changes, incorporating testing, linting, and automated deployment stages.