Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/TryGhost/digitalocean-1-click

DigitalOcean 1-Click App
https://github.com/TryGhost/digitalocean-1-click

Added grant option to root privilege command

- this allows root from 127.0.0.1 IP to grant privileges to other uses

633af5fafe2249faa2c248fde7fc9abcabd367f1 authored about 1 year ago by Daniel Lockyer <[email protected]>
Removed DO droplet agent

- this isn't allowed by the check script

fde5b4d110e88cd05df3aa742b818c0a91baf856 authored about 1 year ago by Daniel Lockyer <[email protected]>
Moved setup files from `/opt/digitalocean` to `/opt/ghost-setup`

- the image checking script checks that the folder doesn't exist,
because it's also used by th...

935d181adc294e7f6e2d6f1e67018af211dd8f04 authored about 1 year ago by Daniel Lockyer <[email protected]>
Updated `cleanup` script

ac26450ee630dba5a6b158ff0347a423e21f3b41 authored about 1 year ago by Daniel Lockyer <[email protected]>
Updated `img_check` script

e3ee3be79b257fff9391b0bc14f4864a2637e662 authored about 1 year ago by Daniel Lockyer <[email protected]>
Fixed permissions on `/var/www` folder

refs https://github.com/TryGhost/DevOps/issues/7

- I started to get weird permissions errors wi...

12ff43d1ae58dc415cc8f415d0edcb09d11c46c7 authored over 1 year ago by Daniel Lockyer <[email protected]>
Updated default Node version to v18

refs https://github.com/TryGhost/Toolbox/issues/528

- this bumps the default Node version to v1...

0722113beacef23781712808189e8621bdd40413 authored over 1 year ago by Daniel Lockyer <[email protected]>
2023

cbac85e81c234b7f96467d7c14f28484143cee92 authored over 1 year ago by John O'Nolan <[email protected]>
Updated 1-click image to Ubuntu 22.04

refs https://github.com/TryGhost/Toolbox/issues/355

- this updates the 1-click base image to Ub...

884d3be227578df4b273db42ca5da8b78638dabf authored over 2 years ago by Daniel Lockyer <[email protected]>
Added img_check support for Ubuntu 22.04

refs https://github.com/digitalocean/marketplace-partners/commit/91196749955f75aa5e153c7412fb738...

2ec1433fb92f5110a289add3d0a76894bd6eba44 authored over 2 years ago by Daniel Lockyer <[email protected]>
Hidden output from stopping+disabling MySQL

- we don't need to show this in the output

19587fb492a597692812d8be278d8399c5000d2a authored over 2 years ago by Daniel Lockyer <[email protected]>
Fixed env variable for database name

- the correct value is `DATABASE_DB`

9ccf15c49411b167352eca378926f7bbc7cbb6ee authored over 2 years ago by Daniel Lockyer <[email protected]>
Stopped and disabled local MySQL if using remote DB

- we shouldn't run the local DB if we're using a remote one
- this helps prevent confusion as to...

4fc4c038e23a5a37464291b1de6b44393b3712c8 authored over 2 years ago by Daniel Lockyer <[email protected]>
Cleaned up commented out setup code

- this is no longer needed and can be cleaned up

37cb542bbb7c9f20f4e4d284caefd63ef9569a74 authored over 2 years ago by Daniel Lockyer <[email protected]>
Added support for DigitalOcean Managed DBs

refs https://github.com/digitalocean/marketplace-partners#getting-started-creating-your-droplet-...

40bd9fb8ecd83b44034cf470627da0e8fad8ee2a authored over 2 years ago by Daniel Lockyer <[email protected]>
Removed separate database and user creation steps

- Ghost-CLI contains this code natively and we don't need to create it
here

ef8b9f90f1c89682ad08862e652cd8954ca57397 authored almost 3 years ago by Daniel Lockyer <[email protected]>
Updated Node version to 16

refs https://github.com/TryGhost/Toolbox/issues/163

- the Ghost recommended version is soon to ...

84660f09df68895690db363e3ccc488ab98a27fd authored almost 3 years ago by Daniel Lockyer <[email protected]>
2022

c7e210b10af45aa700025f8d3a004a38da4a62d3 authored almost 3 years ago by John O'Nolan <[email protected]>
Added check to ensure MySQL is running before continuing

no issue

- I just regenerated the image and tested out some installs but kept
running into ra...

bf410cc6a0ea043e6a9cd50eba8e53585f81a8ca authored about 3 years ago by Daniel Lockyer <[email protected]>
Added guard against double setup

