Skip to content

Commit

Permalink
[wip] debug failing ci
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksa Sarai <asarai@suse.de>
  • Loading branch information
cyphar committed Apr 26, 2023
1 parent a6b142e commit e926e70
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 28 deletions.
13 changes: 0 additions & 13 deletions docs/generate/go.mod

This file was deleted.

15 changes: 0 additions & 15 deletions man/go.mod

This file was deleted.

2 changes: 2 additions & 0 deletions scripts/docs/generate-man.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ set -Eeuo pipefail

export GO111MODULE=auto

set -x
# build gen-manpages
go build -mod=vendor -modfile=vendor.mod -tags manpages -o /tmp/gen-manpages ./man/generate.go
# build go-md2man
go build -mod=vendor -modfile=vendor.mod -o /tmp/go-md2man ./vendor/github.com/cpuguy83/go-md2man/v2
set +x

mkdir -p man/man1
(set -x ; /tmp/gen-manpages --root "." --target "$(pwd)/man/man1")
Expand Down
2 changes: 2 additions & 0 deletions scripts/docs/generate-md.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ function clean {

trap clean EXIT

set -x
# build docsgen
go build -mod=vendor -modfile=vendor.mod -tags docsgen -o /tmp/docsgen ./docs/generate/generate.go
set +x

# yaml generation on docs repo needs the cli.md file: https://github.com/docker/cli/pull/3924#discussion_r1059986605
# but markdown generation docker.md atm. While waiting for a fix in cli-docs-tool
Expand Down
2 changes: 2 additions & 0 deletions scripts/docs/generate-yaml.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ set -Eeuo pipefail

export GO111MODULE=auto

set -x
# build docsgen
go build -mod=vendor -modfile=vendor.mod -tags docsgen -o /tmp/docsgen ./docs/generate/generate.go
set +x

mkdir -p docs/yaml
set -x
Expand Down

0 comments on commit e926e70

Please sign in to comment.