Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump docker/metadata-action from 5.5.0 to 5.5.1 #92

Open
wants to merge 171 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
171 commits
Select commit Hold shift + click to select a range
ef4e0ad
Running `cargo xtask build-proto` resulted in some changes
anfredette Nov 27, 2023
2bd324e
scripts: Update scripts to still cleanup bpfd
Billy99 Nov 28, 2023
513052a
docs: update the drawings with bpfman
Billy99 Nov 28, 2023
b63dfb8
docs: Fix release documentation
Billy99 Nov 28, 2023
6cf170a
Update Project Logo
dave-tucker Nov 29, 2023
fd90a6f
update OLM bpfman-operator logo change site colors
astoycos Nov 29, 2023
0cef914
Merge pull request #850 from Billy99/billy99-bpfd-cleanup
mergify[bot] Nov 30, 2023
2688153
bpfman: small clippy fix
astoycos Nov 30, 2023
4181fe8
metrics: add map and link metrics
astoycos Nov 30, 2023
d472f5f
Update Logo Based on Feedback
dave-tucker Dec 1, 2023
fc6038d
Merge pull request #851 from dave-tucker/update-logo
dave-tucker Dec 1, 2023
1463dd9
docs: Simplify api-docs generation
dave-tucker Dec 1, 2023
6304ab8
Merge pull request #852 from dave-tucker/docs-config
dave-tucker Dec 1, 2023
297cc95
ci: Set docs alias in seperate step
dave-tucker Dec 1, 2023
e99f664
ci: Fix bad escaping
dave-tucker Dec 1, 2023
f6907f5
ci: Set git user in docs build
dave-tucker Dec 1, 2023
696fbdd
ci: Docs. Checkout gh-pages branch first
dave-tucker Dec 1, 2023
afafa66
docs: Make logo smaller
dave-tucker Dec 1, 2023
5b2655a
build(deps): bump docker/metadata-action from 5.0.0 to 5.2.0
dependabot[bot] Dec 4, 2023
c2fc5e9
Merge pull request #855 from bpfman/dependabot/github_actions/docker/…
mergify[bot] Dec 4, 2023
a358ee7
build(deps): bump clap from 4.4.8 to 4.4.10
dependabot[bot] Dec 4, 2023
3dc3f34
build(deps): bump prost-types from 0.12.2 to 0.12.3
dependabot[bot] Dec 4, 2023
90156cb
Merge pull request #856 from bpfman/dependabot/cargo/clap-4.4.10
mergify[bot] Dec 4, 2023
5f248e0
Merge pull request #857 from bpfman/dependabot/cargo/prost-types-0.12.3
mergify[bot] Dec 4, 2023
53c10b0
Merge pull request #846 from anfredette/bpfman-proto
mergify[bot] Dec 4, 2023
86a18ce
docs: Update README
dave-tucker Dec 1, 2023
fcc3091
Merge pull request #854 from dave-tucker/readme-clearer
dave-tucker Dec 6, 2023
2c8354d
Support attaching uprobes to targets inside containers
anfredette Sep 22, 2023
d5f0567
Add integration test for uprobes in containers.
anfredette Nov 13, 2023
4d98ef1
metrics: Update local metrics deployment
astoycos Dec 1, 2023
fd55088
Merge pull request #853 from astoycos/add-map-info
mergify[bot] Dec 7, 2023
7f36479
bpfman: in memory db setup + oci_utils conversion
astoycos Dec 8, 2023
812b2da
build(deps): bump clap from 4.4.10 to 4.4.11
dependabot[bot] Dec 11, 2023
f3e48bb
build(deps): bump tokio from 1.34.0 to 1.35.0
dependabot[bot] Dec 11, 2023
fb0f859
build(deps): bump docker/metadata-action from 5.2.0 to 5.3.0
dependabot[bot] Dec 11, 2023
30e0709
build(deps): bump actions/setup-go from 4 to 5
dependabot[bot] Dec 11, 2023
b7d4661
build(deps): bump apache/skywalking-eyes
dependabot[bot] Dec 11, 2023
8fd5b14
Merge pull request #862 from bpfman/dependabot/cargo/clap-4.4.11
mergify[bot] Dec 11, 2023
6f14243
Merge pull request #863 from bpfman/dependabot/cargo/tokio-1.35.0
mergify[bot] Dec 11, 2023
a682bd0
Merge pull request #864 from bpfman/dependabot/github_actions/docker/…
mergify[bot] Dec 11, 2023
8e96030
Merge pull request #865 from bpfman/dependabot/github_actions/actions…
mergify[bot] Dec 11, 2023
9bce7a0
Merge pull request #866 from bpfman/dependabot/github_actions/apache/…
mergify[bot] Dec 11, 2023
7fc1cf7
build(deps): bump actions/setup-python from 4 to 5
dependabot[bot] Dec 11, 2023
14e6ab9
Merge pull request #867 from bpfman/dependabot/github_actions/actions…
mergify[bot] Dec 11, 2023
750c3af
packaging: Add RPMs
dave-tucker Nov 13, 2023
79a870a
Merge pull request #784 from anfredette/uprobe-containers
mergify[bot] Dec 11, 2023
7d23231
Merge pull request #848 from dave-tucker/rpms
dave-tucker Dec 11, 2023
b565546
cargo: Set development versions
dave-tucker Dec 11, 2023
3893f0e
packaging: Add packit configuration
dave-tucker Dec 11, 2023
89ce22a
Merge pull request #868 from dave-tucker/release
dave-tucker Dec 11, 2023
b269429
packaging: Attempt to fix packit build issues
dave-tucker Dec 11, 2023
5809eed
packit: Use array in actions block
dave-tucker Dec 11, 2023
ef232a2
packaing: Use bash -c for cargo metadata command
dave-tucker Dec 11, 2023
3b60cc7
packaging: Move actions under the copr_build job
dave-tucker Dec 11, 2023
836e14d
packaging: Revert specfile changes made by packit-cli
dave-tucker Dec 11, 2023
85a8155
integration-test: edit pull_bytecode test
astoycos Dec 8, 2023
ccaf5bb
packit: Fix missing quotation mark
dave-tucker Dec 11, 2023
70afbf4
packit: Add openssl-devel for cargo-vendor-filterer
dave-tucker Dec 11, 2023
cf61556
packit: Revert owner/project changes until builds are working
dave-tucker Dec 11, 2023
a35dc33
packit: Attempt to fix quoting in get-current-version
dave-tucker Dec 11, 2023
cc8c4d0
packit: Fix quoting in fix-spec-file
dave-tucker Dec 11, 2023
876af9e
packit: Use .packit.sh to avoid shell expansion issues
dave-tucker Dec 11, 2023
81d397b
packaging: Fix autosetup
dave-tucker Dec 11, 2023
313f652
packit: Build pre-release RPMs on @ebpf-sig/bpfman-next
dave-tucker Dec 11, 2023
7d6354a
Merge pull request #861 from astoycos/sled-integration
mergify[bot] Dec 11, 2023
c87e0de
packaging: Fix missing systemd unit
dave-tucker Dec 11, 2023
a5c1dde
packaging: Match install command syntax
dave-tucker Dec 11, 2023
ebfdbfa
README: Simplify badges + Add COPR badge
dave-tucker Dec 11, 2023
ce0fa39
packit: Set the release version properly
dave-tucker Dec 11, 2023
3f6c026
Merge pull request #869 from dave-tucker/packaging-tweaks
dave-tucker Dec 11, 2023
11af61c
packit: Fix sed command
dave-tucker Dec 11, 2023
1c3e9cd
packaging: Correct bpfman.service path
dave-tucker Dec 11, 2023
cf89c3a
packaging: Fix package license and remove some docs
dave-tucker Dec 12, 2023
5fae8ef
packit: Add job for copr release builds
dave-tucker Dec 12, 2023
6786442
blog: Fix typo and update snippet
dave-tucker Dec 12, 2023
fe78db9
bpfman: cli: Refactor command handling
dave-tucker Dec 12, 2023
0e94b0b
.fmf: Initilize fmf
dave-tucker Dec 12, 2023
b98ebfd
plans: Add basic smoke test for bpfman
dave-tucker Dec 12, 2023
94bdfed
Merge pull request #870 from dave-tucker/refactor-commands
mergify[bot] Dec 12, 2023
d053f89
xtask: add man and completion script generation
weiyuhang2011 Dec 15, 2023
e168814
build(deps): bump thiserror from 1.0.50 to 1.0.51
dependabot[bot] Dec 18, 2023
781b96b
build(deps): bump syn from 2.0.39 to 2.0.41
dependabot[bot] Dec 18, 2023
fc9fe7b
build(deps): bump sigstore/cosign-installer from 3.2.0 to 3.3.0
dependabot[bot] Dec 18, 2023
c900a0e
Merge pull request #876 from bpfman/dependabot/cargo/thiserror-1.0.51
mergify[bot] Dec 18, 2023
e8ff0b5
Merge pull request #877 from bpfman/dependabot/cargo/syn-2.0.41
mergify[bot] Dec 18, 2023
66a4633
Merge pull request #880 from bpfman/dependabot/github_actions/sigstor…
mergify[bot] Dec 18, 2023
41f3c38
bpfman actions: remove put-issue-in-project
astoycos Dec 20, 2023
c6fc85f
bpfman: update -artifact
astoycos Dec 20, 2023
9009f13
bpfman-actions: use unique artifact names
astoycos Dec 20, 2023
6c3f786
bpfman: Remove grpc section from config
Billy99 Dec 18, 2023
2e77f1f
Merge pull request #884 from astoycos/fix-artifact
mergify[bot] Dec 21, 2023
35fa614
Merge pull request #883 from astoycos/remove-action
mergify[bot] Dec 21, 2023
e3fde8b
Merge pull request #885 from Billy99/billy99-configfile
mergify[bot] Dec 21, 2023
4f91a2e
Merge pull request #873 from weiyuhang2011/bpfmanpage
mergify[bot] Dec 21, 2023
235077a
bpfman: add support for socket activation
Billy99 Dec 6, 2023
ac0d261
Merge pull request #872 from Billy99/billy99-socket-activation-2
mergify[bot] Dec 22, 2023
7642821
bpfman: use a global lazy_static var the db
astoycos Dec 13, 2023
772cc8e
bpfman: re-write the database layer
astoycos Dec 14, 2023
84c1956
Merge pull request #874 from astoycos/sled-integration-3
mergify[bot] Dec 22, 2023
f3db789
build(deps): bump apache/skywalking-eyes
dependabot[bot] Dec 25, 2023
3c1ce3d
build(deps): bump docker/metadata-action from 5.3.0 to 5.4.0
dependabot[bot] Dec 25, 2023
a2c7da4
build(deps): bump inventory from 0.3.13 to 0.3.14
dependabot[bot] Dec 25, 2023
d152ab4
build(deps): bump futures from 0.3.29 to 0.3.30
dependabot[bot] Dec 25, 2023
4570ef4
build(deps): bump tokio from 1.35.0 to 1.35.1
dependabot[bot] Dec 25, 2023
e3cf5d9
Merge pull request #892 from bpfman/dependabot/cargo/inventory-0.3.14
mergify[bot] Dec 25, 2023
1a08225
Merge pull request #893 from bpfman/dependabot/cargo/futures-0.3.30
mergify[bot] Dec 25, 2023
19adee4
Merge pull request #894 from bpfman/dependabot/cargo/tokio-1.35.1
mergify[bot] Dec 25, 2023
3e0ae03
build(deps): bump tempfile from 3.8.1 to 3.9.0
dependabot[bot] Jan 1, 2024
15d54c0
build(deps): bump serde_json from 1.0.108 to 1.0.109
dependabot[bot] Jan 1, 2024
c2f93b1
build(deps): bump async-trait from 0.1.74 to 0.1.76
dependabot[bot] Jan 1, 2024
6d091c1
Merge pull request #896 from bpfman/dependabot/cargo/tempfile-3.9.0
mergify[bot] Jan 1, 2024
f96b29d
Merge pull request #897 from bpfman/dependabot/cargo/serde_json-1.0.109
mergify[bot] Jan 1, 2024
e0a60d6
Merge pull request #900 from bpfman/dependabot/cargo/async-trait-0.1.76
mergify[bot] Jan 1, 2024
137b810
build(deps): bump quote from 1.0.33 to 1.0.34
dependabot[bot] Jan 1, 2024
007260d
build(deps): bump syn from 2.0.41 to 2.0.43
dependabot[bot] Jan 1, 2024
16d16c9
Merge pull request #898 from bpfman/dependabot/cargo/quote-1.0.34
mergify[bot] Jan 1, 2024
0a0e6ce
Merge pull request #890 from bpfman/dependabot/github_actions/docker/…
mergify[bot] Jan 3, 2024
b37cf3c
Merge pull request #899 from bpfman/dependabot/cargo/syn-2.0.43
mergify[bot] Jan 3, 2024
60f07cf
Merge pull request #889 from bpfman/dependabot/github_actions/apache/…
mergify[bot] Jan 4, 2024
48889c4
move sled getters/setters to utils
astoycos Jan 4, 2024
088e8f2
docs: Community Meeting Minutes - Jan 4, 2024
Billy99 Jan 4, 2024
2906484
bpfman: Re-async all the things
dave-tucker Jan 5, 2024
9307e6c
build(deps): bump clap_mangen from 0.2.15 to 0.2.16
dependabot[bot] Jan 8, 2024
4737fae
build(deps): bump thiserror from 1.0.51 to 1.0.55
dependabot[bot] Jan 8, 2024
bb8c9df
build(deps): bump docker/metadata-action from 5.4.0 to 5.5.0
dependabot[bot] Jan 8, 2024
cc7c606
Merge pull request #904 from bpfman/dependabot/cargo/clap_mangen-0.2.16
mergify[bot] Jan 8, 2024
e96b7b5
build(deps): bump clap_complete from 4.4.4 to 4.4.6
dependabot[bot] Jan 8, 2024
5140dd0
build(deps): bump clap from 4.4.11 to 4.4.13
dependabot[bot] Jan 8, 2024
4c6306e
Merge pull request #907 from bpfman/dependabot/cargo/thiserror-1.0.55
mergify[bot] Jan 8, 2024
f7509d5
build(deps): bump quote from 1.0.34 to 1.0.35
dependabot[bot] Jan 8, 2024
390e60a
Merge pull request #905 from bpfman/dependabot/cargo/clap_complete-4.4.6
mergify[bot] Jan 8, 2024
0f68053
Merge pull request #908 from bpfman/dependabot/cargo/clap-4.4.13
mergify[bot] Jan 8, 2024
a17964b
bpfman: Tidy up shutdown handling
dave-tucker Jan 5, 2024
a242db8
Merge pull request #902 from Billy99/billy99-2024-01-04-cm-blog
mergify[bot] Jan 8, 2024
eaee6ac
Merge pull request #909 from bpfman/dependabot/github_actions/docker/…
mergify[bot] Jan 8, 2024
82bf8e3
Merge pull request #906 from bpfman/dependabot/cargo/quote-1.0.35
mergify[bot] Jan 8, 2024
c6d1da2
Merge pull request #903 from dave-tucker/reasync
mergify[bot] Jan 8, 2024
a2e058d
use sled for xdp dispatcher
astoycos Jan 4, 2024
dca351d
Merge pull request #901 from astoycos/sled-fixes
mergify[bot] Jan 12, 2024
0d8ca24
use sled for xdp dispatcher
astoycos Jan 4, 2024
4c14e4b
build(deps): bump clap_mangen from 0.2.16 to 0.2.17
dependabot[bot] Jan 15, 2024
fab8f0b
build(deps): bump thiserror from 1.0.55 to 1.0.56
dependabot[bot] Jan 15, 2024
2dd21a9
build(deps): bump syn from 2.0.43 to 2.0.48
dependabot[bot] Jan 15, 2024
0ed7903
build(deps): bump opentelemetry_sdk from 0.21.1 to 0.21.2
dependabot[bot] Jan 15, 2024
2a30349
build(deps): bump serde from 1.0.193 to 1.0.195
dependabot[bot] Jan 15, 2024
a35db1e
Merge pull request #917 from bpfman/dependabot/cargo/clap_mangen-0.2.17
mergify[bot] Jan 15, 2024
b22ef58
Merge pull request #919 from bpfman/dependabot/cargo/syn-2.0.48
mergify[bot] Jan 15, 2024
c9bddc6
Merge pull request #918 from bpfman/dependabot/cargo/thiserror-1.0.56
mergify[bot] Jan 15, 2024
be39221
use sled for TC dispatcher
astoycos Jan 8, 2024
4409ba5
Merge pull request #920 from bpfman/dependabot/cargo/opentelemetry_sd…
mergify[bot] Jan 16, 2024
df582c6
Merge pull request #921 from bpfman/dependabot/cargo/serde-1.0.195
mergify[bot] Jan 16, 2024
29da4f3
fixup xdp_pass_private test
astoycos Jan 16, 2024
1d570f8
fixup operator undeploy
astoycos Jan 16, 2024
a78cc6d
Merge pull request #916 from astoycos/fix-private
mergify[bot] Jan 17, 2024
da44a71
Merge pull request #910 from astoycos/sled-tc-dispatcher
mergify[bot] Jan 17, 2024
835c9b1
article: sled-db conversion
astoycos Jan 10, 2024
e71adf4
build(deps): bump actions/cache from 3 to 4
dependabot[bot] Jan 22, 2024
623d1fa
build(deps): bump clap from 4.4.13 to 4.4.18
dependabot[bot] Jan 22, 2024
9274bd2
Merge pull request #926 from bpfman/dependabot/github_actions/actions…
mergify[bot] Jan 22, 2024
b55b235
build(deps): bump assert_cmd from 2.0.12 to 2.0.13
dependabot[bot] Jan 22, 2024
6aa9e56
build(deps): bump anyhow from 1.0.75 to 1.0.79
dependabot[bot] Jan 22, 2024
9c614a6
build(deps): bump clap_complete from 4.4.6 to 4.4.8
dependabot[bot] Jan 22, 2024
68684e3
build(deps): bump base64 from 0.21.5 to 0.21.7
dependabot[bot] Jan 22, 2024
4c25b75
Merge pull request #927 from bpfman/dependabot/cargo/clap-4.4.18
mergify[bot] Jan 22, 2024
773a3e0
Merge pull request #928 from bpfman/dependabot/cargo/assert_cmd-2.0.13
mergify[bot] Jan 22, 2024
274cd29
Merge pull request #931 from bpfman/dependabot/cargo/base64-0.21.7
mergify[bot] Jan 22, 2024
dbfb297
Merge pull request #929 from bpfman/dependabot/cargo/anyhow-1.0.79
mergify[bot] Jan 22, 2024
3605fa2
Merge pull request #930 from bpfman/dependabot/cargo/clap_complete-4.4.8
mergify[bot] Jan 22, 2024
d1345dc
Merge pull request #911 from astoycos/sled-article
mergify[bot] Jan 22, 2024
71026f0
add daemonless doc to website
astoycos Jan 22, 2024
579111f
build(deps): bump docker/metadata-action from 5.5.0 to 5.5.1
dependabot[bot] Feb 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .fmf/version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1
36 changes: 21 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Check License Header
uses: apache/skywalking-eyes@a790ab8dd23a7f861c18bd6aaa9b012e3a234bce
uses: apache/skywalking-eyes@ed436a5593c63a25f394ea29da61b0ac3731a9fe

