Skip to content
Glodrik
Esc
↑↓navigate↵open⌘Jpreview
On this page

Projects

Connect a repository, sync its content, and choose which revision to run.

Add and sync a Git project

  1. Open Projects → New project in the correct organization. Choose the owner.
  2. Enter the repository URL, such as https://git.example.com/automation/playbooks.git. Select a source credential if the repository is private.
  3. Enter a branch, tag, or commit if you want to use a specific revision. Leave it empty to use the repository’s default branch.
  4. Save, open the project, and select Sync project. Open the sync job to follow progress if it takes a while.
  5. On Details, check the resolved branch and revision and review discovered playbooks, roles, and collections under Automation content.

Existing local projects use local content. Git sync and revision settings are available on Git projects.

Decide when to update

  • Use Sync project to update on demand or Schedules for regular updates.
  • Enable Update on launch to have Glodrik check for an update before launches. The cache timeout controls how long a recent sync can be reused.
  • Enable branch selection per template if templates should use a different branch. Check the revision recorded on the job to confirm what ran.
  • To sync on push, create a webhook secret on the project and configure your Git provider with the supplied endpoint and secret. Verify the first delivery in the project’s sync history.

When requirements installation is enabled, Glodrik looks for collections/requirements.yml and roles/requirements.yml. It uses the organization’s Galaxy servers when they are configured.

Diagnose sync failures

Check the sync job’s output and the project’s last successful revision. Check the repository URL, branch, and credential first. For private certificate authorities, Git proxies, submodules, or Git LFS, review More settings and confirm the worker can reach every required source.

Last updated on