@abgov/nx-oc
v10.0.0
Published
Government of Alberta - Nx plugin for OpenShift.
Keywords
Readme
About this project
This is the Government of Alberta - Nx plugin for OpenShift.
The plugin includes generators for setting up OpenShift pipeline and application yaml files, and executors for oc cli commands.
TLDR
- Create your Nx workspace using
npx create-nx-workspace my-workspace - Install plugin:
npm i -D @abgov/nx-oc - Login to OpenShift:
oc login {url} --token={token} - Generate basic infrastructure yml and apply it:
npx nx g @abgov/nx-oc:pipeline - Set up OpenShift yml on apps using
npx nx g @abgov/nx-oc:deployment
