fix: yaml step name

main
Dragan Filipovic 2023-01-03 03:03:07 +01:00
parent 73a65ec97c
commit 5c13615d4b
2 changed files with 20 additions and 20 deletions

View File

@ -29,15 +29,15 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
# ################################################################# # ----------------------------------------------------------------
# START [E2E Test Specific] steps # START E2E Test Specific - steps
# ################################################################# # ----------------------------------------------------------------
- name: [E2E Test Specific] Clean up old test files - name: E2E Test Specific - Clean up old test files
run: | run: |
docker stop ssh-host-container || true && docker rm ssh-host-container || true docker stop ssh-host-container || true && docker rm ssh-host-container || true
- name: [E2E Test Specific] Create ssh keys - name: E2E Test Specific - Create ssh keys
run: | run: |
echo $HOME echo $HOME
ls -la $HOME ls -la $HOME
@ -49,7 +49,7 @@ jobs:
cat $HOME/.ssh/id_rsa >> $GITHUB_ENV cat $HOME/.ssh/id_rsa >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV echo "EOF" >> $GITHUB_ENV
- name: [E2E Test Specific] Build Host Server Image - name: E2E Test Specific - Build Host Server Image
working-directory: ${{ env.TEST_HOST_DOCKER }} working-directory: ${{ env.TEST_HOST_DOCKER }}
run: | run: |
docker build \ docker build \
@ -62,7 +62,7 @@ jobs:
echo "EOF" >> $GITHUB_ENV echo "EOF" >> $GITHUB_ENV
shell: bash shell: bash
- name: [E2E Test Specific] Create project file - name: E2E Test Specific - Create project file
run: | run: |
mkdir test_project2 && cd "$_" mkdir test_project2 && cd "$_"
truncate -s 5MB info2.txt truncate -s 5MB info2.txt
@ -80,9 +80,9 @@ jobs:
echo "test_project:" && ls -lR echo "test_project:" && ls -lR
echo "skip_dir:" && ls -lR skip_dir echo "skip_dir:" && ls -lR skip_dir
# ################################################################# # ----------------------------------------------------------------
# END [E2E Test Specific] steps # END E2E Test Specific - steps
# ################################################################# # ----------------------------------------------------------------
- name: e2e Test ssh-deploy action - name: e2e Test ssh-deploy action
uses: easingthemes/ssh-deploy@feature/multi-src uses: easingthemes/ssh-deploy@feature/multi-src

View File

@ -17,15 +17,15 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
# ################################################################# # : ---------------------------------------------------------------
# START [E2E Test Specific] steps # : START E2E Test Specific - steps
# ################################################################# # : ----------------------------------------------------------------
- name: [E2E Test Specific] Clean up old test files - name: E2E Test Specific - Clean up old test files
run: | run: |
docker stop ssh-host-container || true && docker rm ssh-host-container || true docker stop ssh-host-container || true && docker rm ssh-host-container || true
- name: [E2E Test Specific] Create ssh keys - name: E2E Test Specific - Create ssh keys
run: | run: |
echo $HOME echo $HOME
ls -la $HOME ls -la $HOME
@ -37,7 +37,7 @@ jobs:
cat $HOME/.ssh/id_rsa >> $GITHUB_ENV cat $HOME/.ssh/id_rsa >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV echo "EOF" >> $GITHUB_ENV
- name: [E2E Test Specific] Build Host Server Image - name: E2E Test Specific - Build Host Server Image
working-directory: ${{ env.TEST_HOST_DOCKER }} working-directory: ${{ env.TEST_HOST_DOCKER }}
run: | run: |
docker build \ docker build \
@ -50,7 +50,7 @@ jobs:
echo "EOF" >> $GITHUB_ENV echo "EOF" >> $GITHUB_ENV
shell: bash shell: bash
- name: [E2E Test Specific] Create project file - name: E2E Test Specific - Create project file
run: | run: |
mkdir test_project2 && cd "$_" mkdir test_project2 && cd "$_"
truncate -s 5MB info2.txt truncate -s 5MB info2.txt
@ -68,9 +68,9 @@ jobs:
echo "test_project:" && ls -lR echo "test_project:" && ls -lR
echo "skip_dir:" && ls -lR skip_dir echo "skip_dir:" && ls -lR skip_dir
# ################################################################# # ----------------------------------------------------------------
# END [E2E Test Specific] steps # END E2E Test Specific - steps
# ################################################################# # ----------------------------------------------------------------
- name: set shared ENV variables for multi target deployment - name: set shared ENV variables for multi target deployment
run: | run: |