-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into docs/nfs-provisioner
- Loading branch information
Showing
756 changed files
with
33,523 additions
and
18,035 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
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,62 @@ | ||
name: Test database migration and rollback | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'main' | ||
paths: | ||
- 'services/api/database/**' | ||
- '.github/workflows/test-db-migrations.yml' | ||
tags: | ||
- 'v*.*.*' | ||
pull_request: | ||
branches: | ||
- 'main' | ||
paths: | ||
- 'services/api/database/**' | ||
- '.github/workflows/test-db-migrations.yml' | ||
|
||
jobs: | ||
makeup: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
name: Checkout PR | ||
uses: actions/checkout@v4 | ||
if: ${{ github.event_name == 'pull_request' }} | ||
with: | ||
fetch-depth: "0" | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
- | ||
name: Checkout Branch or Tag | ||
uses: actions/checkout@v4 | ||
if: ${{ github.event_name != 'pull_request' }} | ||
with: | ||
fetch-depth: "0" | ||
- | ||
name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
- | ||
name: Build necessary images | ||
run: | | ||
make build | ||
- | ||
name: Bring up a docker compose lagoon | ||
run: | | ||
make up | ||
- | ||
name: Show initial migration logs | ||
run: | | ||
docker compose -p lagoon logs api-init | ||
- | ||
name: Initiate rollback | ||
run: | | ||
docker compose -p lagoon exec api sh -c './node_modules/.bin/knex migrate:rollback --all --cwd /app/services/api/database' | ||
- | ||
name: Reperform initial migration | ||
run: | | ||
docker compose -p lagoon exec api sh -c './node_modules/.bin/knex migrate:latest --cwd /app/services/api/database' | ||
- | ||
name: Remove testing setup | ||
run: | | ||
make down |
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,38 @@ | ||
name: Test mkdocs | ||
on: | ||
push: | ||
branches: | ||
- 'docs/**' | ||
pull_request: | ||
branches: | ||
- 'main' | ||
paths: | ||
- 'docs/**' | ||
- 'mkdocs.yml' | ||
- '.github/workflows/test-mkdocs.yml' | ||
|
||
jobs: | ||
mkdocs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
name: Checkout PR | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- | ||
name: Install mkdocs and dependencies | ||
run: | | ||
pip install --upgrade pip | ||
pip install mkdocs | ||
pip install -r docs/requirements.txt | ||
- | ||
name: Check docs build ok in native mkdocs | ||
run: | | ||
mkdocs -V | ||
mkdocs build -s | ||
- | ||
name: Check docs build ok with amazee.io mkdocs image | ||
run: | | ||
docker run --rm ghcr.io/amazeeio/mkdocs-material -V | ||
docker run --rm -p 8000:8000 -v ${PWD}:/docs ghcr.io/amazeeio/mkdocs-material build -s |
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 |
---|---|---|
|
@@ -32,4 +32,5 @@ kindconfig.* | |
k3dconfig.* | ||
lagoon-charts.* | ||
calico.yaml | ||
.devcontainer | ||
.devcontainer | ||
docker-compose.override.yml |
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,7 @@ | ||
# Lagoon Project Deprecation Announcements | ||
|
||
Deprecations will be tracked by the release they are announced in, and then updated when the actual deprecation occurs. All deprecations should provide a rough timeline (in months or releases). | ||
|
||
## Deprecation and Upgrades policy | ||
|
||
See https://docs.lagoon.sh/releases/policy |
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
Oops, something went wrong.