Skip to content

Commit

Permalink
[#225] Create and example to show how to use LemonTree.Automation Doc…
Browse files Browse the repository at this point in the history
…ker container for pipeline tasks.

* Checkin a first boilerplate example.
  • Loading branch information
danielsiegl committed Nov 7, 2024
1 parent 77b311d commit 51b066c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions example-scripts/powershell/dockerLTA.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright (c) LieberLieber Software GmbH
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.

#this is not a finished script - it is just the basic info to get you started using LemonTree.Automation deployed as a Docker Container into your pipeline.

docker rm ltacli
docker run -itd --name ltacli `
-v "$(Get-Location)\data:/data" `
-v "$(Get-Location)\licenses:/app/licenses" `
nexus.lieberlieber.com:5000/lieberlieber/lemontree.automation:latest

docker exec -it ltacli ./lemontree.automation diff --license /app/licenses/ --base /data/Base.qeax --theirs /data/A.qeax --mine /data/B.qeax


0 comments on commit 51b066c

Please sign in to comment.