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

Use fpm binary from within dev_image_extras container for cli releases #2015

Conversation

ddelnano
Copy link
Member

@ddelnano ddelnano commented Sep 10, 2024

Summary: Use fpm binary from within dev_image_extras container for cli releases

With #2012 merged, the dev_image_with_extras container image now contains fpm. This change removes the use of podman to avoid the permission issues seen in recent cli builds. This should allow the production cli release build to succeed.

Relevant Issues: Closes #1993

Type of change: /kind bugfix

Test Plan: Verified that fpm exists in most recent image and packaging building commands work (see testing on #2012). Running a production cli release build is needed after this is merged to complete the testing.

$ ./scripts/run_docker.sh
sha256:c14b06e5753d4d9c6b2ff8671843043113cdcfa3f3cb36a492a665d71dc42fad
grep: /etc/bazelrc: No such file or directory
Run Parameters:
        Build Buddy:             Disabled
        Shell:                   /bin/bash
+ docker run --rm --hostname px-dev-docker-dev-vm.us-west1-a.c.endless-datum-422018.internal -it -v /dev/shm:/dev/shm -v /home/ddelnano:/home/ddelnano -v /var/run/docker.sock:/var/run/docker.sock -v /home/ddelnano/code/pixie-worktree:/px/src/px.dev/pixie --network=host -v /usr/local/bin/px:/bin/px px_dev_image:202409092344 /bin/bash
ddelnano@px-dev-docker-dev-vm:/px/src/px.dev/pixie (ddelnano/use-fpm-within-dev_image_extras-container) $ fpm --version
1.15.1

@ddelnano ddelnano requested a review from a team as a code owner September 10, 2024 15:46
@ddelnano ddelnano merged commit 4528883 into pixie-io:main Sep 10, 2024
31 checks passed
@ddelnano ddelnano deleted the ddelnano/use-fpm-within-dev_image_extras-container branch September 10, 2024 17:50
ddelnano added a commit to ddelnano/pixie that referenced this pull request Sep 23, 2024
pixie-io#2015)

Summary: Use fpm binary from within dev_image_extras container for cli
releases

With pixie-io#2012 merged, the `dev_image_with_extras` container image now
contains `fpm`. This change removes the use of podman to avoid the
permission issues seen in recent cli builds. This should allow the
production cli release build to succeed.

Relevant Issues: Closes pixie-io#1993

Type of change: /kind bugfix

Test Plan: Verified that `fpm` exists in most recent image and packaging
building commands work (see testing on pixie-io#2012). Running a production cli
release build is needed after this is merged to complete the testing.
```
$ ./scripts/run_docker.sh
sha256:c14b06e5753d4d9c6b2ff8671843043113cdcfa3f3cb36a492a665d71dc42fad
grep: /etc/bazelrc: No such file or directory
Run Parameters:
        Build Buddy:             Disabled
        Shell:                   /bin/bash
+ docker run --rm --hostname px-dev-docker-dev-vm.us-west1-a.c.endless-datum-422018.internal -it -v /dev/shm:/dev/shm -v /home/ddelnano:/home/ddelnano -v /var/run/docker.sock:/var/run/docker.sock -v /home/ddelnano/code/pixie-worktree:/px/src/px.dev/pixie --network=host -v /usr/local/bin/px:/bin/px px_dev_image:202409092344 /bin/bash
ddelnano@px-dev-docker-dev-vm:/px/src/px.dev/pixie (ddelnano/use-fpm-within-dev_image_extras-container) $ fpm --version
1.15.1

```

Signed-off-by: Dom Del Nano <[email protected]>
GitOrigin-RevId: 4528883
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Macos signing in cli release build broken
2 participants