-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
188 changed files
with
7,065 additions
and
8,013 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 |
---|---|---|
|
@@ -3,6 +3,6 @@ vendor/ | |
node_modules/ | ||
public/js/ | ||
public/css/ | ||
storage/*.key | ||
storage/ | ||
docs/_build/ | ||
resources/test/ |
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 |
---|---|---|
|
@@ -3,9 +3,20 @@ APP_ENV=local | |
APP_KEY= | ||
APP_DEBUG=true | ||
APP_LOG_LEVEL=debug | ||
APP_TIMEZONE=UTC | ||
APP_URL=http://localhost:8000 | ||
|
||
APP_LOCALE=en | ||
APP_FALLBACK_LOCALE=en | ||
APP_FAKER_LOCALE=en_US | ||
|
||
APP_MAINTENANCE_DRIVER=file | ||
APP_MAINTENANCE_STORE=database | ||
|
||
BCRYPT_ROUNDS=12 | ||
|
||
LOG_CHANNEL=stack | ||
LOG_STACK=single | ||
|
||
DB_CONNECTION=mysql | ||
DB_HOST=127.0.0.1 | ||
|
@@ -14,8 +25,8 @@ DB_DATABASE=homestead | |
DB_USERNAME=homestead | ||
DB_PASSWORD=secret | ||
|
||
BROADCAST_DRIVER=log | ||
CACHE_DRIVER=file | ||
BROADCAST_CONNECTION=log | ||
CACHE_STORE=file | ||
SESSION_DRIVER=file | ||
QUEUE_DRIVER=sync | ||
|
||
|
@@ -44,6 +55,7 @@ CAS_MASQUERADE_givenName=George | |
CAS_MASQUERADE_sn=Burdell | ||
CAS_MASQUERADE_eduPersonPrimaryAffiliation=student | ||
CAS_MASQUERADE_authnContextClass=mfa-duo | ||
CAS_MASQUERADE_gtAccessCardNumber=000000000 | ||
|
||
SQUARE_ACCESS_TOKEN="" | ||
SQUARE_LOCATION_ID="" | ||
|
@@ -86,3 +98,7 @@ SCOUT_DRIVER=collection | |
|
||
TREASURER_DOCUSIGN_ACCOUNT=[email protected] | ||
TREASURER_DOCUSIGN_NAME="Kristaps Berzinch" | ||
|
||
SESSION_ENCRYPT=false | ||
SESSION_PATH=/ | ||
SESSION_DOMAIN=null |
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"problemMatcher": [ | ||
{ | ||
"owner": "sphinx-build", | ||
"pattern": [ | ||
{ | ||
"regexp": "^\\/home\\/runner\\/work\\/apiary\\/apiary\\/([a-zA-Z-\\.\\/]+):(\\d+):\\s+([a-zA-Z]+):\\s+(.+)$", | ||
"file": 1, | ||
"line": 2, | ||
"severity": 3, | ||
"message": 4 | ||
} | ||
] | ||
}, | ||
{ | ||
"owner": "phan", | ||
"pattern": [ | ||
{ | ||
"regexp": "^([a-zA-Z\\/\\.]+):(\\d+)\\s+([a-zA-Z]+)\\s+(.+)$", | ||
"file": 1, | ||
"line": 2, | ||
"code": 3, | ||
"message": 4 | ||
} | ||
] | ||
} | ||
] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
name: Remove Caches | ||
on: | ||
pull_request: | ||
types: | ||
- closed | ||
|
||
jobs: | ||
cleanup: | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- name: Remove Caches | ||
run: | | ||
set -x | ||
gh extension install actions/gh-actions-cache | ||
echo "Fetching list of cache keys" | ||
cacheKeysForPR=$(gh actions-cache list -R ${{ github.repository }} -B refs/pull/${{ github.event.pull_request.number }}/merge -L 100 | cut -f 1 ) | ||
## Setting this to not fail the workflow while deleting cache keys. | ||
set +e | ||
echo "Deleting caches..." | ||
for cacheKey in $cacheKeysForPR | ||
do | ||
gh actions-cache delete $cacheKey -R $REPO -B $BRANCH --confirm | ||
done | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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 |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: One-Click Deploy | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
environment: | ||
description: The image currently running in production will be deployed to the selected environment. Branch picker determines which Nomad job definition is used. | ||
required: true | ||
type: environment | ||
|
||
jobs: | ||
find-image-digest: | ||
permissions: | ||
id-token: write | ||
runs-on: ubuntu-latest | ||
|
||
outputs: | ||
image_digest: ${{ steps.get-image-digest.outputs.image_digest }} | ||
|
||
steps: | ||
- name: Setup Nomad | ||
uses: lucasmelin/[email protected] | ||
|
||
- name: Exchange GitHub JWT for Nomad token | ||
uses: RoboJackets/nomad-jwt-auth@main | ||
with: | ||
url: https://nomad.bcdc.robojackets.net | ||
jwtGithubAudience: https://nomad.bcdc.robojackets.net | ||
methodName: GitHubActions | ||
|
||
- name: Get production image digest | ||
id: get-image-digest | ||
env: | ||
NOMAD_ADDR: https://nomad.bcdc.robojackets.net | ||
run: >- | ||
echo "image_digest=$(nomad job inspect apiary-production | jq --raw-output .Job.TaskGroups[0].Tasks[0].Config.image | cut -d "@" -f 2)" >> $GITHUB_OUTPUT | ||
deploy: | ||
name: Deploy | ||
needs: [find-image-digest] | ||
uses: ./.github/workflows/deploy.yml | ||
concurrency: | ||
group: deploy-${{ inputs.environment }} | ||
cancel-in-progress: true | ||
permissions: | ||
id-token: write | ||
contents: read | ||
with: | ||
image-digest: ${{ needs.find-image-digest.outputs.image_digest }} | ||
environment: ${{ inputs.environment }} | ||
precompressed-assets: true |
Oops, something went wrong.