ci: workflows and registry at https://git.holtlabs.xyz (Plan 14)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
d267ae2b93
commit
b9fd767940
3 changed files with 7 additions and 7 deletions
|
|
@ -10,20 +10,20 @@ jobs:
|
|||
runs-on: docker
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: https://git.lab.holtlabs.xyz/nholtware/workflows/node-checks@v1
|
||||
- uses: https://git.lab.holtlabs.xyz/nholtware/workflows/lint-checks@v1
|
||||
- uses: https://git.holtlabs.xyz/nholtware/workflows/node-checks@v1
|
||||
- uses: https://git.holtlabs.xyz/nholtware/workflows/lint-checks@v1
|
||||
|
||||
deploy:
|
||||
needs: checks
|
||||
runs-on: host
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: https://git.lab.holtlabs.xyz/nholtware/workflows/build-push@v1
|
||||
- uses: https://git.holtlabs.xyz/nholtware/workflows/build-push@v1
|
||||
with:
|
||||
app-name: ${{ github.event.repository.name }}
|
||||
registry-user: ${{ secrets.REGISTRY_USER }}
|
||||
registry-token: ${{ secrets.REGISTRY_TOKEN }}
|
||||
- uses: https://git.lab.holtlabs.xyz/nholtware/workflows/gitops-bump@v1
|
||||
- uses: https://git.holtlabs.xyz/nholtware/workflows/gitops-bump@v1
|
||||
with:
|
||||
app-name: ${{ github.event.repository.name }}
|
||||
gitops-token: ${{ secrets.GITOPS_TOKEN }}
|
||||
|
|
|
|||
|
|
@ -8,5 +8,5 @@ jobs:
|
|||
runs-on: docker
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: https://git.lab.holtlabs.xyz/nholtware/workflows/node-checks@v1
|
||||
- uses: https://git.lab.holtlabs.xyz/nholtware/workflows/lint-checks@v1
|
||||
- uses: https://git.holtlabs.xyz/nholtware/workflows/node-checks@v1
|
||||
- uses: https://git.holtlabs.xyz/nholtware/workflows/lint-checks@v1
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ const showBanner = useFlag("hello-banner");
|
|||
## Deploy
|
||||
|
||||
Push to `main`: Forgejo CI runs lint/test/format, builds and pushes
|
||||
`git.lab.holtlabs.xyz/nholtware/${REPO_NAME}:<sha>`, and bumps the tag in the
|
||||
`git.holtlabs.xyz/nholtware/${REPO_NAME}:<sha>`, and bumps the tag in the
|
||||
gitops repo. ArgoCD then syncs it. Manifests come from gitops
|
||||
`templates/frontend/`. The repo needs Actions secrets `REGISTRY_USER`,
|
||||
`REGISTRY_TOKEN`, and `GITOPS_TOKEN`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue