-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactored sftp cache ssh key usage into the docker container for ful…
…l pull/push usage Before I was pulling the sftp cache on the host outside the container because I couldn't figure out how to push the sftp cache private key inside the container. When I changed a dependency, zlib in this case, the build scripts wanted to push the new packages up to the sftp cache which failed due to lack of private key in the container. This commit takes either a github secret or mystiko password and sets it as an environment variable inside the container for the build to use. Ticket: ENT-10419 Changelog: none (cherry picked from commit b989b9d)
- Loading branch information
1 parent
42185ea
commit 1f83c22
Showing
3 changed files
with
33 additions
and
30 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 |
---|---|---|
@@ -1,6 +1,8 @@ | ||
#!/usr/bin/env bash | ||
set -ex | ||
# clean up docker stuff | ||
name=cfengine-build-package | ||
# TODO: a softer clean might get into the container and run ./buildscripts/build-scripts/clean-buildmachine | ||
docker stop $name | ||
docker rm $name | ||
docker rmi $name | ||
docker rm -f $name | ||
docker rmi -f $name |
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