-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
22c667c
commit fb3d760
Showing
11 changed files
with
237 additions
and
225 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,9 +96,9 @@ jobs: | |
[email protected]:drevops/git-artifact-destination.git \ | ||
--branch=mode--force-push--circleci--[branch] \ | ||
--mode=force-push \ | ||
--report=$HOME/report--mode--force-push.txt \ | ||
--log=$HOME/report--mode--force-push.txt \ | ||
--push \ | ||
--debug | ||
-vvv | ||
DEPLOYED_BRANCH=$(sed -n 's/Remote branch://p' $HOME/report--mode--force-push.txt | sed 's/ //g') | ||
echo "Deployed to $DEPLOYED_BRANCH" | ||
|
@@ -121,9 +121,9 @@ jobs: | |
[email protected]:drevops/git-artifact-destination.git \ | ||
--branch=mode--force-push--circleci--[branch] \ | ||
--mode=force-push \ | ||
--report=$HOME/report--mode--force-push.txt \ | ||
--log=$HOME/report--mode--force-push.txt \ | ||
--push \ | ||
--debug | ||
-vvv | ||
DEPLOYED_BRANCH=$(sed -n 's/Remote branch://p' $HOME/report--mode--force-push.txt | sed 's/ //g') | ||
echo "Deployed to $DEPLOYED_BRANCH" | ||
|
@@ -170,9 +170,9 @@ jobs: | |
[email protected]:drevops/git-artifact-destination.git \ | ||
--branch=mode--branch--circleci--[branch]--[timestamp:Y-m-d_H-i] \ | ||
--mode=branch \ | ||
--report=$HOME/report--mode--branch.txt \ | ||
--log=$HOME/report--mode--branch.txt \ | ||
--push \ | ||
--debug | ||
-vvv | ||
DEPLOYED_BRANCH=$(sed -n 's/Remote branch://p' $HOME/report--mode--branch.txt | sed 's/ //g') | ||
echo "Deployed to $DEPLOYED_BRANCH" | ||
|
@@ -187,9 +187,9 @@ jobs: | |
[email protected]:drevops/git-artifact-destination.git \ | ||
--branch=mode--branch--circleci--[branch]--[timestamp:Y-m-d_H-i] \ | ||
--mode=branch \ | ||
--report=$HOME/report--mode--branch.txt \ | ||
--log=$HOME/report--mode--branch.txt \ | ||
--push \ | ||
--debug \ | ||
-vvv \ | ||
&& { echo "Expected to fail as repeated pushes to the same branch are not allowed, but succeeded" >&2; exit 1; } || echo "Failed as expected" | ||
- run: | ||
|
@@ -207,9 +207,9 @@ jobs: | |
[email protected]:drevops/git-artifact-destination.git \ | ||
--branch=mode--branch--circleci--[branch]--[timestamp:Y-m-d_H-i-s] \ | ||
--mode=branch \ | ||
--report=$HOME/report--mode--branch.txt \ | ||
--log=$HOME/report--mode--branch.txt \ | ||
--push \ | ||
--debug | ||
-vvv | ||
DEPLOYED_BRANCH=$(sed -n 's/Remote branch://p' $HOME/report--mode--branch.txt | sed 's/ //g') | ||
echo "Deployed to $DEPLOYED_BRANCH" | ||
|
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 |
---|---|---|
|
@@ -158,9 +158,9 @@ jobs: | |
[email protected]:drevops/git-artifact-destination.git \ | ||
--branch=mode--force-push--gha--[branch] \ | ||
--mode=force-push \ | ||
--report=$HOME/report--mode--force-push.txt \ | ||
--log=$HOME/report--mode--force-push.txt \ | ||
--push \ | ||
--debug | ||
-vvv | ||
DEPLOYED_BRANCH=$(sed -n 's/Remote branch://p' $HOME/report--mode--force-push.txt | sed 's/ //g') | ||
echo "Deployed to $DEPLOYED_BRANCH" | ||
|
@@ -181,9 +181,9 @@ jobs: | |
[email protected]:drevops/git-artifact-destination.git \ | ||
--branch=mode--force-push--gha--[branch] \ | ||
--mode=force-push \ | ||
--report=$HOME/report--mode--force-push.txt \ | ||
--log=$HOME/report--mode--force-push.txt \ | ||
--push \ | ||
--debug | ||
-vvv | ||
DEPLOYED_BRANCH=$(sed -n 's/Remote branch://p' $HOME/report--mode--force-push.txt | sed 's/ //g') | ||
echo "Deployed to $DEPLOYED_BRANCH" | ||
|
@@ -260,9 +260,9 @@ jobs: | |
[email protected]:drevops/git-artifact-destination.git \ | ||
--branch=mode--branch--gha--[branch]--[timestamp:Y-m-d_H-i] \ | ||
--mode=branch \ | ||
--report=$HOME/report--mode--branch.txt \ | ||
--log=$HOME/report--mode--branch.txt \ | ||
--push \ | ||
--debug | ||
-vvv | ||
DEPLOYED_BRANCH=$(sed -n 's/Remote branch://p' $HOME/report--mode--branch.txt | sed 's/ //g') | ||
echo "Deployed to $DEPLOYED_BRANCH" | ||
|
@@ -283,9 +283,9 @@ jobs: | |
[email protected]:drevops/git-artifact-destination.git \ | ||
--branch=mode--branch--gha--[branch]--[timestamp:Y-m-d_H-i] \ | ||
--mode=branch \ | ||
--report=$HOME/report--mode--branch.txt \ | ||
--log=$HOME/report--mode--branch.txt \ | ||
--push \ | ||
--debug \ | ||
-vvv \ | ||
&& { echo "Expected to fail as repeated pushes to the same branch are not allowed, but succeeded" >&2; exit 1; } || echo "Failed as expected" | ||
- name: Deployment 2 - new branch | ||
|
@@ -294,9 +294,9 @@ jobs: | |
[email protected]:drevops/git-artifact-destination.git \ | ||
--branch=mode--branch--gha--[branch]--[timestamp:Y-m-d_H-i-s] \ | ||
--mode=branch \ | ||
--report=$HOME/report--mode--branch.txt \ | ||
--log=$HOME/report--mode--branch.txt \ | ||
--push \ | ||
--debug | ||
-vvv | ||
DEPLOYED_BRANCH=$(sed -n 's/Remote branch://p' $HOME/report--mode--branch.txt | sed 's/ //g') | ||
echo "Deployed to $DEPLOYED_BRANCH" | ||
|
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
Oops, something went wrong.