Skip to content

Conversation

@saser
Copy link
Contributor

@saser saser commented Aug 20, 2022

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

Issue Number: N/A

What is the new behavior?

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

I was unlucky to miss all the other references to config.json when I was
setting up, so I named my file client.json, looking instead only at the label
changed by this commit.

When I later ran a container_push target it failed with "permission denied"
issues. I read the shell script generated by container_push and saw that it
passes an argument to give the path to the directory of the config file,
rather than the path to the file itself.

That made me realize that I had probably given the file the wrong name; the
Docker client didn't find a config.json file in that directory and ignored all
other files.

I was unlucky to miss all the other references to `config.json` when I was
setting up, so I named my file `client.json`, looking instead only at the label
changed by this commit.

When I later ran a `container_push` target it failed with "permission denied"
issues. I read the shell script generated by `container_push` and saw that it
passes an argument to give the path to the _directory_ of the config file,
rather than the path to the file itself.

That made me realize that I had probably given the file the wrong name; the
Docker client didn't find a `config.json` file in that directory and ignored all
other files.
@uhthomas uhthomas merged commit 4c1eaab into bazelbuild:master Aug 20, 2022
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.

2 participants