Lines Matching full:projects
51 """Creates schedulers for new projects."""
58 'topic_name': 'projects/' + project_id + '/topics/' + topic,
68 """Deletes schedulers for projects that were removed."""
84 'topic_name': 'projects/' + project_id + '/topics/request-build',
113 def sync_projects(cloud_scheduler_client, projects): argument
114 """Sync projects with cloud datastore."""
116 if project.name not in projects:
120 for project_name in projects:
126 projects[project_name].schedule,
131 project_metadata = projects[project_name]
141 if project.name not in projects:
145 project_metadata = projects[project.name]
151 projects[project.name].schedule,
204 projects = {}
205 contents = repo.get_contents('projects')
216 projects[content_file.name] = get_project_metadata(project_contents)
222 return projects
234 """Sync projects with cloud datastore."""
241 projects = get_projects(repo)
243 sync_projects(cloud_scheduler_client, projects)