@abgov/nx-oc
v8.1.2
Published
Government of Alberta - Nx plugin for OpenShift.
Downloads
1,261
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