Skip to content

Commit

Permalink
chore(snap): specify platforms and add readme (#156)
Browse files Browse the repository at this point in the history
* chore(snap): specify platforms

Also updates the `ARCH` env variable as per https://snapcraft.io/docs/migrate-core24

* add logo and readme
  • Loading branch information
matifali authored Jul 22, 2024
1 parent 3ce11ad commit 401ea1b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 11 deletions.
22 changes: 13 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,16 @@

Install [Coder](https://github.com/coder/coder) to your preferred cloud with a pre-built package.

| Logo | Platform Name | Status | Documentation | Deploy |
| ---------------------------------------------------------------------------------------- | --------------------- | ----------- | ------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| <img src="./assets/ec2.svg" alt="AWS EC2 Logo" width="100" height="100" /> | AWS EC2 | Live ✅ | [Guide: AWS](https://coder.com/docs/v2/latest/platforms/aws) | [Deploy from AWS Marketplace](https://aws.amazon.com/marketplace/pp/prodview-5gxjyur2vc7rg?sr=0-2&ref_=beagle&applicationId=AWSMPContessa) |
| <img src="./assets/fly.io.svg" alt="Fly.io Logo" width="100" height="100" /> | Fly.io | Live ✅ | [Blog: Run Coder on Fly.io](https://coder.com/blog/remote-developer-environments-on-fly-io) | [Deploy Coder on FLy.io](https://coder.com/blog/remote-developer-environments-on-fly-io) |
| <img src="./assets/railway.svg" alt="Railway.app Logo" width="100" height="100" /> | Railway.app | Live ✅ | [Blog: Run Coder on Railway.app](https://coder.com/blog/deploy-coder-on-railway-app) | [![Deploy Coder on Railway](https://railway.app/button.svg)](https://railway.app/template/coder?referralCode=tfH8Uw) |
| <img src="./assets/heroku.svg" alt="Heroku Logo" width="100" height="100" /> | Heroku | Live ✅ | [Docs: Deploy Coder on Heroku](./heroku/README.md) | [![Deploy Coder on Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/coder/packages) |
| <img src="./assets/render.png" alt="Render.com Logo" width="100" height="100" /> | Render | Live ✅ | [Docs: Deploy Coder on Render](./render/README.md) | [![Deploy to Render](https://render.com/images/deploy-to-render-button.svg)](https://render.com/deploy?repo=https://github.com/coder/packages) |
| <img src="./assets/eks.svg" alt="AWS EKS Logo" width="100" height="100" /> | AWS EKS | In progress | [Docs: Coder on Kubernetes](https://coder.com/docs/v2/latest/install/kubernetes) | [Deploy from AWS Marketplace](https://example.com) |
| <img src="./assets/gce.svg" alt="Google Compute Engine logo" width="100" height="100" /> | Google Compute Engine | Live ✅ | [Guide: Google Compute Engine](https://coder.com/docs/v2/latest/platforms/gcp) | [Deploy from GCP Marketplace](https://console.cloud.google.com/marketplace/product/coder-enterprise-market-public/coder-v2) |
| Logo | Platform Name | Status | Documentation | Deploy |
| ---------------------------------------------------------------------------------------- | --------------------- | ----------- | ------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| <img src="./assets/ec2.svg" alt="AWS EC2 Logo" width="100" height="100" /> | AWS EC2 | Live ✅ | [Guide: AWS](https://coder.com/docs/v2/latest/platforms/aws) | [Deploy from AWS Marketplace](https://aws.amazon.com/marketplace/pp/prodview-5gxjyur2vc7rg?sr=0-2&ref_=beagle&applicationId=AWSMPContessa) |
| <img src="./assets/fly.io.svg" alt="Fly.io Logo" width="100" height="100" /> | Fly.io | Live ✅ | [Blog: Run Coder on Fly.io](https://coder.com/blog/remote-developer-environments-on-fly-io) | [Deploy Coder on FLy.io](https://coder.com/blog/remote-developer-environments-on-fly-io) |
| <img src="./assets/railway.svg" alt="Railway.app Logo" width="100" height="100" /> | Railway.app | Live ✅ | [Blog: Run Coder on Railway.app](https://coder.com/blog/deploy-coder-on-railway-app) | [![Deploy Coder on Railway](https://railway.app/button.svg)](https://railway.app/template/coder?referralCode=tfH8Uw) |
| <img src="./assets/heroku.svg" alt="Heroku Logo" width="100" height="100" /> | Heroku | Live ✅ | [Docs: Deploy Coder on Heroku](./heroku/README.md) | [![Deploy Coder on Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/coder/packages) |
| <img src="./assets/render.png" alt="Render.com Logo" width="100" height="100" /> | Render | Live ✅ | [Docs: Deploy Coder on Render](./render/README.md) | [![Deploy to Render](https://render.com/images/deploy-to-render-button.svg)](https://render.com/deploy?repo=https://github.com/coder/packages) |
| <img src="./assets/eks.svg" alt="AWS EKS Logo" width="100" height="100" /> | AWS EKS | In progress | [Docs: Coder on Kubernetes](https://coder.com/docs/v2/latest/install/kubernetes) | [Deploy from AWS Marketplace](https://example.com) |
| <img src="./assets/gce.svg" alt="Google Compute Engine logo" width="100" height="100" /> | Google Compute Engine | Live ✅ | [Guide: Google Compute Engine](https://coder.com/docs/v2/latest/platforms/gcp) | [Deploy from GCP Marketplace](https://console.cloud.google.com/marketplace/product/coder-enterprise-market-public/coder-v2) |
| <img src="./assets/snapcraft.svg" alt="Snapcraft Logo" width="100" height="100" /> | Snapcraft | Live ✅ | [Install Coder from Snapcraft](https://snapcraft.io/coder) |

[![Get it from the Snap Store](https://snapcraft.io/static/images/badges/en/snap-store-white.svg)](https://snapcraft.io/coder)
|
2 changes: 2 additions & 0 deletions assets/snapcraft.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,14 @@ description: |
grade: stable
confinement: strict

platforms:
amd64:
arm64:

parts:
coder:
plugin: dump
source: https://github.com/coder/coder/releases/download/v$SNAPCRAFT_PROJECT_VERSION/coder_$SNAPCRAFT_PROJECT_VERSION_linux_$CRAFT_TARGET_ARCH.tar.gz
source: https://github.com/coder/coder/releases/download/v$SNAPCRAFT_PROJECT_VERSION/coder_$SNAPCRAFT_PROJECT_VERSION_linux_$CRAFT_ARCH_BUILD_FOR.tar.gz

apps:
coder:
Expand All @@ -32,4 +36,3 @@ apps:
- home
- network
- network-bind

0 comments on commit 401ea1b

Please sign in to comment.