Skip to content

Commit

Permalink
feat: prepared release v1.1.2 (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmuslia authored Nov 29, 2023
1 parent 2704a26 commit 82ecd45
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ jobs:
run: ./scripts/test.sh
- name: CDK-Synth-No-Lookup
run: ./scripts/cdk-synth-no-lookup.sh

11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,16 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Released]

## [1.1.1] - 2023-11-29done
## [1.1.2] - 2023-11-29
In this release we have included bugfixes.

### Added
### Changed
### Fixed
- Issue in the PipelineStack tests when adding a stack deploying SecretsManager secrets. Namespaced all the template stack identifiers as well to avoid potential crashes during new resource creations
- Enforce use of latest [pip](https://pypi.org/project/pip/) version in the Security Scans

## [1.1.1] - 2023-11-29
In this release we have included bugfixes, small updates to README as well as changed the Github Workflow to use cdk synth without lookup.

### Added
Expand Down
2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -7781,7 +7781,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


cicd-boot 1.1.1
cicd-boot 1.1.2
MIT*
MIT No Attribution

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package-verification.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"package-lock.json":"e6c4dda3873ee39ce3a4fb7cf04b05f9a0b3c1ec531c736fd0e669e718fce5c4"}
{"package-lock.json":"c83652d2d0037cd54319668560fad1db66d03a9dda672b0e6dd107589aa3da5a"}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cicd-boot",
"version": "1.1.1",
"version": "1.1.2",
"bin": {
"pipeline": "bin/app.ts"
},
Expand Down
6 changes: 4 additions & 2 deletions scripts/check-code-scan-security.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ function initalize_security_env() {
$PYTHON_COMMAND -m venv "$WORK_DIR/venv" > /dev/null;

. $WORK_DIR/venv/bin/activate;

$PYTHON_COMMAND -m pip install --upgrade pip > /dev/null;
}

function install_python_dependency() {
Expand All @@ -86,7 +88,7 @@ function install_python_dependency() {
function report_location() {
## On CI/CD generate reports always
if [[ -z "$JUNIT_REPORT" ]]; then
if [ ! -z $CODEBUILD_BUILD_ID ] || [ -z $CODEBUILD_BUILD_ID ]; then
if [ ! -z $CODEBUILD_BUILD_ID ] || [ -z $CODEBUILD_BUILD_ID ]; then
JUNIT_REPORT="ci";
fi
fi
Expand Down Expand Up @@ -132,7 +134,7 @@ function bandit_scan() {
install_python_dependency "bandit" "$BANDIT_VERSION";
# Execute bandit
if [[ -z "$JUNIT_REPORT" ]]; then
bandit -x '**node_modules/*,**cdk.out/*' -r .
bandit -x '**node_modules/*,**cdk.out/*' -r .
else
if ! bandit -x '**node_modules/*,**cdk.out/*' -r -f xml -q . > "${JUNIT_REPORT_FOLDER}/bandit-junit-results.xml"; then
CHECK_FAILED=1;
Expand Down
4 changes: 2 additions & 2 deletions test/PipelineStack.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe('pipeline-stack-test-codecommit', () => {
});

const template = Template.fromStack(
new PipelineStack(app, 'PipelineStack', {
new PipelineStack(app, 'PipelineStackCodeCommit', {
env: { account: TestAppConfig.deploymentAccounts.RES, region: TestAppConfig.region },
applicationName: TestAppConfig.applicationName,
applicationQualifier: TestAppConfig.applicationQualifier,
Expand Down Expand Up @@ -125,7 +125,7 @@ describe('pipeline-stack-test-codestar', () => {
});

const template = Template.fromStack(
new PipelineStack(app, 'PipelineStack', {
new PipelineStack(app, 'PipelineStackCodeStar', {
env: { account: TestAppConfig.deploymentAccounts.RES, region: TestAppConfig.region },
applicationName: TestAppConfig.applicationName,
applicationQualifier: TestAppConfig.applicationQualifier,
Expand Down
4 changes: 2 additions & 2 deletions test/RepositoryStack.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { RepositoryStack } from '../lib/stacks/core/RepositoryStack';
describe('repository-stack-test-codecommit', () => {
const app = new cdk.App();
const template = Template.fromStack(
new RepositoryStack(app, 'RepositoryStack', {
new RepositoryStack(app, 'RepositoryStackCodeCommit', {
env: { account: TestAppConfig.deploymentAccounts.RES, region: TestAppConfig.region },
applicationName: TestAppConfig.applicationName,
applicationQualifier: TestAppConfig.applicationQualifier,
Expand All @@ -30,7 +30,7 @@ describe('repository-stack-test-codecommit', () => {

describe('repository-stack-test-codestarconnect', () => {
const app = new cdk.App();
const stack = new RepositoryStack(app, 'RepositoryStack', {
const stack = new RepositoryStack(app, 'RepositoryStackCodeStar', {
env: { account: TestAppConfig.deploymentAccounts.RES, region: TestAppConfig.region },
applicationName: TestAppConfig.applicationName,
applicationQualifier: TestAppConfig.applicationQualifier,
Expand Down
6 changes: 3 additions & 3 deletions test/VPCStack.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe('vpc-stack-test-with-proxy', () => {
},
};

const vpcStack = new VPCStack(app, 'VPCStack', {
const vpcStack = new VPCStack(app, 'VPCStackWithProxy', {
env: { account: TestAppConfig.deploymentAccounts.RES, region: TestAppConfig.region },
vpcConfig: vpcConfig,
proxy: {
Expand Down Expand Up @@ -83,7 +83,7 @@ describe('vpc-stack-test-without-proxy', () => {
},
};

const vpcStack = new VPCStack(app, 'VPCStack', {
const vpcStack = new VPCStack(app, 'VPCStackWithoutProxy', {
env: { account: TestAppConfig.deploymentAccounts.RES, region: TestAppConfig.region },
vpcConfig: vpcConfig,
flowLogsBucketName: TestAppConfig.complianceLogBucketName.RES,
Expand Down Expand Up @@ -114,7 +114,7 @@ describe('vpc-stack-test-omission', () => {
};

const template = Template.fromStack(
new VPCStack(app, 'VPCStack', {
new VPCStack(app, 'VPCStackOmission', {
env: { account: TestAppConfig.deploymentAccounts.RES, region: TestAppConfig.region },
vpcConfig,
flowLogsBucketName: TestAppConfig.complianceLogBucketName.RES,
Expand Down

0 comments on commit 82ecd45

Please sign in to comment.