@ixor/aws-cdk-ixor-lambda 1.2.0-rc-14 → 1.2.0-rc-18
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/bitbucket-pipelines.yml +12 -6
- package/package.json +1 -1
package/bitbucket-pipelines.yml
CHANGED
|
@@ -1,21 +1,27 @@
|
|
|
1
1
|
image: node:18
|
|
2
2
|
|
|
3
|
+
definitions:
|
|
4
|
+
source-bb-aws-utils: &source-bb-aws-utils |-
|
|
5
|
+
git clone -b ${BB_AWS_UTILS_VERSION:-master} git@bitbucket.org:ixorcvba/ixor-bb-aws-utils.git /ixor-bb-aws-utils
|
|
6
|
+
LIB_DIR=/ixor-bb-aws-utils/lib source /ixor-bb-aws-utils/lib/load.bash
|
|
7
|
+
|
|
8
|
+
configure-oidc: &configure-oidc |-
|
|
9
|
+
export AWS_WEB_IDENTITY_TOKEN_FILE=/tmp/web-identity-token
|
|
10
|
+
echo $BITBUCKET_STEP_OIDC_TOKEN > /tmp/web-identity-token
|
|
11
|
+
|
|
3
12
|
pipelines:
|
|
4
13
|
branches:
|
|
5
14
|
'{feature/**,bugfix/**,hotfix/**}':
|
|
6
15
|
- step:
|
|
7
16
|
name: "Release patch version to npm"
|
|
8
17
|
script:
|
|
9
|
-
-
|
|
10
|
-
-
|
|
11
|
-
- export NPM_TOKEN="$(aws_get_ssm_parameter_by_name NPM_TOKEN)"
|
|
18
|
+
- *configure-oidc
|
|
19
|
+
- *source-bb-aws-utils
|
|
12
20
|
- install_jq
|
|
13
21
|
- npm ci
|
|
14
22
|
- npm run build
|
|
15
23
|
- npm version "$(jq -r '.version' package.json)-rc-${BITBUCKET_BUILD_NUMBER}" -m "[skip ci] Upgrade to %s - $(git log -1 --pretty=%B | head -1)"
|
|
16
|
-
-
|
|
17
|
-
variables:
|
|
18
|
-
NPM_TOKEN: $NPM_TOKEN
|
|
24
|
+
- npm publish
|
|
19
25
|
|
|
20
26
|
'master':
|
|
21
27
|
- step:
|