Skip to content

Commit

Permalink
fix(tag): remove refs_tags (#245)
Browse files Browse the repository at this point in the history
* fix(tag): remove refs_tags

* fix(tag): remove unnecessary step

* Update .github/workflows/image_build_and_test.yaml

Co-authored-by: Andrew Prokhorenkov <aprokh@uchicago.edu>

---------

Co-authored-by: Andrew Prokhorenkov <aprokh@uchicago.edu>
  • Loading branch information
2 people authored and atharvar28 committed Oct 17, 2023
1 parent 922fc51 commit ff05896
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/image_build_and_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,6 @@ jobs:
ls ..
pwd
- name: Extract branch name
shell: bash
run: echo "branch=$(echo $(echo ${GITHUB_REF#refs/heads/} | tr / _))" >> $GITHUB_OUTPUT
id: extract_branch

- name: Copy configuration files
run: |
cp -f tests/integrated_tests/gen3/tube/etlMapping.yaml ../compose-etl/configs/etlMapping.yaml
Expand All @@ -87,8 +82,9 @@ jobs:
- name: Replace tube branch
working-directory: ../compose-etl
run: |
BRANCH=${{ steps.extract_branch.outputs.branch }}
sed -i "s/tube:master/tube:${BRANCH//\//_}/g" docker-compose.yml
BRANCH=${{ github.head_ref || github.ref_name }}
BRANCH=$(echo $BRANCH | tr / _)
sed -i "s/tube:master/tube:$BRANCH/g" docker-compose.yml
- name: change max_map_count (needed for running Elasticsearch in container)
working-directory: ../compose-etl
Expand Down

0 comments on commit ff05896

Please sign in to comment.