diff --git a/.lycheeignore b/.lycheeignore index 6df36696..5fa61b19 100644 --- a/.lycheeignore +++ b/.lycheeignore @@ -15,3 +15,4 @@ https://dpc.cms.gov/api/v1* https://dpc.cms.gov/users/password/edit https://dpc.cms.gov/users/confirmation https://pacs.hospital.org/* +https://www.medicaid.gov/ diff --git a/Makefile b/Makefile index f67dfc04..608f37a6 100644 --- a/Makefile +++ b/Makefile @@ -10,8 +10,8 @@ ig/publish: ${IG_PUBLISHER} @java -jar ${IG_PUBLISHER} -ig implementation_guide/ig.json build: - docker-compose -f docker-compose.yml build static_site - docker-compose -f docker-compose.yml run -f static_site + docker compose -f docker-compose.yml build static_site + docker compose -f docker-compose.yml run static_site serve: - @docker-compose run --publish 4001:4000 --rm --entrypoint "bundle exec jekyll serve -H 0.0.0.0" --volume "./:/dpc-site-static/" static_site + @docker compose run --publish 4001:4000 --rm --entrypoint "bundle exec jekyll serve -H 0.0.0.0" --volume "./:/dpc-site-static/" static_site diff --git a/scripts/build_and_test.sh b/scripts/build_and_test.sh index 8429b1b6..eeeb474f 100755 --- a/scripts/build_and_test.sh +++ b/scripts/build_and_test.sh @@ -4,16 +4,16 @@ set -eo pipefail docker_cleanup() { - docker-compose down + docker compose down } build() { - docker-compose -f docker-compose.yml build static_site + docker compose -f docker-compose.yml build static_site } test() { trap docker_cleanup EXIT - docker-compose run -u "$(id -u "${USER}")":"$(id -g "${USER}")" --publish 4000:4000 --rm --entrypoint "bundle exec jekyll serve -H 0.0.0.0" --name static_site -d static_site + docker compose run -u "$(id -u "${USER}")":"$(id -g "${USER}")" --publish 4000:4000 --rm --entrypoint "bundle exec jekyll serve -H 0.0.0.0" --name static_site -d static_site sleep 20 docker logs static_site curl localhost:4000 | grep "Update: what we're working on" || { echo "ERROR: Updates page not found"; exit 1; }