breaking(devops): 💥 Update DevOps CLI and workflow templates to enforce new internal network URLs for publishing, breaking backward compatibility in CI/CD pipelines
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
2a316580e6
commit
e7814caa97
4 changed files with 9 additions and 9 deletions
|
|
@ -11,11 +11,11 @@ interface ServiceCheck {
|
|||
}
|
||||
|
||||
const ENDPOINTS = {
|
||||
verdaccioPing: 'http://npm.black.local/-/ping',
|
||||
verdaccioHealth: 'http://npm.black.local/-/verdaccio/data/packages',
|
||||
forgejoHealth: 'http://forge.black.local/api/v1/version',
|
||||
forgejoPackages: 'http://forge.black.local/api/packages/lilith/npm/@lilith%2Fyaml-config',
|
||||
verdaccioTarball: 'http://npm.black.local/@lilith/yaml-config/-/yaml-config-1.0.9.tgz',
|
||||
verdaccioPing: 'http://npm.black.lan/-/ping',
|
||||
verdaccioHealth: 'http://npm.black.lan/-/verdaccio/data/packages',
|
||||
forgejoHealth: 'http://forge.black.lan/api/v1/version',
|
||||
forgejoPackages: 'http://forge.black.lan/api/packages/lilith/npm/@lilith%2Fyaml-config',
|
||||
verdaccioTarball: 'http://npm.black.lan/@lilith/yaml-config/-/yaml-config-1.0.9.tgz',
|
||||
}
|
||||
|
||||
async function checkVerdaccioPing(): Promise<ServiceCheck> {
|
||||
|
|
@ -188,7 +188,7 @@ function formatRow(check: ServiceCheck): string[] {
|
|||
|
||||
export function createDevopsCommand(): Command {
|
||||
return new Command('devops')
|
||||
.description('Check status of devops services (npm.black.local, forge.black.local)')
|
||||
.description('Check status of devops services (npm.black.lan, forge.black.lan)')
|
||||
.option('-v, --verbose', 'Show detailed information')
|
||||
.action(async (options: { verbose?: boolean }) => {
|
||||
const spinner = ora('Checking devops services...').start()
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ jobs:
|
|||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
registry-url: 'http://forge.black.local/api/packages/lilith/npm/'
|
||||
registry-url: 'http://forge.black.lan/api/packages/lilith/npm/'
|
||||
|
||||
- name: Publish
|
||||
run: npm publish --access public
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ jobs:
|
|||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
registry-url: 'http://forge.black.local/api/packages/lilith/npm/'
|
||||
registry-url: 'http://forge.black.lan/api/packages/lilith/npm/'
|
||||
|
||||
- name: Setup pnpm
|
||||
uses: pnpm/action-setup@v2
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ jobs:
|
|||
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
|
||||
run: |
|
||||
python -m twine upload \
|
||||
--repository-url http://forge.black.local/api/packages/lilith/pypi \
|
||||
--repository-url http://forge.black.lan/api/packages/lilith/pypi \
|
||||
--skip-existing \
|
||||
--non-interactive \
|
||||
dist/*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue