Skip to content

Commit 239121f

Browse files
committed
chore: update CI files
1 parent 59f94ba commit 239121f

File tree

13 files changed

+19
-19
lines changed

13 files changed

+19
-19
lines changed

Tiltfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
docker_build("snyk/kubernetes-monitor", ".",
1+
docker_build("snyk/kubernetes-monitor-private-fork", ".",
22
live_update=[
33
fall_back_on(["package.json", "package-lock.json"]),
44
sync('.', '/srv/app'),

scripts/circleci-jobs/setup-integration-tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
else:
1515
image_tag = "discardable"
1616
circle_sha1 = os.getenv("CIRCLE_SHA1")
17-
kubernetes_monitor_image_name_and_tag = "snyk/kubernetes-monitor:" + image_tag + "-" + circle_sha1
17+
kubernetes_monitor_image_name_and_tag = "snyk/kubernetes-monitor-private-fork:" + image_tag + "-" + circle_sha1
1818

1919
subprocess.getoutput("docker pull " + kubernetes_monitor_image_name_and_tag)
2020

scripts/docker/approve-image.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ if [ $1 == "null" ]; then
88
echo Semantic-Release did not create a new version, not pushing a new approved image
99
./scripts/slack/notify_success_no_release.py
1010
else
11-
IMAGE_NAME_CANDIDATE=snyk/kubernetes-monitor:staging-candidate-${CIRCLE_SHA1}
12-
IMAGE_NAME_APPROVED=snyk/kubernetes-monitor:${1}-approved
11+
IMAGE_NAME_CANDIDATE=snyk/kubernetes-monitor-private-fork:staging-candidate-${CIRCLE_SHA1}
12+
IMAGE_NAME_APPROVED=snyk/kubernetes-monitor-private-fork:${1}-approved
1313

1414
docker pull ${IMAGE_NAME_CANDIDATE}
1515
docker tag ${IMAGE_NAME_CANDIDATE} ${IMAGE_NAME_APPROVED}

scripts/docker/build-image.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# default value for our name and tag, when we don't want to push the image
44
# for example when testing locally or on opening a PR
5-
LOCAL_DISCARDABLE_IMAGE=snyk/kubernetes-monitor:local
5+
LOCAL_DISCARDABLE_IMAGE=snyk/kubernetes-monitor-private-fork:local
66

77
# allow overriding name and tag, when we intend to push the image
88
# should happen on merging to `staging`

scripts/local-testing.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ get_latest_release() {
77
sed 's/v//' # Remove "v" prefix
88
}
99

10-
LATEST_TAG=$(get_latest_release snyk/kubernetes-monitor)
10+
LATEST_TAG=$(get_latest_release snyk/kubernetes-monitor-private-fork)
1111
IP=$(ifconfig | grep "inet " | grep -Fv 127.0.0.1 | awk 'NR==1{print $2}')
1212

1313
if [ "$INTEGRATION_ID" == "" ]; then

scripts/operator/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
print("Missing environment variable KUBERNETES_MONITOR_IMAGE_TAG")
3838
print("Building kubernetes-monitor image and pushing to DockerHub")
3939
new_monitor_tag = operator_version
40-
monitor_name_and_tag = "snyk/kubernetes-monitor:" + new_monitor_tag
40+
monitor_name_and_tag = "snyk/kubernetes-monitor-private-fork:" + new_monitor_tag
4141
call(["docker", "build", "-t", monitor_name_and_tag, "."])
4242
call(["docker", "push", monitor_name_and_tag])
4343

scripts/publish-gh-pages.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ echo About to update the gh-pages branch with new tag ${NEW_TAG}
99
echo configuring git
1010
git config --global user.email "[email protected]"
1111
git config --global user.name "Runtime CI & CD"
12-
git remote add origin-pages https://${GH_TOKEN}@github.com/snyk/kubernetes-monitor.git > /dev/null 2>&1
12+
git remote add origin-pages https://${GH_TOKEN}@github.com/snyk/kubernetes-monitor-private-fork.git > /dev/null 2>&1
1313
git checkout -f gh-pages
1414

1515
if grep -Fxq " tag: ${NEW_TAG}" ./snyk-monitor/values.yaml

scripts/slack/notify_deploy.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ def notifySlack(image_name, deployment_env_name):
1616
{
1717
'color': '#7CD197',
1818
'fallback': 'Build Notification: ' + circle_build_url,
19-
'title': 'Kubernetes-Monitor Deploy Notification',
20-
'text': ':hatching_chick: Deploying Kubernetes-Monitor on `' + deployment_env_name + '`: `' + image_name + '` :hatching_chick:'
19+
'title': 'Kubernetes-Monitor-Private-Fork Deploy Notification',
20+
'text': ':hatching_chick: Deploying Kubernetes-Monitor-Private-Fork on `' + deployment_env_name + '`: `' + image_name + '` :hatching_chick:'
2121
}
2222
]
2323
}

scripts/slack/notify_failure.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def notifySlack(branch_name: str, job_name: str, build_url: str, pr_url: str, sl
1010
job_name_message = 'Job name: `' + job_name + '`\n'
1111
build_url_message = 'Build URL: ' + build_url + '\n'
1212
pr_url_message = 'Pull request URL: ' + pr_url + '\n'
13-
message = ':egg_broken_1: Kubernetes-Monitor broken branch: `' + branch_name + \
13+
message = ':egg_broken_1: Kubernetes-Monitor-Private-Fork broken branch: `' + branch_name + \
1414
'` :egg_broken_1:\n' + job_name_message + build_url_message + pr_url_message
1515

1616
data = {
@@ -19,7 +19,7 @@ def notifySlack(branch_name: str, job_name: str, build_url: str, pr_url: str, sl
1919
{
2020
'color': '#EE0000',
2121
'fallback': 'Build Notification: ' + build_url,
22-
'title': ':warning: Kubernetes-Monitor Merge Failure :warning:',
22+
'title': ':warning: Kubernetes-Monitor-Private-Fork Merge Failure :warning:',
2323
'text': message
2424
}
2525
]

scripts/slack/notify_push.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ def notifySlack(branch_name):
1515
{
1616
'color': '#7CD197',
1717
'fallback': 'Build Notification: ' + circle_build_url,
18-
'title': 'Kubernetes-Monitor Publish Notification',
19-
'text': ':egg_fancy: Published Kubernetes-Monitor: `' + branch_name + '` :egg_fancy:'
18+
'title': 'Kubernetes-Monitor-Private-Fork Publish Notification',
19+
'text': ':fork_and_knife: Published Kubernetes-Monitor-Private-Fork: `' + branch_name + '` :fork_and_knife:'
2020
}
2121
]
2222
}

0 commit comments

Comments
 (0)