Skip to content

Commit 815759a

Browse files
authored
Merge pull request #442 from snyk/chore/package-json-tidying
chore: fix misspelling of YAML as YALM
2 parents cdb05f7 + d4e7b47 commit 815759a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"test:integration:kind:yaml": "DEPLOYMENT_TYPE=YAML TEST_PLATFORM=kind CREATE_CLUSTER=true tap test/integration/kubernetes.test.ts --timeout=900",
1111
"test:integration:kind:helm": "DEPLOYMENT_TYPE=Helm TEST_PLATFORM=kind CREATE_CLUSTER=true tap test/integration/kubernetes.test.ts --timeout=900",
1212
"test:integration:eks:yaml": "DEPLOYMENT_TYPE=YAML TEST_PLATFORM=eks CREATE_CLUSTER=false tap test/integration/kubernetes.test.ts --timeout=900",
13-
"test:integration:openshift3:yalm": "DEPLOYMENT_TYPE=YAML TEST_PLATFORM=openshift3 CREATE_CLUSTER=true tap test/integration/kubernetes.test.ts --timeout=900",
13+
"test:integration:openshift3:yaml": "DEPLOYMENT_TYPE=YAML TEST_PLATFORM=openshift3 CREATE_CLUSTER=true tap test/integration/kubernetes.test.ts --timeout=900",
1414
"test:integration:openshift4:operator": "DEPLOYMENT_TYPE=Operator TEST_PLATFORM=openshift4 CREATE_CLUSTER=false tap test/integration/kubernetes.test.ts --timeout=900",
1515
"test:coverage": "npm run test:unit -- --coverage",
1616
"test:watch": "tsc-watch --onSuccess 'npm run test:unit'",

scripts/operator/package-operator.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ NEW_OPERATOR_IMAGE_TAG="$2"
2424
NEW_MONITOR_IMAGE_TAG="$3"
2525

2626
CSV_LOCATION="./snyk-operator/deploy/olm-catalog/snyk-operator"
27-
OPERATOR_PACKAGE_YALM_LOCATION="${CSV_LOCATION}/snyk-operator.package.yaml"
27+
OPERATOR_PACKAGE_YAML_LOCATION="${CSV_LOCATION}/snyk-operator.package.yaml"
2828
CURRENT_TIMESTAMP=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
2929

3030
cp -r "${CSV_LOCATION}/0.0.0" "${CSV_LOCATION}/${NEW_OPERATOR_VERSION}"
3131

32-
sed -i.bak "s|0.0.0|${NEW_OPERATOR_VERSION}|g" "${OPERATOR_PACKAGE_YALM_LOCATION}"
33-
rm "${OPERATOR_PACKAGE_YALM_LOCATION}.bak"
32+
sed -i.bak "s|0.0.0|${NEW_OPERATOR_VERSION}|g" "${OPERATOR_PACKAGE_YAML_LOCATION}"
33+
rm "${OPERATOR_PACKAGE_YAML_LOCATION}.bak"
3434

3535
SOURCE_CSV="${CSV_LOCATION}/${NEW_OPERATOR_VERSION}/snyk-operator.v0.0.0.clusterserviceversion.yaml"
3636
TARGET_CSV="${CSV_LOCATION}/${NEW_OPERATOR_VERSION}/snyk-operator.v${NEW_OPERATOR_VERSION}.clusterserviceversion.yaml"

0 commit comments

Comments
 (0)