From 86b36630c4666498d9e541cc2452b7e477471d29 Mon Sep 17 00:00:00 2001 From: Endercheif <45527309+Endercheif@users.noreply.github.com> Date: Tue, 14 Feb 2023 19:12:42 -0800 Subject: [PATCH] fix: name is now lowercase --- .github/workflows/api-push.yaml | 4 ++-- .github/workflows/package-pr.yaml | 6 +++--- .github/workflows/package-push.yaml | 6 +++--- .github/workflows/repo-push.yaml | 2 +- api/src/config.js | 2 +- builder/Dockerfile | 2 +- builder/build.sh | 2 +- docker-compose.yaml | 2 +- docs/configuration.md | 2 +- packages/CONTRIBUTING.MD | 2 +- readme.md | 22 +++++++++++----------- 11 files changed, 26 insertions(+), 26 deletions(-) diff --git a/.github/workflows/api-push.yaml b/.github/workflows/api-push.yaml index 1969ff8c..52809e6a 100644 --- a/.github/workflows/api-push.yaml +++ b/.github/workflows/api-push.yaml @@ -33,5 +33,5 @@ jobs: push: true pull: true tags: | - docker.pkg.github.com/Endercheif/piston/api - ghcr.io/Endercheif/piston + docker.pkg.github.com/endercheif/piston/api + ghcr.io/endercheif/piston diff --git a/.github/workflows/package-pr.yaml b/.github/workflows/package-pr.yaml index dfd169da..7f1849dd 100644 --- a/.github/workflows/package-pr.yaml +++ b/.github/workflows/package-pr.yaml @@ -54,7 +54,7 @@ jobs: run: | PACKAGES=$(jq '.[]' -r ${HOME}/files*.json | awk -F/ '$1~/packages/ && $2 && $3{ print $2 "-" $3 }' | sort -u) echo "Packages: $PACKAGES" - docker pull docker.pkg.github.com/Endercheif/piston/repo-builder:latest + docker pull docker.pkg.github.com/endercheif/piston/repo-builder:latest docker build -t repo-builder repo docker run -v "${{ github.workspace }}:/piston" repo-builder --no-server $PACKAGES ls -la packages @@ -89,8 +89,8 @@ jobs: - name: Run tests run: | ls -la - docker run -v $(pwd)'/repo:/piston/repo' -v $(pwd)'/packages:/piston/packages' -d --name repo docker.pkg.github.com/Endercheif/piston/repo-builder --no-build - docker pull docker.pkg.github.com/Endercheif/piston/api + docker run -v $(pwd)'/repo:/piston/repo' -v $(pwd)'/packages:/piston/packages' -d --name repo docker.pkg.github.com/endercheif/piston/repo-builder --no-build + docker pull docker.pkg.github.com/endercheif/piston/api docker build -t piston-api api docker run --network container:repo -v $(pwd)'/data:/piston' -e PISTON_LOG_LEVEL=DEBUG -e 'PISTON_REPO_URL=http://localhost:8000/index' -d --name api piston-api echo Waiting for API to start.. diff --git a/.github/workflows/package-push.yaml b/.github/workflows/package-push.yaml index de582073..c5af8de0 100644 --- a/.github/workflows/package-push.yaml +++ b/.github/workflows/package-push.yaml @@ -32,7 +32,7 @@ jobs: run: | PACKAGES=$(jq '.[]' -r ${HOME}/files*.json | awk -F/ '$1~/packages/ && $2 && $3{ print $2 "-" $3 }' | sort -u) echo "Packages: $PACKAGES" - docker pull docker.pkg.github.com/Endercheif/piston/repo-builder:latest + docker pull docker.pkg.github.com/endercheif/piston/repo-builder:latest docker build -t repo-builder repo docker run -v "${{ github.workspace }}:/piston" repo-builder --no-server $PACKAGES ls -la packages @@ -51,11 +51,11 @@ jobs: needs: build-pkg steps: - name: 'Download all release assets' - run: curl -s https://api.github.com/repos/Endercheif/piston/releases/latest | jq '.assets[].browser_download_url' -r | xargs -L 1 curl -sLO + run: curl -s https://api.github.com/repos/endercheif/piston/releases/latest | jq '.assets[].browser_download_url' -r | xargs -L 1 curl -sLO - name: 'Generate index file' run: | echo "" > index - BASEURL=https://github.com/Endercheif/piston/releases/download/pkgs/ + BASEURL=https://github.com/endercheif/piston/releases/download/pkgs/ for pkg in *.pkg.tar.gz do PKGFILE=$(basename $pkg) diff --git a/.github/workflows/repo-push.yaml b/.github/workflows/repo-push.yaml index d52b669c..adbe4f5e 100644 --- a/.github/workflows/repo-push.yaml +++ b/.github/workflows/repo-push.yaml @@ -28,4 +28,4 @@ jobs: pull: true push: true tags: | - docker.pkg.github.com/Endercheif/piston/repo-builder + docker.pkg.github.com/endercheif/piston/repo-builder diff --git a/api/src/config.js b/api/src/config.js index 1d9a6b2b..9452b82f 100644 --- a/api/src/config.js +++ b/api/src/config.js @@ -105,7 +105,7 @@ const options = { repo_url: { desc: 'URL of repo index', default: - 'https://github.com/Endercheif/piston/releases/download/pkgs/index', + 'https://github.com/endercheif/piston/releases/download/pkgs/index', validators: [], }, max_concurrent_jobs: { diff --git a/builder/Dockerfile b/builder/Dockerfile index e16bff46..c3dea1a4 100644 --- a/builder/Dockerfile +++ b/builder/Dockerfile @@ -1,2 +1,2 @@ -FROM ghcr.io/Endercheif/piston:latest +FROM ghcr.io/endercheif/piston:latest ADD . /piston/packages/ \ No newline at end of file diff --git a/builder/build.sh b/builder/build.sh index 62ea3169..c1a9221d 100755 --- a/builder/build.sh +++ b/builder/build.sh @@ -28,7 +28,7 @@ fetch_packages(){ -dit \ -p $port:2000 \ --name builder_piston_instance \ - ghcr.io/Endercheif/piston + ghcr.io/endercheif/piston # Ensure the CLI is installed cd ../cli diff --git a/docker-compose.yaml b/docker-compose.yaml index 25b415c6..b528264f 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -2,7 +2,7 @@ version: '3.2' services: api: - image: ghcr.io/Endercheif/piston + image: ghcr.io/endercheif/piston container_name: piston_api restart: always ports: diff --git a/docs/configuration.md b/docs/configuration.md index cdd0fb81..26cf2354 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -156,7 +156,7 @@ Useful for running memory-limited contests. ```yaml key: PISTON_REPO_URL -default: https://github.com/Endercheif/piston/releases/download/pkgs/index +default: https://github.com/endercheif/piston/releases/download/pkgs/index ``` URL for repository index, where packages will be downloaded from. diff --git a/packages/CONTRIBUTING.MD b/packages/CONTRIBUTING.MD index 69b0a19d..23630a1b 100644 --- a/packages/CONTRIBUTING.MD +++ b/packages/CONTRIBUTING.MD @@ -10,7 +10,7 @@ In the example of NodeJS, we would call this `node`, after the main binary. See [deno/1.7.5/](deno/1.7.5/) or any other directory for examples. -1. Create a new branch on your fork of Endercheif/piston +1. Create a new branch on your fork of endercheif/piston 2. Create directories named `[language]/[version]`. See Naming Languages for how to determine the name for your language diff --git a/readme.md b/readme.md index 36863734..27a56c49 100644 --- a/readme.md +++ b/readme.md @@ -1,6 +1,6 @@