-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Add two different ways of tackling this
- Loading branch information
1 parent
33c8a50
commit 28320ba
Showing
2 changed files
with
75 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/env python | ||
|
||
import yaml | ||
|
||
import pulumi | ||
import pulumi_github as github | ||
|
||
import pipelines.denovotranscript | ||
import pipelines.meerpipe | ||
import pipelines.pairgenomealign | ||
import pipelines.phaseimpute | ||
import pipelines.reportho | ||
|
||
# ... | ||
|
||
import core.github | ||
import core.modules | ||
|
||
# ... | ||
import core.website |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
#!/usr/bin/env python | ||
|
||
import yaml | ||
|
||
import pulumi | ||
import pulumi_github as github | ||
|
||
TOPICS = [ | ||
"nextflow", | ||
"pipelines", | ||
"nf-test", | ||
"modules", | ||
"nf-core", | ||
"dsl2", | ||
"workflows", | ||
] | ||
|
||
alpha_test_pipeline_repos = [ | ||
"denovotranscript", | ||
"meerpipe", | ||
"pairgenomealign", | ||
"phaseimpute", | ||
"reportho", | ||
] | ||
|
||
for pipeline in alpha_test_pipeline_repos: | ||
github.Repository( | ||
"nf-core-tf", | ||
allow_merge_commit=True, | ||
allow_rebase_merge=True, | ||
allow_squash_merge=True, | ||
default_branch="master", | ||
description="Alpha test repository for nf-core", | ||
has_downloads=True, | ||
has_issues=True, | ||
has_projects=True, | ||
homepage_url=f"https://nf-co.re/{pipeline}", | ||
merge_commit_message="", | ||
merge_commit_title="", | ||
name=pipeline, | ||
security_and_analysis=github.RepositorySecurityAndAnalysisArgs( | ||
secret_scanning=github.RepositorySecurityAndAnalysisSecretScanningArgs( | ||
status="disabled", | ||
), | ||
secret_scanning_push_protection=github.RepositorySecurityAndAnalysisSecretScanningPushProtectionArgs( | ||
status="disabled", | ||
), | ||
), | ||
squash_merge_commit_message="", | ||
squash_merge_commit_title="", | ||
topics=TOPICS, | ||
visibility="public", | ||
# NOTE Idk if this will work | ||
opts=pulumi.ResourceOptions(protect=True), | ||
) |