-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The whereabouts image is supposed to install the binaries on the host it's running on. For this, it runs a bash script, which is why we still need a few stage packages. Note that the helm chart uses pgrep in a readiness / liveness probe. We can no longer use ensure_image_contains_paths to check if files exist in the rock images, since they are now bare-based. Instead, we can use ensure_image_contains_paths_bare, which checks the image layers instead. Because of this, we need sufficient permissions to check the /var/lib/docker folder.
- Loading branch information
1 parent
2fe3070
commit 4afeea1
Showing
5 changed files
with
26 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ description: | | |
license: Apache-2.0 | ||
version: 0.5.4 | ||
|
||
base: [email protected] | ||
base: bare | ||
build-base: [email protected] | ||
|
||
platforms: | ||
|
@@ -33,6 +33,12 @@ parts: | |
source-type: git | ||
source-tag: v${CRAFT_PROJECT_VERSION} | ||
source-depth: 1 | ||
stage-packages: | ||
- bash | ||
- coreutils | ||
- sed | ||
# Needed for pgrep, which is used as a liveness / readiness probe. | ||
- procps | ||
build-snaps: | ||
- go/1.16/stable | ||
build-environment: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ description: | | |
license: Apache-2.0 | ||
version: 0.6.1 | ||
|
||
base: [email protected] | ||
base: bare | ||
build-base: [email protected] | ||
|
||
platforms: | ||
|
@@ -33,6 +33,12 @@ parts: | |
source-type: git | ||
source-tag: v${CRAFT_PROJECT_VERSION} | ||
source-depth: 1 | ||
stage-packages: | ||
- bash | ||
- coreutils | ||
- sed | ||
# Needed for pgrep, which is used as a liveness / readiness probe. | ||
- procps | ||
build-snaps: | ||
- go/1.19/stable | ||
build-environment: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ description: | | |
license: Apache-2.0 | ||
version: 0.6.3 | ||
|
||
base: [email protected] | ||
base: bare | ||
build-base: [email protected] | ||
|
||
platforms: | ||
|
@@ -33,6 +33,12 @@ parts: | |
source-type: git | ||
source-tag: v${CRAFT_PROJECT_VERSION} | ||
source-depth: 1 | ||
stage-packages: | ||
- bash | ||
- coreutils | ||
- sed | ||
# Needed for pgrep, which is used as a liveness / readiness probe. | ||
- procps | ||
build-snaps: | ||
- go/1.20/stable | ||
build-environment: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters