Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
46d7f7ca
Commit
46d7f7ca
authored
Jan 24, 2019
by
danielqsj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix shellcheck codegen in code-generator
parent
1386b148
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
13 deletions
+10
-13
.shellcheck_failures
hack/.shellcheck_failures
+0
-2
update-codegen.sh
staging/src/k8s.io/code-generator/hack/update-codegen.sh
+6
-6
verify-codegen.sh
staging/src/k8s.io/code-generator/hack/verify-codegen.sh
+4
-5
No files found.
hack/.shellcheck_failures
View file @
46d7f7ca
...
@@ -165,8 +165,6 @@
...
@@ -165,8 +165,6 @@
./staging/src/k8s.io/apiextensions-apiserver/hack/verify-codegen.sh
./staging/src/k8s.io/apiextensions-apiserver/hack/verify-codegen.sh
./staging/src/k8s.io/code-generator/generate-groups.sh
./staging/src/k8s.io/code-generator/generate-groups.sh
./staging/src/k8s.io/code-generator/generate-internal-groups.sh
./staging/src/k8s.io/code-generator/generate-internal-groups.sh
./staging/src/k8s.io/code-generator/hack/update-codegen.sh
./staging/src/k8s.io/code-generator/hack/verify-codegen.sh
./staging/src/k8s.io/csi-api/hack/update-codegen.sh
./staging/src/k8s.io/csi-api/hack/update-codegen.sh
./staging/src/k8s.io/csi-api/hack/verify-codegen.sh
./staging/src/k8s.io/csi-api/hack/verify-codegen.sh
./staging/src/k8s.io/kube-aggregator/hack/build-image.sh
./staging/src/k8s.io/kube-aggregator/hack/build-image.sh
...
...
staging/src/k8s.io/code-generator/hack/update-codegen.sh
View file @
46d7f7ca
...
@@ -22,15 +22,15 @@ set -o pipefail
...
@@ -22,15 +22,15 @@ set -o pipefail
# - --output-base because this script should also be able to run inside the vendor dir of
# - --output-base because this script should also be able to run inside the vendor dir of
# k8s.io/kubernetes. The output-base is needed for the generators to output into the vendor dir
# k8s.io/kubernetes. The output-base is needed for the generators to output into the vendor dir
# instead of the $GOPATH directly. For normal projects this can be dropped.
# instead of the $GOPATH directly. For normal projects this can be dropped.
$(
dirname
${
BASH_SOURCE
})
/../generate-internal-groups.sh all
\
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
/../generate-internal-groups.sh all
\
k8s.io/code-generator/_examples/apiserver k8s.io/code-generator/_examples/apiserver/apis k8s.io/code-generator/_examples/apiserver/apis
\
k8s.io/code-generator/_examples/apiserver k8s.io/code-generator/_examples/apiserver/apis k8s.io/code-generator/_examples/apiserver/apis
\
"example:v1 example2:v1"
\
"example:v1 example2:v1"
\
--output-base
"
$(
dirname
${
BASH_SOURCE
}
)
/../../.."
--output-base
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
/../../.."
$(
dirname
${
BASH_SOURCE
})
/../generate-groups.sh all
\
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
/../generate-groups.sh all
\
k8s.io/code-generator/_examples/crd k8s.io/code-generator/_examples/crd/apis
\
k8s.io/code-generator/_examples/crd k8s.io/code-generator/_examples/crd/apis
\
"example:v1 example2:v1"
\
"example:v1 example2:v1"
\
--output-base
"
$(
dirname
${
BASH_SOURCE
}
)
/../../.."
--output-base
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
/../../.."
$(
dirname
${
BASH_SOURCE
})
/../generate-groups.sh all
\
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
/../generate-groups.sh all
\
k8s.io/code-generator/_examples/MixedCase k8s.io/code-generator/_examples/MixedCase/apis
\
k8s.io/code-generator/_examples/MixedCase k8s.io/code-generator/_examples/MixedCase/apis
\
"example:v1"
\
"example:v1"
\
--output-base
"
$(
dirname
${
BASH_SOURCE
}
)
/../../.."
--output-base
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
/../../.."
staging/src/k8s.io/code-generator/hack/verify-codegen.sh
View file @
46d7f7ca
...
@@ -18,8 +18,7 @@ set -o errexit
...
@@ -18,8 +18,7 @@ set -o errexit
set
-o
nounset
set
-o
nounset
set
-o
pipefail
set
-o
pipefail
SCRIPT_ROOT
=
$(
dirname
"
${
BASH_SOURCE
}
"
)
/..
SCRIPT_ROOT
=
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
/..
SCRIPT_BASE
=
${
SCRIPT_ROOT
}
/../..
DIFFROOT
=
"
${
SCRIPT_ROOT
}
/_examples"
DIFFROOT
=
"
${
SCRIPT_ROOT
}
/_examples"
TMP_DIFFROOT
=
"
${
SCRIPT_ROOT
}
/_tmp/_examples"
TMP_DIFFROOT
=
"
${
SCRIPT_ROOT
}
/_tmp/_examples"
...
@@ -50,6 +49,6 @@ fi
...
@@ -50,6 +49,6 @@ fi
# smoke test
# smoke test
echo
"Smoke testing _example by compiling..."
echo
"Smoke testing _example by compiling..."
go build ./
${
SCRIPT_ROOT
}
/_examples/crd/...
go build ./
"
${
SCRIPT_ROOT
}
"
/_examples/crd/...
go build ./
${
SCRIPT_ROOT
}
/_examples/apiserver/...
go build ./
"
${
SCRIPT_ROOT
}
"
/_examples/apiserver/...
go build ./
${
SCRIPT_ROOT
}
/_examples/MixedCase/...
go build ./
"
${
SCRIPT_ROOT
}
"
/_examples/MixedCase/...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment