Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(tag): remove refs_tags #245

Merged
merged 3 commits into from
Oct 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 }}
thanh-nguyen-dang marked this conversation as resolved.
Show resolved Hide resolved
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
Loading