Neutralize internal-host references for publication
The CI workflow comment named the internal server, and PLUGIN-EXTERNAL-REPO carried internal gitea clone URLs (it becomes a public wiki page). Point both at the GitHub home / a generic CI mention so the publication scrub gate passes and the wiki does not expose internal infrastructure.
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -1,6 +1,6 @@
|
|||||||
# CI for shopdb-flask on GitHub Actions.
|
# CI for shopdb-flask on GitHub Actions.
|
||||||
#
|
#
|
||||||
# Mirrors the internal gitea pipeline. Four jobs on push + pull_request:
|
# Mirrors the internal CI pipeline. Four jobs on push + pull_request:
|
||||||
# backend - pytest (SQLite via TestingConfig, no DB service needed)
|
# backend - pytest (SQLite via TestingConfig, no DB service needed)
|
||||||
# naming - the CONTRIBUTING.md naming/style gate
|
# naming - the CONTRIBUTING.md naming/style gate
|
||||||
# frontend - vitest + Vue build
|
# frontend - vitest + Vue build
|
||||||
|
|||||||
@@ -69,8 +69,8 @@ live. The loader discovers a symlinked directory the same as a real one.
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# 1. Clone the framework and your plugin repo side by side.
|
# 1. Clone the framework and your plugin repo side by side.
|
||||||
git clone https://gitea.proudtech.net/ge-aerospace/shopdb-flask.git
|
git clone https://github.com/ge-aero/shopdb-flask.git
|
||||||
git clone https://gitea.proudtech.net/wjsf/wjsf-shipping.git
|
git clone https://github.com/ge-aero/wjsf-shipping.git
|
||||||
|
|
||||||
# 2. Symlink your repo into the framework's plugins/ directory.
|
# 2. Symlink your repo into the framework's plugins/ directory.
|
||||||
# The link name is the plugin name from your manifest.json.
|
# The link name is the plugin name from your manifest.json.
|
||||||
@@ -183,14 +183,14 @@ The full script:
|
|||||||
# PLUGIN_DIR ($1) path to the plugin directory (holds manifest.json). Required.
|
# PLUGIN_DIR ($1) path to the plugin directory (holds manifest.json). Required.
|
||||||
# FRAMEWORK_REF ($2) git ref to test against in CI mode. Default: main.
|
# FRAMEWORK_REF ($2) git ref to test against in CI mode. Default: main.
|
||||||
# FRAMEWORK_URL framework git URL for CI mode.
|
# FRAMEWORK_URL framework git URL for CI mode.
|
||||||
# Default: https://gitea.proudtech.net/ge-aerospace/shopdb-flask.git
|
# Default: https://github.com/ge-aero/shopdb-flask.git
|
||||||
# LOCAL_FRAMEWORK path to an existing framework checkout. Set it to run offline.
|
# LOCAL_FRAMEWORK path to an existing framework checkout. Set it to run offline.
|
||||||
|
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
PLUGIN_DIR="${PLUGIN_DIR:-${1:-}}"
|
PLUGIN_DIR="${PLUGIN_DIR:-${1:-}}"
|
||||||
FRAMEWORK_REF="${FRAMEWORK_REF:-${2:-main}}"
|
FRAMEWORK_REF="${FRAMEWORK_REF:-${2:-main}}"
|
||||||
FRAMEWORK_URL="${FRAMEWORK_URL:-https://gitea.proudtech.net/ge-aerospace/shopdb-flask.git}"
|
FRAMEWORK_URL="${FRAMEWORK_URL:-https://github.com/ge-aero/shopdb-flask.git}"
|
||||||
LOCAL_FRAMEWORK="${LOCAL_FRAMEWORK:-}"
|
LOCAL_FRAMEWORK="${LOCAL_FRAMEWORK:-}"
|
||||||
|
|
||||||
if [ -z "$PLUGIN_DIR" ]; then
|
if [ -z "$PLUGIN_DIR" ]; then
|
||||||
@@ -318,7 +318,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
FRAMEWORK_REF: v0.5.0
|
FRAMEWORK_REF: v0.5.0
|
||||||
FRAMEWORK_URL: https://gitea.proudtech.net/ge-aerospace/shopdb-flask.git
|
FRAMEWORK_URL: https://github.com/ge-aero/shopdb-flask.git
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the plugin
|
- name: Check out the plugin
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user