diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 97f3458..5392500 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -19,7 +19,7 @@ defaults: shell: bash env: - NIGHTLY_DDEV_PR_URL: "https://nightly.link/drud/ddev/actions/runs/1720215802/ddev-linux-amd64.zip" + NIGHTLY_DDEV_PR_URL: "https://nightly.link/ddev/ddev/actions/runs/1720215802/ddev-linux-amd64.zip" # Allow ddev get to use a github token to prevent rate limiting by tests DDEV_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -47,15 +47,15 @@ jobs: - name: Use ddev stable if: matrix.ddev_version == 'stable' - run: brew install drud/ddev/ddev + run: brew install ddev/ddev/ddev - name: Use ddev edge if: matrix.ddev_version == 'edge' - run: brew install drud/ddev-edge/ddev + run: brew install ddev/ddev-edge/ddev - name: Use ddev HEAD if: matrix.ddev_version == 'HEAD' - run: brew install --HEAD drud/ddev/ddev + run: brew install --HEAD ddev/ddev/ddev - name: Use ddev PR if: matrix.ddev_version == 'PR' diff --git a/README.md b/README.md index f6dfe11..8e1ecf5 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ -[![tests](https://github.com/drud/ddev-memcached/actions/workflows/tests.yml/badge.svg)](https://github.com/drud/ddev-memcached/actions/workflows/tests.yml) ![project is maintained](https://img.shields.io/maintenance/yes/2024.svg) +[![tests](https://github.com/ddev/ddev-memcached/actions/workflows/tests.yml/badge.svg)](https://github.com/ddev/ddev-memcached/actions/workflows/tests.yml) ![project is maintained](https://img.shields.io/maintenance/yes/2024.svg) ## What is this? -This repository allows you to quickly install memcached into a [Ddev](https://ddev.readthedocs.io) project using just `ddev get drud/ddev-memcached`. +This repository allows you to quickly install memcached into a [Ddev](https://ddev.readthedocs.io) project using just `ddev get ddev/ddev-memcached`. ## Installation -1.`ddev get drud/ddev-memcached && ddev restart` +1.`ddev get ddev/ddev-memcached && ddev restart` 5. `ddev restart` ## Explanation diff --git a/tests/test.bats b/tests/test.bats index ee8eaa8..7c9e474 100644 --- a/tests/test.bats +++ b/tests/test.bats @@ -31,8 +31,9 @@ teardown() { @test "install from release" { set -eu -o pipefail cd ${TESTDIR} || ( printf "unable to cd to ${TESTDIR}\n" && exit 1 ) - echo "# ddev get drud/ddev-elasticsearch with project ${PROJNAME} in ${TESTDIR} ($(pwd))" >&3 - ddev get drud/ddev-elasticsearch + echo "# ddev get ddev/ddev-elasticsearch with project ${PROJNAME} in ${TESTDIR} ($(pwd))" >&3 + ddev get ddev/ddev-memcached ddev restart - ddev exec "curl -s elasticsearch:9200" | grep "${PROJNAME}-elasticsearch" + v=$(ddev exec 'printf "version\nquit\nquit\n" | nc memcached 11211') + [[ "${v}" = VERSION* ]] }