build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:

- name: Archive bpfman Release Binaries
if: startsWith(github.ref, 'refs/tags/v')
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: bpfman-release
path: |
Expand All @@ -116,9 +116,9 @@ jobs:
RUST_BACKTRACE: full

- name: Archive Rust code coverage results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: coverage
name: coverage-rust
path: lcov.info
if-no-files-found: error

Expand All @@ -130,7 +130,7 @@ jobs:
working-directory: ./bpfman-operator
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: "1.21"

Expand Down Expand Up @@ -163,9 +163,9 @@ jobs:
run: make test

- name: Archive Go code coverage results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: coverage
name: coverage-go
path: ./bpfman-operator/cover.out
if-no-files-found: error

Expand Down Expand Up @@ -216,7 +216,7 @@ jobs:
run: sleep 5

- name: Verify the bpfman systemd service is active
run: systemctl is-active bpfman
run: systemctl is-active bpfman.socket

- name: Verify the CLI can reach bpfman
run: sudo bpfman list
Expand All @@ -234,6 +234,7 @@ jobs:
BPFMAN_IMG: "quay.io/bpfman/bpfman:int-test"
BPFMAN_AGENT_IMG: "quay.io/bpfman/bpfman-agent:int-test"
BPFMAN_OPERATOR_IMG: "quay.io/bpfman/bpfman-operator:int-test"
XDP_PASS_PRIVATE_IMAGE_CREDS: ${{ secrets.XDP_PASS_PRIVATE_IMAGE_CREDS }}
steps:
- name: Install dependencies
run: |
Expand All @@ -246,12 +247,12 @@ jobs:
libbpf-dev

