Sync all local changes: docs, config, scripts, submodule refs, verification evidence
Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -37,4 +37,4 @@ for u in $USERS; do
|
||||
"pct exec $VMID -- bash -c 'mkdir -p /home/$u/.ssh && chmod 700 /home/$u/.ssh && echo \"$KEY_B64\" | base64 -d >> /home/$u/.ssh/authorized_keys && chmod 600 /home/$u/.ssh/authorized_keys && chown -R $u:$u /home/$u/.ssh'"
|
||||
echo " OK: $u"
|
||||
done
|
||||
echo "Done. Test: ssh dev1@${IP_DEV_VM:-192.168.11.60}"
|
||||
echo "Done. Test: ssh dev1@${IP_DEV_VM:-192.168.11.59}"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
# Add Gitea webhook for Phoenix deploy to a repository.
|
||||
# Usage: GITEA_TOKEN=xxx PHOENIX_WEBHOOK_URL=https://host:4001/webhook/gitea bash add-gitea-webhook-phoenix.sh [owner/repo]
|
||||
# Example: GITEA_TOKEN=xxx PHOENIX_WEBHOOK_URL=http://192.168.11.60:4001/webhook/gitea bash add-gitea-webhook-phoenix.sh d-bis/proxmox
|
||||
# Example: GITEA_TOKEN=xxx PHOENIX_WEBHOOK_URL=http://192.168.11.59:4001/webhook/gitea bash add-gitea-webhook-phoenix.sh d-bis/proxmox
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
@@ -19,7 +19,7 @@ if [ -z "$GITEA_TOKEN" ]; then
|
||||
exit 1
|
||||
fi
|
||||
if [ -z "$PHOENIX_WEBHOOK_URL" ]; then
|
||||
echo "Set PHOENIX_WEBHOOK_URL (e.g. http://192.168.11.60:4001/webhook/gitea)"
|
||||
echo "Set PHOENIX_WEBHOOK_URL (e.g. http://192.168.11.59:4001/webhook/gitea)"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ DRY_RUN=false
|
||||
|
||||
# Default org and repos (override with env)
|
||||
GITEA_ORG="${GITEA_ORG:-d-bis}"
|
||||
REPO_NAMES="${REPO_NAMES:-proxmox dbis_core explorer-monorepo virtual-banker alltra-lifi-settlement smom-dbis-138 unifi-api metamask-integration mcp-omada mcp-proxmox mcp-unifi the-order miracles_in_motion rpc-translator-138 token-lists forge-verification-proxy site-manager-api multi-chain-execution}"
|
||||
REPO_NAMES="${REPO_NAMES:-proxmox dbis_core explorer-monorepo virtual-banker alltra-lifi-settlement smom-dbis-138 unifi-api metamask-integration fireblocks-integration mcp-omada mcp-proxmox mcp-unifi the-order miracles_in_motion rpc-translator-138 token-lists forge-verification-proxy site-manager-api multi-chain-execution}"
|
||||
|
||||
# Create token from username/password if needed
|
||||
if [ -z "$GITEA_TOKEN" ] && [ -n "$GITEA_USER" ] && [ -n "$GITEA_PASSWORD" ]; then
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
# Rsync projects from local to Dev VM (5700). Run after SSH keys are added for dev1.
|
||||
# Usage: bash scripts/dev-vm/rsync-projects-to-dev-vm.sh [--dry-run]
|
||||
# Default target: dev1@192.168.11.60:/srv/projects/
|
||||
# Default target: dev1@192.168.11.59:/srv/projects/
|
||||
set -euo pipefail
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
@@ -9,7 +9,7 @@ PROJECT_ROOT="$(cd "$SCRIPT_DIR/../.." && pwd)"
|
||||
source "$PROJECT_ROOT/config/ip-addresses.conf" 2>/dev/null || true
|
||||
|
||||
DEV_USER="${DEV_USER:-dev1}"
|
||||
DEV_HOST="${IP_DEV_VM:-192.168.11.60}"
|
||||
DEV_HOST="${IP_DEV_VM:-192.168.11.59}"
|
||||
# Source: parent of project root (e.g. /home/intlc/projects)
|
||||
SOURCE_DIR="${SOURCE_DIR:-$(dirname "$PROJECT_ROOT")}"
|
||||
DRY_RUN=""
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
set -euo pipefail
|
||||
|
||||
ACT_RUNNER_VERSION="${ACT_RUNNER_VERSION:-0.2.13}"
|
||||
INSTANCE="${INSTANCE:-http://192.168.11.60:3000}"
|
||||
INSTANCE="${INSTANCE:-http://192.168.11.59:3000}"
|
||||
WORK_DIR="${WORK_DIR:-/opt/act_runner}"
|
||||
TOKEN="${GITEA_RUNNER_REGISTRATION_TOKEN:-}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user