no issue

- this is a bit of a weird one... *sometimes* we'd see the setup script
looping upon...

b68918f35ddf76ca25fed2231c86f3654c518e57 authored over 3 years ago by Daniel Lockyer <[email protected]>
Inlined package installs into early update process

no issue

- this is how it is done in the demo marketplace app and saves an extra
script hangi...

92d97e4bad1002a64c74fd8a507194f92d7b1a10 authored over 3 years ago by Daniel Lockyer <[email protected]>
Updated `img_check.sh` to v1.6

no issue

- this lets us keep our submissions up-to-date with what is required by
DO

202b954795e07bfffdce9c36ad5e1a08fef9e08c authored over 3 years ago by Daniel Lockyer <[email protected]>
Updated application tag for Ghost to Ubuntu 20

no issue

- this was missed from the previous commit [1] and accurately reflects
the bump in O...

8b7762db02a1a1b7a54b2dd2e706954a6684a877 authored over 3 years ago by Daniel Lockyer <[email protected]>
Updated DigitalOcean marketplace links

no issue

- these links go to our new page instead of 404ing

2ee139e701a4b9602b4e15c4de6b72b9da40864c authored over 3 years ago by Daniel Lockyer <[email protected]>
Added `do_api_token` to sensitive variables list

no issue

- this tells Packer to treat this variable as secret and hide it from
the build outp...

5d0455fd0e138e0fa5be3f71ef5f4f56efca80dc authored over 3 years ago by Daniel Lockyer <[email protected]>
Improved disk clearing speed

no issue

- `dd` is suuuuuper slow unless you set a blocksize (`bs`)
- taken from
https://gith...

af64c5d4cc04a16116e734e49678c252979c3132 authored over 3 years ago by Daniel Lockyer <[email protected]>
Fixed `apt upgrade` waiting for user input

no issue

- there are some steps in the upgrade process that want user input, but
we're runnin...

328b66f540d6ea9ed3f71d2663df110cd68eda19 authored over 3 years ago by Daniel Lockyer <[email protected]>
Fixed MySQL password creation on MySQL 8

no issue

- the `mysql` Node library doesn't support the new password
authentication in MySQL,...

66fc7981b05087d4db79a655c80bfa8e8bc5928a authored over 3 years ago by Daniel Lockyer <[email protected]>
Bumped base Ubuntu image to 20.04

refs https://forum.ghost.org/t/updating-the-digitalocean-marketplace-image/21574

- it's time we...

a75384fff181a99789915cf4e57fe3e7cf329b21 authored over 3 years ago by Daniel Lockyer <[email protected]>
Bumped installed Node version to 14

refs https://github.com/TryGhost/Team/issues/505

- we're moving the recommended Node version to...

34250cbae3b2470a7b6e83ae582e582b313b87d8 authored almost 4 years ago by Daniel Lockyer <[email protected]>
2021

f77f1185487ab30c1b2360c68f52c1005d0c2fef authored almost 4 years ago by John O'Nolan <[email protected]>
Moved cloud-init script from per-once to per-instance

no issue

- For some reason, the file doesn't seem to run when placed in per-once
- According to...

86c431d2743b6c8ac262f29c2982dafc6ecf9950 authored over 4 years ago by Daniel Lockyer <[email protected]>
Disabled log checking in img_check

refs https://github.com/digitalocean/marketplace-partners/issues/90 and
https://github.com/digit...

31adbeba40dae32d2476666b704f54dcb788830f authored over 4 years ago by Daniel Lockyer <[email protected]>
Changed snapshot name

no issue

0fcc272b2b70356d184a655a0aa9b022b205a17b authored over 4 years ago by Daniel Lockyer <[email protected]>
Changed snapshot Droplet location

no issue

37c8a672ab64e851f38072d6827f7703f31ed049 authored over 4 years ago by Daniel Lockyer <[email protected]>
Updated cleanup script to latest

no issue

- taken from https://github.com/digitalocean/marketplace-partners/blob/master/scripts/...

5de0b49c8478b32c9a6949efe7c36116acf136bc authored over 4 years ago by Daniel Lockyer <[email protected]>
Bootstrap a Ghost snapshot

Use packer to bootstrap a Ghost snapshot to turn into a DO 1-click.

7b8e94ec5a489671a478c51116fc6066ac6d7c5f authored over 4 years ago by Jim Weinert <[email protected]>
Fork packer example script

1f50da83b2f081280f9fb4d2d077b1e13572d582 authored over 4 years ago by Jim Weinert <[email protected]>