Skip to content

Commit

Permalink
fix: name is now lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
Enderchief authored Feb 15, 2023
1 parent ff7318c commit 86b3663
Show file tree
Hide file tree
Showing 11 changed files with 26 additions and 26 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/api-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 3 additions & 3 deletions .github/workflows/package-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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..
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/package-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/repo-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion api/src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
2 changes: 1 addition & 1 deletion builder/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
FROM ghcr.io/Endercheif/piston:latest
FROM ghcr.io/endercheif/piston:latest
ADD . /piston/packages/
2 changes: 1 addition & 1 deletion builder/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion packages/CONTRIBUTING.MD
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
22 changes: 11 additions & 11 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h1 align="center">
<a href="https://github.com/Endercheif/piston">
<img src="var/docs/images/piston.svg" valign="middle" width="58" height="58" alt="Endercheif piston" />
<a href="https://github.com/endercheif/piston">
<img src="var/docs/images/piston.svg" valign="middle" width="58" height="58" alt="endercheif piston" />
</a>
<span valign="middle">
Piston
Expand All @@ -12,14 +12,14 @@
<br>

<p align="center">
<a href="https://github.com/Endercheif/piston/commits/master">
<img src="https://img.shields.io/github/last-commit/Endercheif/piston.svg?style=for-the-badge&logo=github&logoColor=white"
<a href="https://github.com/endercheif/piston/commits/master">
<img src="https://img.shields.io/github/last-commit/endercheif/piston.svg?style=for-the-badge&logo=github&logoColor=white"
alt="GitHub last commit">
<a href="https://github.com/Endercheif/piston/issues">
<img src="https://img.shields.io/github/issues/Endercheif/piston.svg?style=for-the-badge&logo=github&logoColor=white"
<a href="https://github.com/endercheif/piston/issues">
<img src="https://img.shields.io/github/issues/endercheif/piston.svg?style=for-the-badge&logo=github&logoColor=white"
alt="GitHub issues">
<a href="https://github.com/Endercheif/piston/pulls">
<img src="https://img.shields.io/github/issues-pr-raw/Endercheif/piston.svg?style=for-the-badge&logo=github&logoColor=white"
<a href="https://github.com/endercheif/piston/pulls">
<img src="https://img.shields.io/github/issues-pr-raw/endercheif/piston.svg?style=for-the-badge&logo=github&logoColor=white"
alt="GitHub pull requests">
</p>

Expand Down Expand Up @@ -64,7 +64,7 @@ It's used in numerous places including:

The following are approved and endorsed extensions/utilities to the core Piston offering.

- [I Run Code](https://github.com/Endercheif/piston-bot), a Discord bot used in 4100+ servers to handle arbitrary code evaluation in Discord. To get this bot in your own server, go here: https://emkc.org/run.
- [I Run Code](https://github.com/endercheif/piston-bot), a Discord bot used in 4100+ servers to handle arbitrary code evaluation in Discord. To get this bot in your own server, go here: https://emkc.org/run.
- [Piston CLI](https://github.com/Shivansh-007/piston-cli), a universal shell supporting code highlighting, files, and interpretation without the need to download a language.
- [Node Piston Client](https://github.com/dthree/node-piston), a Node.js wrapper for accessing the Piston API.
- [Piston4J](https://github.com/the-codeboy/Piston4J), a Java wrapper for accessing the Piston API.
Expand Down Expand Up @@ -111,7 +111,7 @@ POST https://emkc.org/api/v2/piston/execute

```sh
# clone and enter repo
git clone https://github.com/Endercheif/piston
git clone https://github.com/endercheif/piston
```

### Installation
Expand Down Expand Up @@ -141,7 +141,7 @@ docker run \
-dit \
-p 2000:2000 \
--name piston_api \
ghcr.io/Endercheif/piston
ghcr.io/endercheif/piston
```

## Piston for testing packages locally
Expand Down

0 comments on commit 86b3663

Please sign in to comment.