The following docker image runs a simple shell script to clone an existing fork from a Decidim application repository and update the decidim and decidim-dev gems.
Finally, it creates a PR against the original repository.
docker run -e GITHUB_OAUTH_TOKEN=xxx
-e GITHUB_ORGANIZATION=xxx
-e GITHUB_REPO=xxx
-e DECIDIM_GITHUB_ORGANIZATION=xxx
-e DECIDIM_GITHUB_REPO=xxx
codegram/decidim-updater
The docker image uses the following environment variables:
GITHUB_OAUTH_TOKEN: The github personal token.GITHUB_ORGANIZATION: The github organization who has created a fork from a decidim application.GITHUB_REPOSITORY: The github repository which is a fork from a decidim application.DECIDIM_GITHUB_ORGANIZATION: The github organization who was created a decidim application.DECIDIM_GITHUB_REPO: The github repository which corresponds to a decidim application.DATABASE_HOST: (defaults to db) The database host.DATABASE_USERNAME: (defaults to postgres) The database user.DATABASE_PASSWORD: (defaults to '') The database password.DATABASE_NAME: (defaults to '') The database name.DECIDIM_VERSION: (defaults to a unix timestamp) Identify the update branch.GIT_USERNAME: (defaults to decidim-updater-bot) Username used to create the commit.GIT_EMAIL: (defaults to [email protected]) Email used to create the commit.Content type
Image
Digest
Size
284.3 MB
Last updated
about 9 years ago
docker pull codegram/decidim-updater