fix
This commit is contained in:
@@ -3,6 +3,7 @@ const DEST=dest;
|
||||
const duplicates=["auto_ci_detector.py","functions.sh"];
|
||||
const DOMAIN = config.domain;
|
||||
const NAME = instance;
|
||||
const ORG = config.organization;
|
||||
fn duplicate_files() {
|
||||
for file in global::duplicates {
|
||||
shell(`cp ${global::SRC}/${file} ${global::DEST}/${file}`);
|
||||
@@ -19,8 +20,7 @@ fn have_taiga() {
|
||||
}
|
||||
fn gitea_repos() {
|
||||
let repos = [];
|
||||
let org = global::NAME;
|
||||
org.replace("org-","");
|
||||
let org = global::ORG;
|
||||
if (have_gitea() && have_sonar()) {
|
||||
let gitea = get_secret(`${global::DOMAIN}-ci`, "gitea-admin-user");
|
||||
let username = base64_decode(gitea.data.username);
|
||||
|
||||
Reference in New Issue
Block a user