# Update Lockfile Scripts

A Jenkins-based automation tool for updating and managing lockfiles across multiple repositories at The Orchard.

## Overview

This project provides a CI/CD pipeline that automatically updates project dependencies, commits changes, and creates pull requests. It uses Jenkins for orchestration and Docker Compose for isolated execution environments.

## Usage

Ensure that your repo you're updating uses a package manager that
tracks dependencies in a lockfile.

Ensure the repo has a docker compose service named `update-lockfile` which will
mount the lockfile from the filesystem into the docker container, run updates, and exit.

## How It Works

1. The Jenkinsfile checks out the specified repository
2. `update-lockfile.sh` runs the update process in a Docker container
3. `create-pr.sh` commits changes and opens a pull request on GitHub
