Skip to content

Commit 003f7d5

Browse files
committed
ci: deploy alexandria in staging another way
Signed-off-by: Xe Iaso <me@xeiaso.net>
1 parent 974dd9a commit 003f7d5

File tree

4 files changed

+28
-69
lines changed

4 files changed

+28
-69
lines changed

.devcontainer/docker-compose.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ services:
3131
#platforms:
3232
# - linux/amd64
3333
# - linux/arm64
34-
cache-from:
35-
- type=registry,ref=ghcr.io/techarohq/alexandria/devcontainer/cache
3634
volumes:
3735
- ../:/workspace/alexandria:cached
3836
- node-modules:/workspace/alexandria/node_modules

.github/workflows/docker.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,28 @@ jobs:
4545
source: .
4646
push: false
4747
targets: devcontainer,alexandria
48+
49+
staging-deploy:
50+
needs:
51+
- docker
52+
if: github.repository == 'TecharoHQ/alexandria'
53+
runs-on: ubuntu-24.04
54+
55+
steps:
56+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
57+
with:
58+
persist-credentials: false
59+
60+
- name: Apply k8s manifests to limsa lominsa
61+
uses: actions-hub/kubectl@b5b19eeb6a0ffde16637e398f8b96ef01eb8fdb7 # v1.33.3
62+
env:
63+
KUBE_CONFIG: ${{ secrets.LIMSA_LOMINSA_KUBECONFIG }}
64+
with:
65+
args: apply -k manifest/staging
66+
67+
- name: Apply k8s manifests to limsa lominsa
68+
uses: actions-hub/kubectl@b5b19eeb6a0ffde16637e398f8b96ef01eb8fdb7 # v1.33.3
69+
env:
70+
KUBE_CONFIG: ${{ secrets.LIMSA_LOMINSA_KUBECONFIG }}
71+
with:
72+
args: rollout restart -n default deploy/anubis-docs

.github/workflows/staging-deploy.yaml

Lines changed: 0 additions & 67 deletions
This file was deleted.

.vscode/extensions.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"recommendations": ["docker.docker"]
3+
}

0 commit comments

Comments
 (0)