@midships-global/frodo-cli
Version:
A command line interface to manage ForgeRock Identity Cloud tenants, ForgeOps deployments, and classic deployments.
54 lines (48 loc) • 1.48 kB
YAML
# ========================================================================
# MIDSHIPS
# COPYRIGHT 2024
# Legal Notice:
# Installation and use of this script is subject to a license agreement
# with Midships Limited (a company registered in England, under company
# registration number: 11324587). This script cannot be modified or
# shared with another organisation unless approved in writing by Midships
# Limited. You as a user of this script must review, accept and comply
# with the license terms of each downloaded/installed package that is
# referenced by this script. By proceeding with the installation, you are
# accepting the license terms of each package, and acknowledging that your
# use of each package will be subject to its respective license terms.
# For more information visit www.midships.io
# NOTE:
# Don't check this file into source control with any sensitive hard
# coded values.
# ===========================================================
stages:
- build
- publish
variables:
ORG_NAME: "midships-global"
#[ Build all images - Start ]
package-build:
image: node:latest
stage: build
services:
- docker:dind
when: manual
tags:
- gitlab-org-docker
script:
- |
npm install
npm run build
package-publish:
image: node:latest
stage: publish
services:
- docker:dind
when: manual
tags:
- gitlab-org-docker
script:
- |
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
npm publish --access public