UNCLASSIFIED

Commits (10)
......@@ -43,3 +43,120 @@ ansible.log
.ci-cache
.tfplan
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
*.lcov
# nyc test coverage
.nyc_output
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# Snowpack dependency directory (https://snowpack.dev/)
web_modules/
# TypeScript cache
*.tsbuildinfo
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
.env.test
# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache
# Next.js build output
.next
out
# Nuxt.js build / generate output
.nuxt
dist
# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public
# vuepress build output
.vuepress/dist
# Serverless directories
.serverless/
# FuseBox cache
.fusebox/
# DynamoDB Local files
.dynamodb/
# TernJS port file
.tern-port
# Stores VSCode versions used for testing VSCode extensions
.vscode-test
# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
\ No newline at end of file
......@@ -16,6 +16,9 @@ workflow:
# disallow pipelines for manual taggings
- if: $CI_COMMIT_TAG
when: never
# disallow pipelines for certain commit types
- if: '$CI_COMMIT_MESSAGE =~ /^(docs|chore|style):/'
when: never
# allow pipelines on merge request events
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
# allow pipelines on commits to default branch
......
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npx --no-install commitlint --edit $1
\ No newline at end of file
const standardVersionUpdaterYaml = require.resolve("standard-version-updater-yaml");
module.exports = {
// version is retrieved from these files
packageFiles: [
{ filename: "release.yaml", updater: standardVersionUpdaterYaml }
]
};
\ No newline at end of file
# Changelog
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
## 0.2.0 (2021-01-28)
### Features
* added semantic versioning and standard-version capabilities ([d396c2c](https://repo1.dso.mil///commit/d396c2ca535b114f86e0bef95a082e38f6043b6e))
# Changelog
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
......@@ -2,7 +2,21 @@
## Contributing code
TODO
Please use the npm modules provided for consistent commits:
```
npm install --save-dev
```
This will install various semantic modules, with the following intentions in mind:
* All developer commits must be of semantic form - https://www.conventionalcommits.org/
A brief look at what's installed:
* Husky - https://github.com/typicode/husky
* Commitizen - https://github.com/commitizen/cz-cli
* Commitlint - https://github.com/conventional-changelog/commitlint
## Finalizing a merge request
Upgrade terraform modules:
......
......@@ -70,9 +70,9 @@ git reset --hard $release
If you already have a unique local dev branch, bring in the latest release changes:
```
git fetch --all
release=$(git describe --match "release-v*" --abbrev=0 --tags master)
git checkout <your_local_dev_branch_name>
git fetch --tags origin
git merge $release
```
......
module.exports = {extends: ['@commitlint/config-conventional']}
This diff is collapsed.
{
"private": true,
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"cz-conventional-changelog": "^3.2.0",
"husky": "^5.0.7",
"standard-version": "^9.1.0",
"standard-version-updater-yaml": "^1.0.2"
},
"scripts": {
"postinstall": "husky install",
"release": "standard-version --commit-all --no-verify"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"standard-version": {
"skip": {
"tag": true,
"bump": true
}
}
}