Skip to content

Commit

Permalink
Don't output artefacts to the dist/ directory...duh
Browse files Browse the repository at this point in the history
  • Loading branch information
jiceatscion committed Feb 28, 2024
1 parent 5219f8f commit 57ec742
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
18 changes: 9 additions & 9 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ steps:
- label: "Package :debian:"
command:
- make dist-deb BFLAGS="--file_name_version=$(tools/git-version)"
- cd dist;
- tar -chaf scion-deb-amd64.tar.gz *_amd64.deb
- tar -chaf scion-deb-arm64.tar.gz *_arm64.deb
- tar -chaf scion-deb-i386.tar.gz *_i386.deb
- tar -chaf scion-deb-armel.tar.gz *_armel.deb
- cd installables;
- tar -chaf scion-deb-amd64.tar.gz *_$(tools/git-version)_amd64.deb
- tar -chaf scion-deb-arm64.tar.gz *_$(tools/git-version)_arm64.deb
- tar -chaf scion-deb-i386.tar.gz *_$(tools/git-version)_i386.deb
- tar -chaf scion-deb-armel.tar.gz *_$(tools/git-version)_armel.deb
artifact_paths:
- "dist/*.tar.gz"
- "installables/*.tar.gz"
plugins:
- scionproto/metahook#v0.3.0:
post-artifact: |
Expand All @@ -48,10 +48,10 @@ steps:
- label: "Package :openwrt:"
command:
- make dist-openwrt BFLAGS="--file_name_version=$(tools/git-version)"
- cd dist;
- tar -chaf scion-openwrt-x86_64.tar.gz *_x86_64.ipk
- cd installables;
- tar -chaf scion-openwrt-x86_64.tar.gz *_$(tools/git-version)_x86_64.ipk
artifact_paths:
- "dist/*.tar.gz"
- "installables/*.tar.gz"
plugins:
- scionproto/metahook#v0.3.0:
post-artifact: |
Expand Down
14 changes: 7 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,20 @@ build:
dist-deb:
bazel build //dist:deb_all $(BFLAGS)
@ # These artefacts have unique names but varied locations. Link them somewhere convenient.
@ mkdir -p dist
@ cd dist ; ln -sfv ../bazel-out/*/bin/dist/*.deb .
@ mkdir -p installables
@ cd installables ; ln -sfv ../bazel-out/*/bin/dist/*.deb .

dist-openwrt:
bazel build //dist:openwrt_all $(BFLAGS)
@ # These artefacts have unique names but varied locations. Link them somewhere convenient.
@ mkdir -p dist
@ cd dist ; ln -sfv ../bazel-out/*/bin/dist/*.ipk .
@ mkdir -p installables
@ cd installables ; ln -sfv ../bazel-out/*/bin/dist/*.ipk .

dist-openwrt-testing:
bazel build //dist:openwrt_testing_all $(BFLAGS)
@ # These artefacts have unique names but varied locations. Link them somewhere convenient.
@ mkdir -p dist
@ cd dist ; ln -sfv ../bazel-out/*/bin/dist/*.ipk .
@ mkdir -p installables
@ cd installables ; ln -sfv ../bazel-out/*/bin/dist/*.ipk .

# all: performs the code-generation steps and then builds; the generated code
# is git controlled, and therefore this is only necessary when changing the
Expand All @@ -46,7 +46,7 @@ clean:
scrub:
bazel clean --expunge
rm -f bin/*
rm -f dist/*
rm -f installables/*

test:
bazel test --config=unit_all
Expand Down

0 comments on commit 57ec742

Please sign in to comment.