forked from knative/client
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix backup Makefile and auth (knative#342)
* Fix backup Makefile and auth Apparently "works on my machine" isn't enough. 1. The Makefile was broken, use the current directory for the build context. 2. Activate the service account (not necessary for gcrane, but necessary for gsutil). * Get service account key from env * For backup image, pass keyfile as first argument
- Loading branch information
1 parent
9238c6e
commit 42b5742
Showing
4 changed files
with
8 additions
and
5 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
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 |
---|---|---|
|
@@ -21,6 +21,4 @@ LABEL maintainer "Jon Johnson <[email protected]>" | |
COPY --from=gcrane /ko-app /bin/gcrane | ||
|
||
# Copy the entrypoint shell script. | ||
COPY . . | ||
|
||
ENTRYPOINT ["/backup.sh"] | ||
ADD . . |
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