From bd4e9535d1887d01298c71c0a6c1e030ee227f46 Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Thu, 17 Apr 2025 10:36:46 +0800 Subject: [PATCH 1/7] Log into Docker Hub Docker have implemented rate limiting that this repository hits. --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 074b7ff..3196831 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,6 +30,12 @@ jobs: matrix: test: ${{ fromJson(needs.collect.outputs.matrix) }} steps: + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Checking out moodle-local_ci uses: actions/checkout@v4 with: From c1e20c1225f43c49b3def6634e1ea4fa21b4dc40 Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Thu, 17 Apr 2025 12:22:47 +0800 Subject: [PATCH 2/7] argh --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3196831..5c06a8b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,7 +33,7 @@ jobs: - name: Login to Docker Hub uses: docker/login-action@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} + username: ${{ env.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Checking out moodle-local_ci From 2a2dbfa0730849a57d0f280a0de49fe648bda2b6 Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Thu, 17 Apr 2025 12:39:39 +0800 Subject: [PATCH 3/7] wahh --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5c06a8b..55494c8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,8 +33,8 @@ jobs: - name: Login to Docker Hub uses: docker/login-action@v3 with: - username: ${{ env.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} + username: "FOO" + password: "FOO" - name: Checking out moodle-local_ci uses: actions/checkout@v4 From 3fdff4b219d3981ee20bcb3fa7c653bd353d6b6a Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Thu, 17 Apr 2025 12:49:07 +0800 Subject: [PATCH 4/7] ARGH" --- .github/workflows/ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 55494c8..e08c374 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,6 @@ jobs: # Get all the test files without extension. echo "matrix=$(cd local_ci/tests && find . -name '*.bats' -not -path '*/libs/*' -exec basename {} .bats ';' | \ jq -R -s -c 'split("\n")[:-1]')" >> $GITHUB_OUTPUT - test: name: Unit tests needs: collect @@ -30,12 +29,12 @@ jobs: matrix: test: ${{ fromJson(needs.collect.outputs.matrix) }} steps: - - name: Login to Docker Hub + - + name: Login to Docker Hub uses: docker/login-action@v3 with: - username: "FOO" + username: ${{ vars.DOCKERHUB_USERNAME }} password: "FOO" - - name: Checking out moodle-local_ci uses: actions/checkout@v4 with: From 29698f50057a5246bbddb6496277fba1e9b751b6 Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Thu, 17 Apr 2025 13:06:18 +0800 Subject: [PATCH 5/7] ARGHHGHGHGH --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e08c374..a22596c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,6 +34,8 @@ jobs: uses: docker/login-action@v3 with: username: ${{ vars.DOCKERHUB_USERNAME }} + username2: ${{ env.DOCKERHUB_USERNAME }} + username3: ${{ secrets.DOCKERHUB_USERNAME }} password: "FOO" - name: Checking out moodle-local_ci uses: actions/checkout@v4 From c5357a748af9d5beb2d2acf1a9808d095a1b0597 Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Thu, 17 Apr 2025 13:11:52 +0800 Subject: [PATCH 6/7] ARGHHGHGHGH --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a22596c..428a96c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,9 +33,9 @@ jobs: name: Login to Docker Hub uses: docker/login-action@v3 with: - username: ${{ vars.DOCKERHUB_USERNAME }} - username2: ${{ env.DOCKERHUB_USERNAME }} - username3: ${{ secrets.DOCKERHUB_USERNAME }} + # username: ${{ vars.DOCKERHUB_USERNAME }} + username: ${{ env.DOCKERHUB_USERNAME }} + # username: ${{ secrets.DOCKERHUB_USERNAME }} password: "FOO" - name: Checking out moodle-local_ci uses: actions/checkout@v4 From aa75235e4f8df78b55a86d5c352938374a011892 Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Thu, 17 Apr 2025 13:13:12 +0800 Subject: [PATCH 7/7] ARGHHGHGHGH --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 428a96c..fda91f6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,8 +34,8 @@ jobs: uses: docker/login-action@v3 with: # username: ${{ vars.DOCKERHUB_USERNAME }} - username: ${{ env.DOCKERHUB_USERNAME }} - # username: ${{ secrets.DOCKERHUB_USERNAME }} + # username: ${{ env.DOCKERHUB_USERNAME }} + username: ${{ secrets.DOCKERHUB_USERNAME }} password: "FOO" - name: Checking out moodle-local_ci uses: actions/checkout@v4