about summary refs log tree commit diff
path: root/ops/github/repositories_public.tf
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-09-30 17:56:56 -0700
committerFranck Cuny <franck@fcuny.net>2022-09-30 17:56:56 -0700
commit31f7f2e1c90d131ba8138f72e13ddca24598ebfe (patch)
treeeb7f5683ff24a3ecfbdb7391b55a8e93f1262ac7 /ops/github/repositories_public.tf
parentfix(home/element): I want the wayland version (diff)
downloadworld-31f7f2e1c90d131ba8138f72e13ddca24598ebfe.tar.gz
ops(github): terraform configuration to manage GitHub
Import current GitHub repositories into terraform. This should be the
main way (going forward) to interact with GitHub to create / manage the
repositories and ensuring I'm consistent in the ways I want to use it.
Diffstat (limited to '')
-rw-r--r--ops/github/repositories_public.tf71
1 files changed, 71 insertions, 0 deletions
diff --git a/ops/github/repositories_public.tf b/ops/github/repositories_public.tf
new file mode 100644
index 0000000..8f70342
--- /dev/null
+++ b/ops/github/repositories_public.tf
@@ -0,0 +1,71 @@
+# github_repository.jitterbug:
+resource "github_repository" "jitterbug" {
+  name                   = "jitterbug"
+  archived               = true
+  allow_auto_merge       = false
+  allow_merge_commit     = false
+  allow_rebase_merge     = false
+  allow_squash_merge     = false
+  delete_branch_on_merge = true
+  description            = "Cross Language Continuous Integration for Git"
+  has_downloads          = true
+  has_issues             = true
+  has_projects           = true
+  has_wiki               = true
+  homepage_url           = "http://lumberjaph.net/jitterbug/"
+  vulnerability_alerts   = true
+  pages {
+    cname = "jitterbug.pl"
+    source {
+      branch = "gh-pages"
+      path   = "/"
+    }
+  }
+}
+
+# github_repository.presque:
+resource "github_repository" "presque" {
+  name                   = "presque"
+  archived               = true
+  allow_auto_merge       = false
+  allow_merge_commit     = false
+  allow_rebase_merge     = false
+  allow_squash_merge     = false
+  delete_branch_on_merge = true
+  description            = "a simple redis/tatsumaki message queue"
+  has_downloads          = true
+  has_issues             = true
+  has_projects           = true
+  has_wiki               = true
+  vulnerability_alerts   = true
+}
+
+# github_repository.webservice-google-suggest:
+resource "github_repository" "webservice-google-suggest" {
+  name                   = "webservice-google-suggest"
+  archived               = true
+  allow_auto_merge       = false
+  allow_merge_commit     = false
+  allow_rebase_merge     = false
+  allow_squash_merge     = false
+  delete_branch_on_merge = true
+  description            = "WebService::Google::Suggest allows you to use Google Suggest as a Web Service API to retrieve completions to your search query or partial query"
+  has_downloads          = true
+  has_issues             = true
+  has_projects           = true
+  has_wiki               = true
+  vulnerability_alerts   = true
+}
+
+resource "github_repository" "anyevent-riak" {
+  name                 = "anyevent-riak"
+  archived             = true
+  has_downloads        = false
+  has_issues           = true
+  has_projects         = false
+  has_wiki             = false
+  allow_merge_commit   = false
+  allow_squash_merge   = true
+  allow_rebase_merge   = true
+  vulnerability_alerts = true
+}