Skip to content

chrira/dagger-renovate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

renovate

Update Dagger modules.

See this video with explanations and a demo.

Configure in GitHub

To run renovate in your GitHub repository for your repository use the file .github/workflows/renovate.yml

It works unchanged in every GitHub repository when you defined the DAGGER_CLOUD_TOKEN secret.

You must configure your GITHUB_TOKEN to have write access to your repository, see Configuring the default GITHUB_TOKEN permissions

Set Workflow permissions to Read and write permissions and check Allow GitHub Actions to create and approve pull requests.

Local Test

Setup

dagger init --sdk go --source bot

docker run --rm -v "/path/to/your/config.js:/usr/src/app/config.js" enovate/renovate:39.173

Post upgrade task

Each command must match at least one of the patterns defined in allowedCommands (a global-only configuration option) in order to be executed. If the list of allowed tasks is empty then no tasks will be executed.

You can use variable templating in your commands as long as allowCommandTemplating is enabled.

{
  "postUpgradeTasks": {
    "commands": ["tslint --fix"],
    "fileFilters": ["yarn.lock", "**/*.js"],
    "executionMode": "update"
  }
}

Run

Local

dagger call run --config ./config/config.json5

https://docs.renovatebot.com/modules/platform/local/

ln -s ../dagger-module-helm/ demo-src

dagger call local --src ./demo-src/

dagger call local --src https://github.com/puzzle/dagger-module-helm.git

dagger call local \
    --config ./config/config.json5 \
    --token env:MY_GH_PAT \
    --src demo-src/

GitLab

dagger call git-lab \
    --config ./config/config.json5 \
    --githubToken env:MY_GH_PAT \
    --gitlabToken env:MY_GL_PAT

GitHub

dagger call git-hub \
    --config ./config/config.json5 \
    --github-read-token env:MY_GH_PAT \
    --github-write-token env:MY_GH_WRITE_PAT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages