diff --git a/_examples/actions/add_releaserc/go.mod b/_examples/actions/add_releaserc/go.mod deleted file mode 100644 index 35fbaf3..0000000 --- a/_examples/actions/add_releaserc/go.mod +++ /dev/null @@ -1,11 +0,0 @@ -module write_a_readme - -go 1.19 - -require github.com/bitfield/script v0.21.3 - -require ( - bitbucket.org/creachadair/shell v0.0.7 // indirect - github.com/itchyny/gojq v0.12.7 // indirect - github.com/itchyny/timefmt-go v0.1.3 // indirect -) diff --git a/_examples/actions/add_releaserc/go.sum b/_examples/actions/add_releaserc/go.sum deleted file mode 100644 index 0ea3a03..0000000 --- a/_examples/actions/add_releaserc/go.sum +++ /dev/null @@ -1,28 +0,0 @@ -bitbucket.org/creachadair/shell v0.0.7 h1:Z96pB6DkSb7F3Y3BBnJeOZH2gazyMTWlvecSD4vDqfk= -bitbucket.org/creachadair/shell v0.0.7/go.mod h1:oqtXSSvSYr4624lnnabXHaBsYW6RD80caLi2b3hJk0U= -github.com/bitfield/script v0.20.2 h1:4DexsRtBILVMEn3EZwHbtJdDqdk43sXI8gM3F04JXgs= -github.com/bitfield/script v0.20.2/go.mod h1:l3AZPVAtKQrL03bwh7nlNTUtgrgSWurpJSbtqspYrOA= -github.com/bitfield/script v0.21.0 h1:/OMglZmed2JyzLkmxYvZQMWs18XjPZxDB/0ht0pxrBk= -github.com/bitfield/script v0.21.0/go.mod h1:l3AZPVAtKQrL03bwh7nlNTUtgrgSWurpJSbtqspYrOA= -github.com/bitfield/script v0.21.1 h1:k3vYchaqnEPrQ/AS8VFJADM2/B6RbGT75Q3Eago9AHU= -github.com/bitfield/script v0.21.1/go.mod h1:l3AZPVAtKQrL03bwh7nlNTUtgrgSWurpJSbtqspYrOA= -github.com/bitfield/script v0.21.2 h1:YoubIUrBWeKKvp3+Ig7laCIyL4++JRs9k2EA3P5f34M= -github.com/bitfield/script v0.21.2/go.mod h1:l3AZPVAtKQrL03bwh7nlNTUtgrgSWurpJSbtqspYrOA= -github.com/bitfield/script v0.21.3 h1:M67zRsHvm2XEmUXaKRfr2+VrX9rSFmKt2Nfu+PIueCw= -github.com/bitfield/script v0.21.3/go.mod h1:l3AZPVAtKQrL03bwh7nlNTUtgrgSWurpJSbtqspYrOA= -github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= -github.com/itchyny/gojq v0.12.7 h1:hYPTpeWfrJ1OT+2j6cvBScbhl0TkdwGM4bc66onUSOQ= -github.com/itchyny/gojq v0.12.7/go.mod h1:ZdvNHVlzPgUf8pgjnuDTmGfHA/21KoutQUJ3An/xNuw= -github.com/itchyny/timefmt-go v0.1.3 h1:7M3LGVDsqcd0VZH2U+x393obrzZisp7C0uEe921iRkU= -github.com/itchyny/timefmt-go v0.1.3/go.mod h1:0osSSCQSASBJMsIZnhAaF1C2fCBTJZXrnj37mG8/c+A= -github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= -github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= -golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220227234510-4e6760a101f9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/_examples/actions/add_releaserc/main.go b/_examples/actions/add_releaserc/main.go deleted file mode 100644 index 9ff20ba..0000000 --- a/_examples/actions/add_releaserc/main.go +++ /dev/null @@ -1,25 +0,0 @@ -package main - -import "github.com/bitfield/script" - -func main() { - - releaseRc := ` - branches: - - "main" - - "v0.x" - - plugins: - - "@semantic-release/commit-analyzer" - - "@semantic-release/release-notes-generator" - - "@semantic-release/changelog" - - "@semantic-release/git" - ` - - _, err := script. - Echo(releaseRc). - WriteFile(".releaserc.yml") - if err != nil { - panic(err) - } -} diff --git a/_examples/actions/add_releaserc/octopush.yml b/_examples/actions/add_releaserc/octopush.yml deleted file mode 100644 index 34d455a..0000000 --- a/_examples/actions/add_releaserc/octopush.yml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: action -name: write-a-readme -select: - repositories: - - git@git.front.kjuulh.io:kjuulh/octopush-test.git - #- git@git.front.kjuulh.io:kjuulh/octopush.git - # providers: - # - gitea: https://git.front.kjuulh.io - # organisation: "cibus" -actions: - - type: go - entry: "main.go" diff --git a/_examples/actions/docker_action/Dockerfile b/_examples/actions/docker_action/Dockerfile deleted file mode 100644 index 61980fa..0000000 --- a/_examples/actions/docker_action/Dockerfile +++ /dev/null @@ -1,8 +0,0 @@ -FROM debian:bullseye-slim - -# Octopush relies on this path being the specified path -WORKDIR /src/work/ - -COPY entry.sh /src/script.sh - -CMD [ "/src/script.sh" ] diff --git a/_examples/actions/docker_action/entry.sh b/_examples/actions/docker_action/entry.sh deleted file mode 100755 index 11771f4..0000000 --- a/_examples/actions/docker_action/entry.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -set -e - -echo "# README docker" > README.md diff --git a/_examples/actions/docker_action/go.mod b/_examples/actions/docker_action/go.mod deleted file mode 100644 index 35fbaf3..0000000 --- a/_examples/actions/docker_action/go.mod +++ /dev/null @@ -1,11 +0,0 @@ -module write_a_readme - -go 1.19 - -require github.com/bitfield/script v0.21.3 - -require ( - bitbucket.org/creachadair/shell v0.0.7 // indirect - github.com/itchyny/gojq v0.12.7 // indirect - github.com/itchyny/timefmt-go v0.1.3 // indirect -) diff --git a/_examples/actions/docker_action/go.sum b/_examples/actions/docker_action/go.sum deleted file mode 100644 index 3921743..0000000 --- a/_examples/actions/docker_action/go.sum +++ /dev/null @@ -1,24 +0,0 @@ -bitbucket.org/creachadair/shell v0.0.7 h1:Z96pB6DkSb7F3Y3BBnJeOZH2gazyMTWlvecSD4vDqfk= -bitbucket.org/creachadair/shell v0.0.7/go.mod h1:oqtXSSvSYr4624lnnabXHaBsYW6RD80caLi2b3hJk0U= -github.com/bitfield/script v0.20.2 h1:4DexsRtBILVMEn3EZwHbtJdDqdk43sXI8gM3F04JXgs= -github.com/bitfield/script v0.20.2/go.mod h1:l3AZPVAtKQrL03bwh7nlNTUtgrgSWurpJSbtqspYrOA= -github.com/bitfield/script v0.21.0/go.mod h1:l3AZPVAtKQrL03bwh7nlNTUtgrgSWurpJSbtqspYrOA= -github.com/bitfield/script v0.21.1/go.mod h1:l3AZPVAtKQrL03bwh7nlNTUtgrgSWurpJSbtqspYrOA= -github.com/bitfield/script v0.21.2/go.mod h1:l3AZPVAtKQrL03bwh7nlNTUtgrgSWurpJSbtqspYrOA= -github.com/bitfield/script v0.21.3/go.mod h1:l3AZPVAtKQrL03bwh7nlNTUtgrgSWurpJSbtqspYrOA= -github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= -github.com/itchyny/gojq v0.12.7 h1:hYPTpeWfrJ1OT+2j6cvBScbhl0TkdwGM4bc66onUSOQ= -github.com/itchyny/gojq v0.12.7/go.mod h1:ZdvNHVlzPgUf8pgjnuDTmGfHA/21KoutQUJ3An/xNuw= -github.com/itchyny/timefmt-go v0.1.3 h1:7M3LGVDsqcd0VZH2U+x393obrzZisp7C0uEe921iRkU= -github.com/itchyny/timefmt-go v0.1.3/go.mod h1:0osSSCQSASBJMsIZnhAaF1C2fCBTJZXrnj37mG8/c+A= -github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= -github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= -golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220227234510-4e6760a101f9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/_examples/actions/docker_action/octopush.yml b/_examples/actions/docker_action/octopush.yml deleted file mode 100644 index 4279c59..0000000 --- a/_examples/actions/docker_action/octopush.yml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: git.front.kjuulh.io/kjuulh/octopush/blob/main/schema/v1 -name: write-a-readme -select: - repositories: - - git@git.front.kjuulh.io:kjuulh/octopush-test.git - # providers: - # - gitea: https://git.front.kjuulh.io - # organisation: "cibus" -actions: - - type: docker-build - entry: Dockerfile diff --git a/_examples/queries/find_semantic/octopush.yml b/_examples/queries/find_semantic/octopush.yml deleted file mode 100644 index 6952292..0000000 --- a/_examples/queries/find_semantic/octopush.yml +++ /dev/null @@ -1,9 +0,0 @@ -apiVersion: git.front.kjuulh.io/kjuulh/octopush/blob/main/schema/v1 -name: write-a-readme -select: - providers: - - gitea: https://git.front.kjuulh.io - organisation: "cibus" -queries: - - type: grep - query: "releaser" diff --git a/_examples/queries/scrape_readme/octopush.yml b/_examples/queries/scrape_readme/octopush.yml deleted file mode 100644 index f1fe9ff..0000000 --- a/_examples/queries/scrape_readme/octopush.yml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: git.front.kjuulh.io/kjuulh/octopush/blob/main/schema/v1 -name: write-a-readme -select: - repositories: - - git@git.front.kjuulh.io:kjuulh/octopush-test.git - # providers: - # - gitea: https://git.front.kjuulh.io - # organisation: "cibus" -queries: - - type: grep - query: "# README"