You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would expect that a package build with build-package isn't rebuild once I run make ARCH=<my-arch>
What really happened?
Any package build first with build-package is rebuild when make ARCH=<my-arch> is run:
❯ PACKAGE=cni make twoliter build-package
Found Twoliter v0.5.0 installed.
Skipping installation.
[2024-10-18T00:43:25Z INFO twoliter::project::lock] Resolving project references to check against lock file
[2024-10-18T00:43:25Z INFO twoliter::project::lock::image] Resolving dependency image dependency '[email protected]/bottlerocket/bottlerocket-sdk:v0.46.0'.
[cargo-make] INFO - cargo make 0.36.13
[cargo-make] INFO - Calling cargo metadata to extract project info
[cargo-make] INFO - Cargo metadata done
[cargo-make] INFO - Build File: <got-you>/Makefile.toml
[cargo-make] INFO - Task: build-package
[cargo-make] INFO - Profile: development
[cargo-make] INFO - Running Task: check-cargo-version
[cargo-make] INFO - Running Task: setup
[cargo-make] INFO - Running Task: setup-build
[cargo-make] INFO - Running Task: fetch-sdk
[cargo-make] INFO - Running Task: fetch-sources
[cargo-make] INFO - Running Task: fetch-vendored
[cargo-make] INFO - Running Task: publish-setup
00:43:28 [INFO] Found infra config at path: <got-you>/Infra.toml
00:43:28 [INFO] No repo config in'<got-you>/Infra.toml' - using local roles/keys
[cargo-make] INFO - Running Task: cargo-metadata
[cargo-make] INFO - Running Task: validate-kits
[cargo-make] INFO - Running Task: build-package
Compiling cni v0.1.0 (<got-you>/kit/packages/cni)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.31s
[cargo-make] INFO - Build Done in 18.05 seconds.
❯ make ARCH=x86_64
Found Twoliter v0.5.0 installed.
Skipping installation.
[2024-10-18T00:43:54Z INFO twoliter::project::lock] Resolving project references to check against lock file
[2024-10-18T00:43:54Z INFO twoliter::project::lock::image] Resolving dependency image dependency '[email protected]/bottlerocket/bottlerocket-sdk:v0.46.0'.
[2024-10-18T00:43:55Z INFO twoliter::project::lock] Extracting kit dependencies. dependencies=[]
[2024-10-18T00:43:55Z INFO twoliter::project::lock] Resolving project references to check against lock file
[2024-10-18T00:43:55Z INFO twoliter::project::lock::image] Resolving dependency image dependency '[email protected]/bottlerocket/bottlerocket-sdk:v0.46.0'.
[cargo-make] INFO - cargo make 0.36.13
[cargo-make] INFO - Calling cargo metadata to extract project info
[cargo-make] INFO - Cargo metadata done
[cargo-make] INFO - Build File: <got-you>/Makefile.toml
[cargo-make] INFO - Task: build-kit
[cargo-make] INFO - Profile: development
[cargo-make] INFO - Running Task: check-cargo-version
[cargo-make] INFO - Running Task: setup
[cargo-make] INFO - Running Task: setup-build
[cargo-make] INFO - Running Task: fetch-sdk
[cargo-make] INFO - Running Task: fetch-sources
[cargo-make] INFO - Running Task: fetch-vendored
[cargo-make] INFO - Running Task: publish-setup
00:44:01 [INFO] Found infra config at path: <got-you>/kit/Infra.toml
00:44:01 [INFO] No repo config in'<got-you>/kit/Infra.toml' - using local roles/keys
[cargo-make] INFO - Running Task: cargo-metadata
[cargo-make] INFO - Running Task: validate-kits
[cargo-make] INFO - Running Task: build-kit
Compiling cni v0.1.0 (<got-you>/packages/cni)
Compiling bottlerocket-core-kit v0.1.0 (<got-you>/kits/bottlerocket-core-kit)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.21s
[cargo-make] INFO - Build Done in 35.96 seconds.
The text was updated successfully, but these errors were encountered:
What's the problem
I would expect that a package build with
build-package
isn't rebuild once I runmake ARCH=<my-arch>
What really happened?
Any package build first with
build-package
is rebuild whenmake ARCH=<my-arch>
is run:The text was updated successfully, but these errors were encountered: