Skip to content

Commit

Permalink
corrected shell script
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhardikjoshi committed Jan 11, 2024
1 parent cb09978 commit 3fa5e2b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/e2e_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,6 @@ jobs:
- name: Setup test rails app
run: ./e2e_tests/setup.sh

- name: log
run: printf "$SHA"

- name: log-two
run: echo "${{ env.SHA }}"

- name: Wait for neo4j
run: while [ $((curl localhost:7474/ > /dev/null 2>&1); echo $?) -ne 0 ]; do sleep 1; done

Expand Down
4 changes: 1 addition & 3 deletions e2e_tests/setup.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#!/bin/sh

git_hash=$(git rev-parse --short "$GITHUB_SHA")
# git_branch=${GITHUB_REF#refs/heads/}
echo "SHA=$(git_hash)" >> $GITHUB_ENV
echo "SHA=$(git rev-parse --short "$GITHUB_SHA")" >> $GITHUB_ENV
gem install rails -v 7.1.2 --no-document
# /Users/hardik_joshi/work/open_source/activegraph/docs/activegraph.rb
sed 's/.*activegraph.*/gem '"'"'activegraph'"'"', github: "neo4jrb\/activegraph", ref: "95600cacb82e1239ca1d105886630603b67a3280"/' docs/activegraph.rb > template.tmp
Expand Down

0 comments on commit 3fa5e2b

Please sign in to comment.