Skip to content

Commit

Permalink
Merge pull request #347 from xiaods/dev
Browse files Browse the repository at this point in the history
fix: fix Dockerfile issue
  • Loading branch information
xiaods authored Oct 21, 2024
2 parents 5058851 + 5f0ef85 commit b030929
Show file tree
Hide file tree
Showing 17 changed files with 167 additions and 376 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/builder-arm64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@master
- uses: actions/setup-go@v4
with:
go-version: '1.20.10'
go-version: '1.22.5'
cache-dependency-path: subdir/go.sum
- name: generate resources
run: mkdir -p {build/data,build/static}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@master
- uses: actions/setup-go@v4
with:
go-version: '1.20.10'
go-version: '1.22.5'
cache-dependency-path: subdir/go.sum
- name: check depends
run: sudo apt-get install -y libseccomp-dev
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
ref: 'dev'
- uses: actions/setup-go@v4
with:
go-version: '1.20.10'
go-version: '1.22.5'
cache-dependency-path: subdir/go.sum
- name: generate resources
run: |
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile.dapper
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ ARG SELINUX=true
ENV SELINUX=${SELINUX}

# Set Dapper configuration variables
ENV DAPPER_RUN_ARGS --privileged -v k8e-cache:/go/src/github.com/xiaods/k8e/.cache -v trivy-cache:/root/.cache/trivy \
DAPPER_ENV REPO TAG RELEASE_TAG IMAGE_NAME SKIP_VALIDATE GCLOUD_AUTH GITHUB_TOKEN GOLANG GOOS GOARCH DEBUG \
ENV DAPPER_RUN_ARGS="--privileged -v k3s-cache:/go/src/github.com/k3s-io/k3s/.cache -v trivy-cache:/root/.cache/trivy" \
DAPPER_ENV="REPO TAG DRONE_TAG IMAGE_NAME SKIP_VALIDATE SKIP_IMAGE SKIP_AIRGAP AWS_SECRET_ACCESS_KEY AWS_ACCESS_KEY_ID GITHUB_TOKEN GOLANG GOCOVER DEBUG" \
DAPPER_SOURCE="/go/src/github.com/xiaods/k8e/" \
DAPPER_OUTPUT ./bin ./dist ./build/out ./build/static ./pkg/static ./pkg/deploy \
DAPPER_OUTPUT="./bin ./dist ./build/out ./build/static ./pkg/static ./pkg/deploy" \
DAPPER_DOCKER_SOCKET=true \
CROSS=true \
STATIC_BUILD=true
Expand Down
2 changes: 1 addition & 1 deletion pkg/codegen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func main() {

controllergen.Run(args.Options{
OutputPackage: "github.com/xiaods/k8e/pkg/generated",
Boilerplate: "scripts/boilerplate.go.txt",
Boilerplate: "hack/boilerplate.go.txt",
Groups: map[string]args.Group{
"k8e.cattle.io": {
Types: []interface{}{
Expand Down
23 changes: 0 additions & 23 deletions pkg/deploy/zz_generated_bindata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions pkg/generated/clientset/versioned/clientset.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 0 additions & 19 deletions pkg/generated/clientset/versioned/doc.go

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

129 changes: 9 additions & 120 deletions pkg/generated/clientset/versioned/typed/k8e.cattle.io/v1/addon.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b030929

Please sign in to comment.