This commit is contained in:
parent
6536ed27ba
commit
04d78cb7d1
@ -16,18 +16,15 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ github.ref_name }}
|
||||
# - name: Clean up Virtual Environment
|
||||
# run: ./setup/clean_up_virtualenvs.sh 0
|
||||
- name: Clean up Virtual Environment
|
||||
run: ./setup/clean_up_virtualenvs.sh 0
|
||||
|
||||
# - name: Create Virtual Environment
|
||||
# run: pyenv virtualenv "${{ github.ref_name }}-$(git rev-parse --short "$GITHUB_SHA")"
|
||||
- name: Fix Permissons
|
||||
run: |
|
||||
sudo chown -R $(whoami):$(whoami) ~/.cache && \
|
||||
sudo chmod -R 755 ~/.cache
|
||||
- name: Create Virtual Environment
|
||||
run: pyenv virtualenv "${{ github.ref_name }}-$(git rev-parse --short "$GITHUB_SHA")"
|
||||
- name: Activate Virtual Environment
|
||||
run: pyenv activate "${{ github.ref_name }}-$(git rev-parse --short "$GITHUB_SHA")"
|
||||
- name: Install dotenv
|
||||
run: pip install python-dotenv
|
||||
|
||||
- name: Update Tag
|
||||
run: make update_tag CURR_BRANCH=${{ github.ref_name }}
|
||||
|
||||
@ -45,16 +42,16 @@ jobs:
|
||||
- name: Sleep for 30 seconds
|
||||
run: sleep 300s
|
||||
|
||||
# - name: Restore Database
|
||||
# run: make restore_database
|
||||
- name: Restore Database
|
||||
run: make restore_database
|
||||
|
||||
# - name: Run Tests
|
||||
# run: make run_test_docker
|
||||
- name: Run Tests
|
||||
run: make run_test_docker
|
||||
|
||||
# - name: Login Docker hub
|
||||
# run: echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USER }} --password-stdin ${{ secrets.DOCKER_HUB }}
|
||||
# - name: Push Image
|
||||
# run: make push_image
|
||||
- name: Login Docker hub
|
||||
run: echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USER }} --password-stdin ${{ secrets.DOCKER_HUB }}
|
||||
- name: Push Image
|
||||
run: make push_image
|
||||
|
||||
# - name: Clean Up
|
||||
# run: make clean_up
|
||||
- name: Clean Up
|
||||
run: make clean_up
|
||||
|
Loading…
Reference in New Issue
Block a user