Compare commits

...

7 Commits

Author SHA1 Message Date
giles 108a517173 . 2023-10-18 23:10:56 +00:00
giles 6cedcd07ec .
continuous-integration/drone/push Build is passing Details
2023-10-19 00:05:24 +01:00
giles 42e5832391 .
continuous-integration/drone/push Build is passing Details
2023-10-18 23:37:29 +01:00
giles f776f46db3 .
continuous-integration/drone/push Build is failing Details
2023-10-18 23:35:31 +01:00
giles 9b68b2df02 .
continuous-integration/drone/push Build is passing Details
2023-10-18 23:32:48 +01:00
giles b61ef71b67 .
continuous-integration/drone/push Build encountered an error Details
continuous-integration/drone/pr Build encountered an error Details
2023-10-18 23:31:17 +01:00
giles b7cf0824e0 .
continuous-integration/drone/push Build is passing Details
2023-10-18 22:22:44 +00:00
1 changed files with 7 additions and 5 deletions

View File

@ -17,11 +17,12 @@ steps:
- format-branch
image: alpine/git:latest
commands:
#- git config credential.helper '!f() { sleep 1; echo "username=$${GIT_USER}"; echo "password=$${GIT_PASSWORD}"; }; f'
#- git checkout -b master
#- git pull origin master
- git config credential.helper '!f() { sleep 1; echo "username=$${GIT_USER}"; echo "password=$${GIT_PASSWORD}"; }; f'
- git checkout -b master
- git pull origin master
# - git branch -D product-development
- git checkout -b product-development
- git merge format-branch
#- git merge --squash --no-commit --strategy-option=theirs format-branch
environment:
GIT_PASSWORD:
@ -45,6 +46,7 @@ steps:
branch:
- format-branch
commands:
- node /app/servers/apps/batch2yaml/build/index.js . delete
- node /app/servers/apps/batch2yaml/build/index.js . yml
volumes:
- name: dockersock
@ -68,7 +70,7 @@ steps:
commands:
- git config credential.helper '!f() { sleep 1; echo "username=$${GIT_USER}"; echo "password=$${GIT_PASSWORD}"; }; f'
- git add -A
- git commit -m "$${DRONE_COMMIT_MESSAGE}"
- git commit -m "deploying- $${DRONE_COMMIT_MESSAGE}"
- git push -f origin HEAD:deployed
environment:
GIT_PASSWORD:
@ -99,7 +101,7 @@ steps:
- git config credential.helper '!f() { sleep 1; echo "username=$${GIT_USER}"; echo "password=$${GIT_PASSWORD}"; }; f'
- git add -A
- git commit -m "$${DRONE_COMMIT_MESSAGE}"
- git push -f origin HEAD:product-development
- git push origin HEAD:product-development
environment:
GIT_PASSWORD:
from_secret: GIT_PASSWORD