ci: update runner-image + repo path to public/ namespace
Repos moved to public/ on Gitea: public/runner-image (CI image) and public/code-crispies (this repo). Updates workflow image refs, spec hyperlinks, README, and compose tags.
This commit is contained in:
@@ -10,7 +10,7 @@ jobs:
|
|||||||
ci:
|
ci:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: git.librete.ch/libretech/runner-image:v1
|
image: git.librete.ch/public/runner-image:v1
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ on:
|
|||||||
# Required repository variable:
|
# Required repository variable:
|
||||||
# DEPLOY_ENABLED "true" to enable
|
# DEPLOY_ENABLED "true" to enable
|
||||||
#
|
#
|
||||||
# Image: git.librete.ch/libretech/code-crispies
|
# Image: git.librete.ch/public/code-crispies
|
||||||
# main pushes → :main + :sha-<short>
|
# main pushes → :main + :sha-<short>
|
||||||
# tag pushes → :<tag> + :latest
|
# tag pushes → :<tag> + :latest
|
||||||
|
|
||||||
@@ -27,7 +27,7 @@ jobs:
|
|||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: git.librete.ch/libretech/runner-image:v1
|
image: git.librete.ch/public/runner-image:v1
|
||||||
timeout-minutes: 20
|
timeout-minutes: 20
|
||||||
if: ${{ vars.DEPLOY_ENABLED == 'true' }}
|
if: ${{ vars.DEPLOY_ENABLED == 'true' }}
|
||||||
steps:
|
steps:
|
||||||
@@ -44,7 +44,7 @@ jobs:
|
|||||||
- id: meta
|
- id: meta
|
||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v5
|
||||||
with:
|
with:
|
||||||
images: ${{ secrets.REGISTRY }}/libretech/code-crispies
|
images: ${{ secrets.REGISTRY }}/public/code-crispies
|
||||||
tags: |
|
tags: |
|
||||||
type=ref,event=branch
|
type=ref,event=branch
|
||||||
type=ref,event=tag
|
type=ref,event=tag
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ Code Crispies is a web-based learning platform designed to help users master HTM
|
|||||||
|
|
||||||
1. Clone the repository:
|
1. Clone the repository:
|
||||||
```bash
|
```bash
|
||||||
git clone https://git.librete.ch/libretech/code-crispies.git
|
git clone https://git.librete.ch/public/code-crispies.git
|
||||||
cd code-crispies
|
cd code-crispies
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -236,7 +236,7 @@ docker compose up -d
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
ssh netcup
|
ssh netcup
|
||||||
git clone ssh://tengo@git.librete.ch:41240/libretech/code-crispies.git /srv/cc
|
git clone ssh://tengo@git.librete.ch:41240/public/code-crispies.git /srv/cc
|
||||||
cd /srv/cc
|
cd /srv/cc
|
||||||
cp .env.example .env
|
cp .env.example .env
|
||||||
$EDITOR .env # fill VITE_SUPABASE_URL + VITE_SUPABASE_ANON_KEY
|
$EDITOR .env # fill VITE_SUPABASE_URL + VITE_SUPABASE_ANON_KEY
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ name: cc
|
|||||||
# - On dev (no CC_IMAGE in env): build from local context.
|
# - On dev (no CC_IMAGE in env): build from local context.
|
||||||
# - On netcup (CC_IMAGE pinned in /srv/cc/.env to the published Gitea
|
# - On netcup (CC_IMAGE pinned in /srv/cc/.env to the published Gitea
|
||||||
# package): pull the image and skip the build context entirely.
|
# package): pull the image and skip the build context entirely.
|
||||||
# The Gitea deploy workflow pushes git.librete.ch/libretech/code-crispies:main
|
# The Gitea deploy workflow pushes git.librete.ch/public/code-crispies:main
|
||||||
# on every main push.
|
# on every main push.
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# fix: remove answers from flexbox task descriptions (copy-paste score 95%)
|
# fix: remove answers from flexbox task descriptions (copy-paste score 95%)
|
||||||
|
|
||||||
**Issue**: [libretech/code-crispies#3](https://git.librete.ch/libretech/code-crispies/issues/3)
|
**Issue**: [public/code-crispies#3](https://git.librete.ch/public/code-crispies/issues/3)
|
||||||
**State**: open
|
**State**: open
|
||||||
**Author**: libretech
|
**Author**: libretech
|
||||||
**Labels**: none
|
**Labels**: none
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# fix: validation error messages reveal the solution instead of guiding learning
|
# fix: validation error messages reveal the solution instead of guiding learning
|
||||||
|
|
||||||
**Issue:** [#4](https://git.librete.ch/libretech/code-crispies/issues/4)
|
**Issue:** [#4](https://git.librete.ch/public/code-crispies/issues/4)
|
||||||
**Repository:** libretech/code-crispies
|
**Repository:** public/code-crispies
|
||||||
**Author:** libretech
|
**Author:** libretech
|
||||||
**State:** open
|
**State:** open
|
||||||
**Labels:** none
|
**Labels:** none
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# fix: rewrite colors and box-model task descriptions to remove copy-paste answers
|
# fix: rewrite colors and box-model task descriptions to remove copy-paste answers
|
||||||
|
|
||||||
**Issue**: [libretech/code-crispies#9](https://git.librete.ch/libretech/code-crispies/issues/9)
|
**Issue**: [public/code-crispies#9](https://git.librete.ch/public/code-crispies/issues/9)
|
||||||
**State**: open
|
**State**: open
|
||||||
**Author**: libretech
|
**Author**: libretech
|
||||||
**Labels**: none
|
**Labels**: none
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# fix: rewrite CSS Filters tasks to describe visual outcomes instead of exact code
|
# fix: rewrite CSS Filters tasks to describe visual outcomes instead of exact code
|
||||||
|
|
||||||
**Issue:** [#12](https://git.librete.ch/libretech/code-crispies/issues/12)
|
**Issue:** [#12](https://git.librete.ch/public/code-crispies/issues/12)
|
||||||
**Repository:** libretech/code-crispies
|
**Repository:** public/code-crispies
|
||||||
**Author:** libretech
|
**Author:** libretech
|
||||||
**State:** open
|
**State:** open
|
||||||
**Labels:** none
|
**Labels:** none
|
||||||
|
|||||||
Reference in New Issue
Block a user