@newskit-render/core 2.34.0 → 2.35.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/infrastructure/.circleci/config.yml +44 -16
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [2.34.0](https://github.com/newscorp-ghfb/ncu-newskit-render/compare/@newskit-render/core@2.34.0-alpha.0...@newskit-render/core@2.34.0) (2022-12-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @newskit-render/core
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [2.33.0](https://github.com/newscorp-ghfb/ncu-newskit-render/compare/@newskit-render/core@2.33.0-alpha.0...@newskit-render/core@2.33.0) (2022-12-16)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @newskit-render/core
|
|
@@ -884,9 +884,9 @@ workflows:
|
|
|
884
884
|
build_and_deploy:
|
|
885
885
|
when:
|
|
886
886
|
and:
|
|
887
|
-
- equal: [
|
|
887
|
+
- equal: [true, << pipeline.parameters.run_build_workflow >>]
|
|
888
888
|
- not:
|
|
889
|
-
equal: [
|
|
889
|
+
equal: [scheduled_pipeline, << pipeline.trigger_source >>]
|
|
890
890
|
jobs:
|
|
891
891
|
- bump_version:
|
|
892
892
|
<<: *only_on_master_branch
|
|
@@ -951,19 +951,19 @@ workflows:
|
|
|
951
951
|
deploy_to_dev_workflow:
|
|
952
952
|
when:
|
|
953
953
|
and:
|
|
954
|
-
- equal: [
|
|
954
|
+
- equal: [true, << pipeline.parameters.run_deploy_to_dev_workflow >>]
|
|
955
955
|
- not:
|
|
956
|
-
equal: [
|
|
956
|
+
equal: [scheduled_pipeline, << pipeline.trigger_source >>]
|
|
957
957
|
jobs:
|
|
958
958
|
- slack_deploy_approval:
|
|
959
959
|
<<: *only_on_tags
|
|
960
960
|
context: <% PROJECT_NAME >-dev
|
|
961
961
|
approval: false
|
|
962
|
-
environment: DEV
|
|
962
|
+
environment: DEV
|
|
963
963
|
- install_deps:
|
|
964
964
|
name: install_deps
|
|
965
965
|
context: <% PROJECT_NAME >-dev
|
|
966
|
-
<<: *only_on_tags
|
|
966
|
+
<<: *only_on_tags
|
|
967
967
|
- init_aws:
|
|
968
968
|
<<: *only_on_tags
|
|
969
969
|
context: <% PROJECT_NAME >-dev
|
|
@@ -980,7 +980,7 @@ workflows:
|
|
|
980
980
|
aws_assume_role_arn: ${ECR_AWS_ASSUME_ROLE_ARN}
|
|
981
981
|
update_kubeconfig: false
|
|
982
982
|
requires:
|
|
983
|
-
- install_deps
|
|
983
|
+
- install_deps
|
|
984
984
|
- upgrade_helm:
|
|
985
985
|
<<: *only_on_tags
|
|
986
986
|
context: <% PROJECT_NAME >-dev
|
|
@@ -1012,13 +1012,14 @@ workflows:
|
|
|
1012
1012
|
deploy_to_staging_workflow:
|
|
1013
1013
|
when:
|
|
1014
1014
|
and:
|
|
1015
|
-
- equal:
|
|
1015
|
+
- equal:
|
|
1016
|
+
[true, << pipeline.parameters.run_deploy_to_staging_workflow >>]
|
|
1016
1017
|
- not:
|
|
1017
|
-
equal: [
|
|
1018
|
+
equal: [scheduled_pipeline, << pipeline.trigger_source >>]
|
|
1018
1019
|
jobs:
|
|
1019
1020
|
- slack_deploy_approval:
|
|
1020
1021
|
<<: *only_on_tags
|
|
1021
|
-
context: <% PROJECT_NAME >-
|
|
1022
|
+
context: <% PROJECT_NAME >-stage
|
|
1022
1023
|
name: slack_deploy_approval
|
|
1023
1024
|
approval: true
|
|
1024
1025
|
environment: STAGING
|
|
@@ -1027,7 +1028,7 @@ workflows:
|
|
|
1027
1028
|
type: approval
|
|
1028
1029
|
- init_aws:
|
|
1029
1030
|
<<: *only_on_tags
|
|
1030
|
-
context: <% PROJECT_NAME >-
|
|
1031
|
+
context: <% PROJECT_NAME >-stage
|
|
1031
1032
|
name: init_aws_staging
|
|
1032
1033
|
aws_access_key_id: ${ECR_AWS_ACCESS_KEY_ID}
|
|
1033
1034
|
aws_secret_key: ${ECR_AWS_SECRET_ACCESS_KEY}
|
|
@@ -1061,7 +1062,7 @@ workflows:
|
|
|
1061
1062
|
- deploy_to_staging
|
|
1062
1063
|
- trigger_workflow_by_circle_tag:
|
|
1063
1064
|
<<: *only_on_tags
|
|
1064
|
-
context: <% PROJECT_NAME >-
|
|
1065
|
+
context: <% PROJECT_NAME >-stage
|
|
1065
1066
|
name: trigger_deploy_to_prod_workflow
|
|
1066
1067
|
workflow: deploy_to_prod_workflow
|
|
1067
1068
|
requires:
|
|
@@ -1070,13 +1071,13 @@ workflows:
|
|
|
1070
1071
|
deploy_to_prod_workflow:
|
|
1071
1072
|
when:
|
|
1072
1073
|
and:
|
|
1073
|
-
- equal: [
|
|
1074
|
+
- equal: [true, << pipeline.parameters.run_deploy_to_prod_workflow >>]
|
|
1074
1075
|
- not:
|
|
1075
|
-
equal: [
|
|
1076
|
+
equal: [scheduled_pipeline, << pipeline.trigger_source >>]
|
|
1076
1077
|
jobs:
|
|
1077
1078
|
- slack_deploy_approval:
|
|
1078
1079
|
<<: *only_on_tags
|
|
1079
|
-
context: <% PROJECT_NAME >-
|
|
1080
|
+
context: <% PROJECT_NAME >-prod
|
|
1080
1081
|
name: slack_deploy_approval
|
|
1081
1082
|
approval: true
|
|
1082
1083
|
environment: PROD
|
|
@@ -1085,7 +1086,7 @@ workflows:
|
|
|
1085
1086
|
type: approval
|
|
1086
1087
|
- init_aws:
|
|
1087
1088
|
<<: *only_on_tags
|
|
1088
|
-
context: <% PROJECT_NAME >-
|
|
1089
|
+
context: <% PROJECT_NAME >-prod
|
|
1089
1090
|
name: init_aws_prod
|
|
1090
1091
|
aws_access_key_id: ${ECR_AWS_ACCESS_KEY_ID}
|
|
1091
1092
|
aws_secret_key: ${ECR_AWS_SECRET_ACCESS_KEY}
|
|
@@ -1093,6 +1094,24 @@ workflows:
|
|
|
1093
1094
|
update_kubeconfig: false
|
|
1094
1095
|
requires:
|
|
1095
1096
|
- approve_deploy_to_prod
|
|
1097
|
+
- release-api/prerelease:
|
|
1098
|
+
<<: *only_on_tags
|
|
1099
|
+
context: <% PROJECT_NAME >-prod
|
|
1100
|
+
use_specific_github_creds: false #!Comment!Optional - use it only if your team have GitHub user and API token
|
|
1101
|
+
change_request_app_id: ''
|
|
1102
|
+
change_request_description: ''
|
|
1103
|
+
short_description: ''
|
|
1104
|
+
email_address: ''
|
|
1105
|
+
platform: ''
|
|
1106
|
+
os_type: ''
|
|
1107
|
+
partner: ''
|
|
1108
|
+
product_owner: ''
|
|
1109
|
+
priority: ''
|
|
1110
|
+
business_justification: ''
|
|
1111
|
+
testing_method: ''
|
|
1112
|
+
testing_tools: ''
|
|
1113
|
+
requires:
|
|
1114
|
+
- approve_deploy_to_prod
|
|
1096
1115
|
- init_aws:
|
|
1097
1116
|
<<: *only_on_tags
|
|
1098
1117
|
name: init_aws_eks_prod
|
|
@@ -1117,6 +1136,15 @@ workflows:
|
|
|
1117
1136
|
apply: true
|
|
1118
1137
|
requires:
|
|
1119
1138
|
- deploy_to_prod
|
|
1139
|
+
- release-api/release:
|
|
1140
|
+
<<: *only_on_tags
|
|
1141
|
+
context: <% PROJECT_NAME >-prod
|
|
1142
|
+
use_specific_github_creds: false #!Comment!Optional - use it only if your team have GitHub user and API token
|
|
1143
|
+
create_newrelic_deployment: false #!Comment! Set this to false, if your application does not have NewRelic App Name
|
|
1144
|
+
requires:
|
|
1145
|
+
- release-api/prerelease
|
|
1146
|
+
- approve_deploy_to_prod
|
|
1147
|
+
- deploy_to_prod
|
|
1120
1148
|
|
|
1121
1149
|
# You must go to project setting > triggers and add a trigger call remove_old_environments
|
|
1122
1150
|
# in CircleCi. This should be set to be triggered at midnight or around that time.
|