Skip to content

Commit

Permalink
✨ CI: Use iem_database container
Browse files Browse the repository at this point in the history
  • Loading branch information
akrherz committed Jan 7, 2025
1 parent 6d2470d commit 3eb9743
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,17 @@ jobs:
run: |
cat .github/workflows/etchosts.txt | sudo tee -a /etc/hosts
- name: Run IEM Database container
run: |
docker run -d --name iem_database -p 5432:5432 ghcr.io/akrherz/iem_database:test_data
until docker exec iem_database pg_isready -h localhost; do
sleep 6
done
- name: Run Memcached container
run: |
docker run -d --name iem_memcached -p 11211:11211 memcached:1.6.9
# setup conda-forge with micromamba
- name: Setup Python
uses: mamba-org/setup-micromamba@v2
Expand All @@ -43,21 +54,10 @@ jobs:
- name: Setup IEMFarm Environment
run: |
set -e
git clone --depth 1 https://github.com/akrherz/iem-database.git database
git clone --depth 1 https://github.com/akrherz/ci_tooling.git .ci_tooling
cd .ci_tooling
. postgres.sh
. iemwebfarm.sh
cd ..
cd database; sh bootstrap.sh
python schema_manager.py
# Get memcached running
- name: Setup Memcached
run: |
set -e
cd .ci_tooling
. memcached.sh
- name: Configure Apache
run: |
Expand Down

0 comments on commit 3eb9743

Please sign in to comment.