- name: setup golang
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: "^1.19"

- name: cache go modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-build-codegen-${{ hashFiles('**/go.sum') }}
Expand Down Expand Up @@ -283,7 +284,7 @@ jobs:
## Upload diagnostics if integration test step failed.
- name: upload diagnostics
if: ${{ failure() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: kubernetes-integration-test-diag
path: /tmp/ktf-diag*
Expand All @@ -295,10 +296,15 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Download coverage artifacts
uses: actions/download-artifact@v3
- name: Download golang coverage artifacts
uses: actions/download-artifact@v4
with:
name: coverage
name: coverage-go

- name: Download rust coverage artifacts
uses: actions/download-artifact@v4
with:
name: coverage-rust

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
Expand All @@ -322,7 +328,7 @@ jobs:
run: |
echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: bpfman-release

Expand Down
46 changes: 46 additions & 0 deletions .github/workflows/docs-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: bpfman-docs

on: # yamllint disable-line rule:truthy
push:
branches: [main]
tags:
- "v*"

jobs:
build-docs:
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- uses: actions/checkout@v4
with:
ref: gh-pages
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.8
- uses: actions/setup-go@v5
with:
go-version: "1.21"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt

- name: Build API docs
run: |
make -C bpfman-operator apidocs.html

- name: Configure Git user
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"

- name: Deploy Docs (Release Version)
if: startsWith(github.ref_name, 'v')
run: |
mike deploy --push --update-aliases ${{ github.ref_name }} latest

- name: Deploy Docs (Development Version)
if: github.ref_name == 'main'
run: |
mike deploy --push main
6 changes: 3 additions & 3 deletions .github/workflows/image-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -355,12 +355,12 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
if: ${{ matrix.image.bpf_build_wrapper == 'go' }}
with:
go-version: "1.21"

- uses: sigstore/cosign-installer@v3.2.0
- uses: sigstore/cosign-installer@v3.3.0

- uses: actions/checkout@v4
if: ${{ matrix.image.bpf_build_wrapper == 'rust' }}
Expand Down Expand Up @@ -426,7 +426,7 @@ jobs:

- name: Extract metadata (tags, labels) for image
id: meta
uses: docker/metadata-action@v5.0.0
uses: docker/metadata-action@v5.5.1
with:
images: ${{ matrix.image.registry }}/${{ matrix.image.repository }}/${{ matrix.image.image }}
tags: ${{ matrix.image.tags }}
Expand Down
18 changes: 0 additions & 18 deletions .github/workflows/put-issue-in-project.yaml

This file was deleted.

8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,11 @@ tests/_tmp

# Ignore compiled C files
.output

# Ignore docs
site/

# RPM build artifacts
*.tar.gz
*.rpm
results_*/
9 changes: 9 additions & 0 deletions .packit.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env bash

GIT_SHA=$(git rev-parse HEAD)
GIT_SHORT_SHA=$(git rev-parse --short HEAD)

sed -i "s/GITSHA/${GIT_SHA}/g" bpfman.spec
sed -i "s/GITSHORTSHA/${GIT_SHORT_SHA}/g" bpfman.spec

sed -i -r "s/Release:(\s*)\S+/Release:\1${PACKIT_RPMSPEC_RELEASE}%{?dist}/" bpfman.spec
49 changes: 49 additions & 0 deletions .packit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
downstream_package_name: bpfman
upstream_project_url: https://github.com/bpfman/bpfman
specfile_path: bpfman.spec
prerelease_suffix_pattern: ([.\-_~^]?)(dev|alpha|beta|rc|pre(view)?)([.\-_]?\d+)?
srpm_build_deps:
- cargo
- rust
- git
- jq
- openssl-devel
actions:
fix-spec-file:
- "bash .packit.sh"
get-current-version:
- bash -c 'cargo metadata --format-version 1 | jq -r ".packages[] | select(.name == \"bpfman\") | .version"'
post-upstream-clone:
bash -c 'if [[ ! -d /var/tmp/cargo-vendor-filterer ]]; then git clone https://github.com/coreos/cargo-vendor-filterer.git /var/tmp/cargo-vendor-filterer; fi &&
cd /var/tmp/cargo-vendor-filterer &&
cargo build &&
cd - &&
cp /var/tmp/cargo-vendor-filterer/target/debug/cargo-vendor-filterer . &&
./cargo-vendor-filterer --format tar.gz --prefix vendor bpfman-bpfman-vendor.tar.gz'
jobs:
- job: copr_build
trigger: commit
branch: main
specfile_path: bpfman.spec
owner: "@ebpf-sig"
project: "bpfman-next"
targets:
- fedora-all
- job: tests
trigger: commit
targets:
- fedora-all
specfile_path: bpfman.spec
- job: copr_build
trigger: release
branch: main
specfile_path: bpfman.spec
owner: "@ebpf-sig"
project: "bpfman"
targets:
- fedora-all
- job: tests
trigger: release
targets:
- fedora-all
specfile_path: bpfman.spec
Loading
Loading