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

Removing "-t" flag to allow github actions to run kb-sdk #362

Merged
merged 1 commit into from
Oct 22, 2020

Conversation

ialarmedalien
Copy link
Collaborator

GitHub Actions cannot run kb-sdk when it is in a docker container because the entrypoint script adds the -t flag to the docker command (to add a TTY-type interface to the container), which causes GitHub Actions to error out. Since the commands that the entry point script is adding can't be run interactively, the -t flag can be safely removed.

@briehl
Copy link
Member

briehl commented Oct 22, 2020

I had to workaround this on some Github actions stuff by editing the genscript results. This would be great to merge before the next image release.

@scanon
Copy link
Contributor

scanon commented Oct 22, 2020

LGTM

@jsfillman
Copy link
Contributor

This eliminates the need for a custom kb-sdk command, like I've been using in the SDK Tests Action as seen here. Excellent!

@ialarmedalien ialarmedalien merged commit 07a0a3c into develop Oct 22, 2020
@ialarmedalien ialarmedalien deleted the remove_-t_flag branch October 22, 2020 22:43
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.

4 participants