Skip to content

Commit

Permalink
Test removing bpftrace and bcc
Browse files Browse the repository at this point in the history
  • Loading branch information
jwk404 committed Sep 18, 2024
1 parent 2b7916b commit e2d72b1
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 95 deletions.
8 changes: 0 additions & 8 deletions .github/scripts/verify-query-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,6 @@ read -r -a fields <<<"$(./query-packages.sh single -o git-url zfs 2>&1)"
test ${#fields[@]} -eq 1
test "${fields[0]}" == 'https://github.com/delphix/zfs.git'

# Expect: "bpftrace bcc true https://github.com/delphix/bpftrace.git"
read -r -a fields <<<"$(./query-packages.sh single -o name,dependencies,can-update,git-url bpftrace 2>&1)"
test ${#fields[@]} -eq 4
test "${fields[0]}" == 'bpftrace'
test "${fields[1]}" == 'bcc'
test "${fields[2]}" == 'true'
test "${fields[3]}" == 'https://github.com/delphix/bpftrace.git'

# Expect that "list all" outputs all directory names under packages/
diff <(ls -1 packages | sort) <(./query-packages.sh list all 2>&1 | sort)

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,11 +281,11 @@ of some of the scripts defined above.
* **package_S3_URL**: Similar to the package_VAR variables above. This is used
to override the default S3 location for where package build-dependencies are
fetched for a given linux-pkg package. For instance, if you are building
bpftrace, which has `PACKAGE_DEPENDENCIES="bcc"` in its config, the
masking, which has `PACKAGE_DEPENDENCIES="adoptopenjdk"` in its config, the
`fetch_dependencies()` stage in the build will fetch the latest build
artifacts of the bcc package from a predetermined S3 location. If you pass
`BCC_S3_URL=s3://path/to/custom/bcc/artifacts` then those artifacts will be
fetched insteasd.
artifacts of the openjdk package from a predetermined S3 location. If you
pass `ADOPTOPENJDK_S3_URL=s3://path/to/custom/adoptopenjdk/artifacts` then
those artifacts will be fetched insteasd.

* **DELPHIX_PACKAGE_MIRROR_MAIN, DELPHIX_PACKAGE_MIRROR_SECONDARY**: When
the [setup.sh](#setupsh) script is run, it will configure the apt sources
Expand Down
2 changes: 0 additions & 2 deletions package-lists/build/main.pkgs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
#

adoptopenjdk
bcc
bpftrace
challenge-response
cloud-init
crash-python
Expand Down
39 changes: 0 additions & 39 deletions packages/bcc/config.sh

This file was deleted.

42 changes: 0 additions & 42 deletions packages/bpftrace/config.sh

This file was deleted.

0 comments on commit e2d72b1

Please sign in to comment.