chore(CORE-WP-0007): retire inter-hub-haskell reference implementation
Rename awareness in README, disable push-triggered CI, and point registry paths at coulomb/inter-hub-haskell after Core Hub cutover.
This commit is contained in:
parent
db19315463
commit
5901f98cde
2 changed files with 29 additions and 55 deletions
|
|
@ -1,15 +1,6 @@
|
|||
name: Build and Deploy
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
paths-ignore:
|
||||
- ".custodian-brief.md"
|
||||
- ".sops.yaml"
|
||||
- "app.toml"
|
||||
- "deploy/railiance/**"
|
||||
- "docs/**"
|
||||
- "workplans/**"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
|
@ -39,7 +30,7 @@ jobs:
|
|||
SHA=$(git rev-parse --short HEAD)
|
||||
TOKEN=$(
|
||||
curl -fsS \
|
||||
"https://gitea.coulomb.social/v2/token?service=container_registry&scope=repository:coulomb/inter-hub:push,pull" \
|
||||
"https://gitea.coulomb.social/v2/token?service=container_registry&scope=repository:coulomb/inter-hub-haskell:push,pull" \
|
||||
-u "tegwick:${REGISTRY_TOKEN}" \
|
||||
| awk -F'"' '/token/{print $4}'
|
||||
)
|
||||
|
|
@ -50,13 +41,13 @@ jobs:
|
|||
skopeo copy --insecure-policy \
|
||||
--dest-registry-token "${TOKEN}" \
|
||||
docker-archive:result \
|
||||
"docker://gitea.coulomb.social/coulomb/inter-hub:${SHA}"
|
||||
"docker://gitea.coulomb.social/coulomb/inter-hub-haskell:${SHA}"
|
||||
# Also tag as latest
|
||||
skopeo copy --insecure-policy \
|
||||
--dest-registry-token "${TOKEN}" \
|
||||
docker-archive:result \
|
||||
"docker://gitea.coulomb.social/coulomb/inter-hub:latest"
|
||||
echo "Pushed inter-hub:${SHA} and inter-hub:latest"
|
||||
"docker://gitea.coulomb.social/coulomb/inter-hub-haskell:latest"
|
||||
echo "Pushed inter-hub-haskell:${SHA} and inter-hub-haskell:latest"
|
||||
|
||||
- name: Deploy to Railiance01
|
||||
shell: bash -l {0}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue