Skip to content

Commit f54c154

Browse files
authored
Merge pull request #464 from snyk/chore/stop_releasing_readme
[RUN-903] chore: stop publishing the READMEs to gh-pages
2 parents 00b3d88 + 0a3eef8 commit f54c154

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

scripts/publish-gh-pages.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ then
2020
fi
2121

2222
echo overriding new yaml / chart files from master branch
23-
git checkout origin/master -- snyk-monitor snyk-monitor-cluster-permissions.yaml snyk-monitor-deployment.yaml snyk-monitor-namespaced-permissions.yaml README.md
23+
git checkout origin/master -- snyk-monitor snyk-monitor-cluster-permissions.yaml snyk-monitor-deployment.yaml snyk-monitor-namespaced-permissions.yaml
24+
git reset ./snyk-monitor/README.md
2425

2526
echo overriding tag placeholders with latest semantic version
2627
sed -i "s/IMAGE_TAG_OVERRIDE_WHEN_PUBLISHING/${NEW_TAG}/g" ./snyk-monitor/values.yaml
@@ -38,7 +39,6 @@ git add ./snyk-monitor/values.yaml
3839
git add ./snyk-monitor-deployment.yaml
3940
git add ./snyk-monitor-cluster-permissions.yaml
4041
git add ./snyk-monitor-namespaced-permissions.yaml
41-
git add ./README.md
4242
COMMIT_MESSAGE='fix: :egg: Automatic Publish '${NEW_TAG}' :egg:'
4343
git commit -m "${COMMIT_MESSAGE}"
4444
git push --quiet --set-upstream origin-pages gh-pages

test/fixtures/binaries-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ spec:
1717
spec:
1818
containers:
1919
- name: node
20-
image: node:lts-alpine3.11
20+
image: node@sha256:215a9fbef4df2c1ceb7c79481d3cfd94ad8f1f0105bade39f3be907bf386c5e1
2121
command: ['sh', '-c', 'echo Hello from node:lts-alpine3.11 pod! && sleep 360000']
2222
ports:
2323
- containerPort: 80

test/integration/kubernetes.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ tap.test('snyk-monitor sends binary hashes to kubernetes-upstream after adding a
143143
t.equals(nodePluginResult.hashes.length, 1, 'one key-binary hash found in node image');
144144
t.equals(
145145
nodePluginResult.hashes[0],
146-
'45cf3343b95cb067dec6d64ccc848f48b598baffed5b12be1d14142d087da0e8',
146+
'6d5847d3cd69dfdaaf9dd2aa8a3d30b1a9b3bfa529a1f5c902a511e1aa0b8f55',
147147
'SHA256 for whatever Node is on node:lts-alpine3.11',
148148
);
149149

0 commit comments

Comments
 (0)