Skip to content

Commit 4291fef

Browse files
authored
Merge pull request #52 from linear-b/LINBEE-1566
LINBEE-1566 - remove docker time measurment
2 parents 53f352a + 36c5868 commit 4291fef

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

action.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ inputs:
2929
runs:
3030
using: 'composite'
3131
steps:
32-
- name: Set start time
33-
id: start
34-
run: echo "timestamp=$EPOCHSECONDS" >> $GITHUB_OUTPUT
35-
shell: bash
3632
- name: Create GitStream folder
3733
id: create-gitstream-folder
3834
shell: bash
@@ -110,17 +106,12 @@ runs:
110106
id: gitstream-action
111107
if: always()
112108
run: |
113-
SECONDS=0
114109
env_file=env.user
115110
touch $env_file
116111
for var in $(env | cut -d "=" -f 1); do
117112
value="${!var}"
118113
echo "$var=$value" >> "$env_file"
119114
done
120115
docker pull gitstream/rules-engine:latest
121-
echo "docker-pull-duration=$SECONDS" >> $GITHUB_OUTPUT
122-
SECONDS=0
123116
docker run --env-file $env_file -v $(pwd)/gitstream:/code -e USE_CACHE=${{ steps.cache-gitstream-results.outputs.cache-hit }} -e HEAD_REF=$'upstream/${{ steps.safe-strings.outputs.head_ref }}' -e BASE_REF=$'${{ steps.safe-strings.outputs.base_ref }}' -e CLIENT_PAYLOAD=${{ steps.safe-strings.outputs.client_payload }} -e RULES_RESOLVER_URL=${{ github.event.inputs.resolver_url }} -e RULES_RESOLVER_TOKEN=${{ github.event.inputs.resolver_token }} -e DEBUG_MODE=${{ github.event.inputs.debug_mode }} gitstream/rules-engine
124-
echo "docker-run-duration=$SECONDS" >> $GITHUB_OUTPUT
125-
echo "action-run-duration=$(($EPOCHSECONDS - ${{ steps.start.outputs.timestamp }}))" >> $GITHUB_OUTPUT
126117
shell: bash

0 commit comments

Comments
 (0)