-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update README.md * Delete FUNDING.yml * Changed discord as the primary way to get in touch with the comminuty * Changed the discord link so that it uses a permanent invite link * Changed discord as the primary way to get in touch with the comminuty (#1279) * Changed discord as the primary way to get in touch with the comminuty * Changed the discord link so that it uses a permanent invite link * Fixed the version number being out dated from the actual latest release number. * Updated the version number in Amber to reflect the actual release number (#1280) * Changed discord as the primary way to get in touch with the comminuty * Changed the discord link so that it uses a permanent invite link * Fixed the version number being out dated from the actual latest release number. * Fix the correct documentation url (#1278) Co-authored-by: Philippe Nénert @papilip <me@papilip.me> * Feature/version upgrade (#1282) * Changed discord as the primary way to get in touch with the comminuty * Changed the discord link so that it uses a permanent invite link * Fixed the version number being out dated from the actual latest release number. * Updated Amber version and default Granite version * Feature/update readme contribution steps (#1283) * Changed discord as the primary way to get in touch with the comminuty * Changed the discord link so that it uses a permanent invite link * Fixed the version number being out dated from the actual latest release number. * Update Linux installation steps to reflect the actual steps needed to install from source * Make default package support older and newer versions of node-sass * Bump amber version and update Ameba version * Added github actions for CI instead of TravisCI * Amber version bump for these quality of life updates * Fix naming warning raised by crystal compiler about positional names being mismatched * removed the travisCI yml * Fixed amber_spec cookie naming error that relied on old implicit encoding/decoding of cooke name & value * Fixed areas that ameba caught for format improvements * Changed ubuntu to an older version instead of latest * Changed ci workflow to remove an extra sqlite3 dev library that may be causing issues * Changed from uninstall to install to fix sqlite3 issue * Changed installation of sqlite3 based on further reading * Set apt install to automatically agree to prompts * changed packed installed from full sqlite3 to sqlite3-dev * Adds redis for the test suite * Added redis dependencies to the apt install step * Changed steps to stop using the supercharge redis installation and added a step to check that redis is running * Trying redis as a service * Tweaked the redis service settings to map the port for the host container to access redis using localhost:6379 * Added a step to check access to the redis service before the tests run * redis-cli stopped existing so trying to install plain redis * removed the port mapping to test if redis becomes accessible from the runner * specified the host when testing the redis connection * Added ports mapping back to the redis service container to see if this resolves the redis-cli not reaching the redis service * Changed host from localhost to redis to see if that maps correctly * Added the REDIS_URL with the hostname of the redis service and removed the redis connection verification step now that it's working * Changed the empty? method to be more clear about 'any origin' being the actual question, and fixed the to_h method doing too much to return a hash * Remove crystalshards.xyz link on template view * Include the discord link into the generated home page templates * Tweaked how the PG test data is configured * fix to cli scaffold controller spec deprecated garnetspec parent class * Updated the remaining two templates that used the old GarnetSpec parent class to use the new/correct parent class * Updated docker file to use latest crystal image and updated stragling Amber version * Changed node version check to look for v14 only * Bump amber version and updated cli template to use latest release version instead of master branch * added "/myapp" to be excluded from git tracking * Added cli and cli.dwarf to the git ignore so less clean-up is required when working on the cli tool * Changed PG to check for the current user and omit the password for a speedier way to get started --------- Co-authored-by: Isaac Sloan <isaac@isaacsloan.com> Co-authored-by: robacarp <robacarp@users.noreply.github.com> Co-authored-by: Philippe Nénert <me+github@papilip.me> Co-authored-by: Philippe Nénert @papilip <me@papilip.me> Co-authored-by: Spenser Coke <work@spensercoke.com> Co-authored-by: Rafael Revi <rafael.e.revi@gmail.com>
- Loading branch information
1 parent
46fca86
commit ba76748
Showing
34 changed files
with
97 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Excluded: | ||
- tmp/ | ||
- myapp/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
on: | ||
push: | ||
jobs: | ||
amber-spec: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
container: | ||
image: crystallang/crystal | ||
|
||
services: | ||
redis: | ||
image: redis | ||
options: >- | ||
--health-cmd "redis-cli ping" | ||
--health-interval 10s | ||
--health-timeout 5s | ||
--health-retries 5 | ||
ports: | ||
- 6379:6379 | ||
postgres: | ||
image: postgres | ||
env: | ||
POSTGRES_PASSWORD: postgres | ||
options: >- | ||
--health-cmd pg_isready | ||
--health-interval 10s | ||
--health-timeout 5s | ||
--health-retries 5 | ||
ports: | ||
- 5432:5432 | ||
|
||
steps: | ||
- name: Update & install sqlite3 | ||
run: apt update && apt install -y libsqlite3-dev redis | ||
|
||
- name: Download source | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install shards | ||
run: shards install | ||
|
||
- name: Run tests | ||
run: bin/amber_spec | ||
env: | ||
REDIS_URL: "redis://redis:6379" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,7 @@ lib/ | |
/tmp | ||
shard.lock | ||
package-lock.json | ||
node_modules | ||
node_modules | ||
/myapp | ||
cli | ||
cli.dwarf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module Amber | ||
VERSION = "1.2.2" | ||
VERSION = "1.3.2" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters