diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2d465a6..ba4762b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,8 +3,7 @@ - changes: - Jenkinsfile - .gitlab-ci.yml - - README.md - - docs/* + - readme.md when: never - when: on_success @@ -43,7 +42,6 @@ stages: "Create Release": stage: build - image: name: registry.gitlab.com/gitlab-org/release-cli:latest <<: *rules-changes diff --git a/cmd/bind/cleanup.go b/cmd/bind/cleanup.go index 4cf0038..4366a0c 100644 --- a/cmd/bind/cleanup.go +++ b/cmd/bind/cleanup.go @@ -1,7 +1,6 @@ package main import ( - "fmt" "regexp" "sort" @@ -29,15 +28,12 @@ func cleanBadDomains(domains []string) []string { // remove duplicates domains = removeDuplicateStr(domains) - fmt.Printf("Processing: \n") - for _, domain := range domains { // removing trailing dots domain = regexp.MustCompile(`\.$`).ReplaceAllString(domain, "") // skip domains that are too long if len([]rune(domain)) > 230 { - fmt.Printf("-") continue } @@ -50,7 +46,6 @@ func cleanBadDomains(domains []string) []string { } } if skip { - fmt.Printf(".") continue }