forked from Azure/azure-cli
-
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.
1. Support build droid image locally and publish end to end 2. Add script assisting login Azure Container Registry 3. Add a travis yaml prototype for building droid container. 4. Update the py36 dockerfile to derive from a stable base image 5. Update the version.sh to support timestamp as version.
- Loading branch information
Showing
5 changed files
with
41 additions
and
8 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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
sudo: true | ||
dist: trusty | ||
jobs: | ||
include: | ||
- stage: build droid image | ||
script: | ||
- if [ -n $AZURE_CLI_BUILD_CR ]; then | ||
docker login $AZURE_CLI_BUILD_CR -u $AZURE_CLI_CR_SP_USENAME -p $AZURE_CLI_CR_SP_PASSWORD; | ||
fi | ||
- ./scripts/ci/build_droid.sh |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Login a container registry before build test droid | ||
# | ||
# This command assume you have az on the path and have login the subscription | ||
# containing the Azure Container Registry. | ||
# | ||
|
||
acr_name=${AZURE_CLI_BUILD_CR%%'.azurecr.io'} | ||
az acr login -n $acr_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