Skip to content

Commit

Permalink
Merge pull request #22 from Oats87/build-fix
Browse files Browse the repository at this point in the history
Drone CI Fixes
  • Loading branch information
ibuildthecloud committed Jun 16, 2020
2 parents 32f04ea + e1575d7 commit 4e57c5c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 18 deletions.
20 changes: 4 additions & 16 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ name: k3s-root-linux-amd64
platform:
os: linux
arch: amd64

workspace:
path: /workdir

steps:
- name: build-amd64
Expand All @@ -29,7 +26,7 @@ steps:
checksum_flatten: true
prerelease: true
files:
- "/workdir/dist/k3s-*amd64.tar"
- "dist/k3s-*amd64.tar"
when:
instance:
- drone-publish.rancher.io
Expand All @@ -48,9 +45,6 @@ name: k3s-root-linux-arm64
platform:
os: linux
arch: amd64

workspace:
path: /workdir

steps:
- name: build-arm64
Expand All @@ -73,7 +67,7 @@ steps:
checksum_flatten: true
prerelease: true
files:
- "/workdir/dist/k3s-*arm64.tar"
- "dist/k3s-*arm64.tar"
when:
instance:
- drone-publish.rancher.io
Expand All @@ -92,9 +86,6 @@ name: k3s-root-linux-arm
platform:
os: linux
arch: amd64

workspace:
path: /workdir

steps:
- name: build-arm
Expand All @@ -117,7 +108,7 @@ steps:
checksum_flatten: true
prerelease: true
files:
- "/workdir/dist/k3s-*arm.tar"
- "dist/k3s-*arm.tar"
when:
instance:
- drone-publish.rancher.io
Expand All @@ -136,9 +127,6 @@ name: k3s-root-linux-ppc64le
platform:
os: linux
arch: amd64

workspace:
path: /workdir

steps:
- name: build-ppc64le
Expand All @@ -161,7 +149,7 @@ steps:
checksum_flatten: true
prerelease: true
files:
- "/workdir/dist/k3s-*ppc64le.tar"
- "dist/k3s-*ppc64le.tar"
when:
instance:
- drone-publish.rancher.io
Expand Down
4 changes: 2 additions & 2 deletions scripts/build
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cp -rfv /source/patches/* patches/

for p in patches/*.patch; do patch -p1 -i $p; done

make oldconfig
make
make -s oldconfig
make -s

popd

0 comments on commit 4e57c5c

Please sign in to comment.