Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions ansible/inventory/group_vars/all/source-repositories
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,13 @@ source_repositories:
- codeowners:
content: "{{ community_files.codeowners.kayobe }}"
dest: ".github/CODEOWNERS"
terraform-kayobe-multinode:
repository_type: "single-branch"
workflows: []
community_files:
- codeowners:
content: "{{ community_files.codeowners.kayobe }}"
dest: ".github/CODEOWNERS"
bifrost:
ignored_releases:
- victoria
Expand Down
2 changes: 1 addition & 1 deletion terraform/github-runners/ansible/site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Start the service manually.
- name: Ensure runner service is running
ansible.builtin.service:
name: actions.runner.stackhpc-stackhpc-release-train.{{ ansible_facts.hostname }}.service
name: actions.runner.{{ github_account }}-{{ github_repo }}.{{ ansible_facts.hostname }}.service
state: started
enabled: true
become: true
Expand Down
35 changes: 0 additions & 35 deletions terraform/github/branches.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ resource "github_branch_protection" "ansible_branch_protection" {
contexts = lookup(var.required_status_checks, each.key, { "default" : [] }).default
strict = false
}

lifecycle {
prevent_destroy = true
}
}

resource "github_branch_protection" "batch_branch_protection" {
Expand All @@ -55,10 +51,6 @@ resource "github_branch_protection" "batch_branch_protection" {
contexts = lookup(var.required_status_checks, each.key, { "default" : [] }).default
strict = false
}

lifecycle {
prevent_destroy = true
}
}

resource "github_branch_protection" "kayobe_branch_protection_py_3-6" {
Expand Down Expand Up @@ -94,10 +86,6 @@ resource "github_branch_protection" "kayobe_branch_protection_py_3-6" {
}).default)
strict = false
}

lifecycle {
prevent_destroy = false
}
}

resource "github_branch_protection" "kayobe_branch_protection_py_3-10" {
Expand Down Expand Up @@ -129,10 +117,6 @@ resource "github_branch_protection" "kayobe_branch_protection_py_3-10" {
}).default)
strict = false
}

lifecycle {
prevent_destroy = true
}
}

resource "github_branch_protection" "openstack_branch_protection_py_3-6" {
Expand Down Expand Up @@ -168,9 +152,6 @@ resource "github_branch_protection" "openstack_branch_protection_py_3-6" {
}).default)
strict = false
}
lifecycle {
prevent_destroy = true
}
}

resource "github_branch_protection" "openstack_branch_protection_py_3-10" {
Expand Down Expand Up @@ -202,10 +183,6 @@ resource "github_branch_protection" "openstack_branch_protection_py_3-10" {
}).default)
strict = false
}

lifecycle {
prevent_destroy = false
}
}

resource "github_branch_protection" "platform_branch_protection" {
Expand All @@ -231,10 +208,6 @@ resource "github_branch_protection" "platform_branch_protection" {
contexts = lookup(var.required_status_checks, each.key, { "default" : [] }).default
strict = false
}

lifecycle {
prevent_destroy = true
}
}

resource "github_branch_protection" "releasetrain_branch_protection" {
Expand All @@ -260,10 +233,6 @@ resource "github_branch_protection" "releasetrain_branch_protection" {
contexts = lookup(var.required_status_checks, each.key, { "default" : [] }).default
strict = false
}

lifecycle {
prevent_destroy = true
}
}

resource "github_branch_protection" "smslab_branch_protection" {
Expand All @@ -289,9 +258,5 @@ resource "github_branch_protection" "smslab_branch_protection" {
contexts = lookup(var.required_status_checks, each.key, { "default" : [] }).default
strict = false
}

lifecycle {
prevent_destroy = true
}
}

5 changes: 3 additions & 2 deletions terraform/github/terraform.tfvars.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,17 @@
"caas-slurm-appliance"
],
"Kayobe": [
"bifrost",
"kolla",
"kayobe",
"kayobe-automation",
"kolla-ansible",
"openstack-admin-guide",
"stackhpc-kayobe-config",
"ansible-collection-kayobe-workflows"
"ansible-collection-kayobe-workflows",
"terraform-kayobe-multinode"
],
"OpenStack": [
"bifrost",
"barbican",
"cinder",
"cloudkitty",
Expand Down