adnv 1.5.1

CLI that tracks, checks and auto-updates infrastructure dependency versions across Terraform, Helm, Docker, Git and npm
Documentation
# Run in CI/CD

## GitLab CI

### Dependency check on schedule

```yaml
stages:
  - check

dependency-check:
  stage: check
  image: registry.gitlab.com/adnap/tools/adnv:latest
  script:
    - adnv check --last 7days --output mattermost
  rules:
    - if: $CI_PIPELINE_SOURCE == "schedule"
  variables:
    ADNV_CONFIG_FILE: adnv.yml
```

### Outdated check on merge requests

```yaml
outdated-check:
  stage: check
  image: registry.gitlab.com/adnap/tools/adnv:latest
  script:
    - adnv outdated --recursive
  rules:
    - if: $CI_MERGE_REQUEST_ID
  allow_failure: true
```

### Auto-update with MR creation

```yaml
auto-update:
  stage: check
  image: registry.gitlab.com/adnap/tools/adnv:latest
  script:
    - adnv update --recursive
    - |
      if ! git diff --quiet; then
        git checkout -b chore/auto-update-deps
        git add -A
        git commit -m "chore: auto-update dependencies"
        git push origin chore/auto-update-deps
      fi
  rules:
    - if: $CI_PIPELINE_SOURCE == "schedule"
```

### Workflow execution

```yaml
codegen:
  stage: build
  image: registry.gitlab.com/adnap/tools/adnv:latest
  script:
    - adnv run
  artifacts:
    paths:
      - terraform_module/
      - helm_chart/
```

## Environment variables

| Variable | Purpose |
|----------|---------|
| `ADNV_CONFIG_FILE` | Path to config file (default: `adnv.yml`) |
| `ADNV_GITHUB_TOKEN` | GitHub API token for private repos |

## Docker image

The official Docker image is based on a distroless base image for minimal attack surface. It includes:
- The `adnv` binary at `/usr/local/bin/adnv`
- CA certificates for TLS
- Compression libraries (zlib)