forked from starship/starship
-
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.
Use starship-test docker image for running integration tests (starshi…
…p#70) * Publish docker image used in testing * Update integration_test to pull the image and build, using the image as its cache * Publish the built image after successful test runs on master
- Loading branch information
Showing
3 changed files
with
28 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,16 @@ | ||
jobs: | ||
- job: ${{ parameters.name }} | ||
displayName: ${{ parameters.displayName }} | ||
pool: | ||
vmImage: ubuntu-16.04 | ||
|
||
steps: | ||
- script: ./integration_test | ||
displayName: Run integration test within Docker | ||
|
||
- script: | | ||
docker login -u $(dockerUsername) -p $(dockerPassword) | ||
docker push starshipcommand/starship-test | ||
# Only push new image if on master and build is passing | ||
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master')) | ||
displayName: Push image to dockerhub |
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