Compare commits
No commits in common. "f422aa9d647ef57e747de29ec0c13c2afada8827" and "64c995799154d2bd7e5fe58a6d710422d03f2b34" have entirely different histories.
f422aa9d64
...
64c9957991
20
.drone.yml
20
.drone.yml
@ -1,20 +0,0 @@
|
|||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
type: exec
|
|
||||||
name: default
|
|
||||||
|
|
||||||
platform:
|
|
||||||
os: linux
|
|
||||||
arch: amd64
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: build DEB
|
|
||||||
commands:
|
|
||||||
- cd debian
|
|
||||||
- ./build-deb-projman.sh
|
|
||||||
|
|
||||||
- name: build RPM
|
|
||||||
commands:
|
|
||||||
- cd redhat
|
|
||||||
- ./build-rpm.sh
|
|
||||||
|
|
@ -141,10 +141,6 @@ proc ReadFilesFromDirectory {directory root {type ""}} {
|
|||||||
while {[gets $f line] >= 0} {
|
while {[gets $f line] >= 0} {
|
||||||
if [regexp -nocase -all -- {^\s*inventory\s*=\s*(\.\/|)(.+?)$} $line match v1 fileName] {
|
if [regexp -nocase -all -- {^\s*inventory\s*=\s*(\.\/|)(.+?)$} $line match v1 fileName] {
|
||||||
# puts "Inventory file is a: $line"
|
# puts "Inventory file is a: $line"
|
||||||
if ![file exists [file join $root $directory $fileName]] {
|
|
||||||
ShowMessage "Error in ansible.cfg" "Inventory File '[file join $root $directory $fileName]' does not exists"
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
if {[lsearch $project($root) [file join $root $directory $fileName]] eq "-1"} {
|
if {[lsearch $project($root) [file join $root $directory $fileName]] eq "-1"} {
|
||||||
lappend project($root) [file join $root $directory $fileName]
|
lappend project($root) [file join $root $directory $fileName]
|
||||||
set variables([file join $root $directory $fileName]) \
|
set variables([file join $root $directory $fileName]) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user