Skip to content
This repository has been archived by the owner on Nov 2, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' into release/v0.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
CI committed Nov 3, 2021
2 parents 2d8bffb + ddfae85 commit 03dfad6
Show file tree
Hide file tree
Showing 18 changed files with 34 additions and 33 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ With Sandbox, we provide a tool that automatically provisions a new demo cluster

Click the Cloud Shell button for automated one-click installation of a new Sandbox cluster in a new Google Cloud Project.

[![Open in Cloud Shell](http://www.gstatic.com/cloudssh/images/open-btn.svg)](https://console.cloud.google.com/cloudshell/editor?cloudshell_git_repo=https://github.com/GoogleCloudPlatform/cloud-ops-sandbox.git&cloudshell_git_branch=develop&shellonly=true&cloudshell_image=gcr.io/stackdriver-sandbox-230822/cloudshell-image/uncertified:latest&cloudshell_tutorial=docs/tutorial.md)
[![Open in Cloud Shell](http://www.gstatic.com/cloudssh/images/open-btn.svg)](https://console.cloud.google.com/cloudshell/editor?cloudshell_git_repo=https://github.com/GoogleCloudPlatform/cloud-ops-sandbox.git&cloudshell_git_branch=v0.7.1&shellonly=true&cloudshell_image=gcr.io/stackdriver-sandbox-230822/cloudshell-image/uncertified:v0.7.1&cloudshell_tutorial=docs/tutorial.md)

__Note__: If installation stops due to billing account errors, set up the billing account and type: `sandboxctl create`.

Expand Down
2 changes: 1 addition & 1 deletion cloud-shell/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ RUN python3 -m pip install click==8.0.1
RUN python3 -m pip install google-cloud-monitoring==2.4.0

# set env var
RUN echo "VERSION=develop" >> /etc/environment
RUN echo "VERSION=v0.7.1" >> /etc/environment

# Change "Open in Cloudshell" script to run `sandboxctl create` using local file and changing it
COPY cloudshell_open_cp.sh /google/devshell/bashrc.google.d/cloudshell_open.sh
4 changes: 2 additions & 2 deletions kubernetes-manifests/adservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ spec:
spec:
terminationGracePeriodSeconds: 5
containers:
- name: adservice
image: gcr.io/stackdriver-sandbox-230822/sandbox/adservice:latest
- name: server
image: gcr.io/stackdriver-sandbox-230822/sandbox/adservice:v0.7.1
ports:
- containerPort: 9555
env:
Expand Down
6 changes: 3 additions & 3 deletions kubernetes-manifests/cartservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ spec:
image: busybox
command: ['bin/sh', '-c', 'until nslookup redis-cart; do echo waiting for redis; sleep 2; done;']
containers:
- name: cartservice
image: gcr.io/stackdriver-sandbox-230822/sandbox/cartservice:latest
- name: server
image: gcr.io/stackdriver-sandbox-230822/sandbox/cartservice:v0.7.1
ports:
- containerPort: 7070
env:
Expand Down Expand Up @@ -109,4 +109,4 @@ data:
pipelines:
traces:
receivers: [otlp] # Receive otlp-formatted data from microservice using OpenTelemetry SDK
exporters: [otlp] # Export to OpenTelemtry collector agent on same host
exporters: [otlp] # Export to OpenTelemtry collector agent on same host
4 changes: 2 additions & 2 deletions kubernetes-manifests/checkoutservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ spec:
app: checkoutservice
spec:
containers:
- name: checkoutservice
image: gcr.io/stackdriver-sandbox-230822/sandbox/checkoutservice:latest
- name: server
image: gcr.io/stackdriver-sandbox-230822/sandbox/checkoutservice:v0.7.1
ports:
- containerPort: 5050
readinessProbe:
Expand Down
4 changes: 2 additions & 2 deletions kubernetes-manifests/currencyservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ spec:
spec:
terminationGracePeriodSeconds: 5
containers:
- name: currencyservice
image: gcr.io/stackdriver-sandbox-230822/sandbox/currencyservice:latest
- name: server
image: gcr.io/stackdriver-sandbox-230822/sandbox/currencyservice:v0.7.1
ports:
- name: grpc
containerPort: 7000
Expand Down
4 changes: 2 additions & 2 deletions kubernetes-manifests/emailservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ spec:
spec:
terminationGracePeriodSeconds: 5
containers:
- name: emailservice
image: gcr.io/stackdriver-sandbox-230822/sandbox/emailservice:latest
- name: server
image: gcr.io/stackdriver-sandbox-230822/sandbox/emailservice:v0.7.1
ports:
- containerPort: 8080
readinessProbe:
Expand Down
4 changes: 2 additions & 2 deletions kubernetes-manifests/frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ spec:
app: frontend
spec:
containers:
- name: frontend
image: gcr.io/stackdriver-sandbox-230822/sandbox/frontend:latest
- name: server
image: gcr.io/stackdriver-sandbox-230822/sandbox/frontend:v0.7.1
ports:
- containerPort: 8080
readinessProbe:
Expand Down
2 changes: 1 addition & 1 deletion kubernetes-manifests/opentelemetrycollector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,4 @@ data:
traces:
receivers: [otlp] # Receive otlp-formatted data from other collector instances
processors: []
exporters: [googlecloud] # Export directly to Google Cloud
exporters: [googlecloud] # Export directly to Google Cloud
4 changes: 2 additions & 2 deletions kubernetes-manifests/paymentservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ spec:
spec:
terminationGracePeriodSeconds: 5
containers:
- name: paymentservice
image: gcr.io/stackdriver-sandbox-230822/sandbox/paymentservice:latest
- name: server
image: gcr.io/stackdriver-sandbox-230822/sandbox/paymentservice:v0.7.1
ports:
- containerPort: 50051
readinessProbe:
Expand Down
4 changes: 2 additions & 2 deletions kubernetes-manifests/productcatalogservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ spec:
spec:
terminationGracePeriodSeconds: 5
containers:
- name: productcatalogservice
image: gcr.io/stackdriver-sandbox-230822/sandbox/productcatalogservice:latest
- name: server
image: gcr.io/stackdriver-sandbox-230822/sandbox/productcatalogservice:v0.7.1
ports:
- containerPort: 3550
readinessProbe:
Expand Down
4 changes: 2 additions & 2 deletions kubernetes-manifests/recommendationservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ spec:
spec:
terminationGracePeriodSeconds: 5
containers:
- name: recommendationservice
image: gcr.io/stackdriver-sandbox-230822/sandbox/recommendationservice:latest
- name: server
image: gcr.io/stackdriver-sandbox-230822/sandbox/recommendationservice:v0.7.1
ports:
- containerPort: 8080
env:
Expand Down
4 changes: 2 additions & 2 deletions kubernetes-manifests/shippingservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ spec:
app: shippingservice
spec:
containers:
- name: shippingservice
image: gcr.io/stackdriver-sandbox-230822/sandbox/shippingservice:latest
- name: server
image: gcr.io/stackdriver-sandbox-230822/sandbox/shippingservice:v0.7.1
ports:
- containerPort: 50051
readinessProbe:
Expand Down
2 changes: 1 addition & 1 deletion loadgenerator-manifests/loadgenerator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
spec:
containers:
- name: locust-main
image: gcr.io/stackdriver-sandbox-230822/sandbox/loadgenerator/gke:latest
image: gcr.io/stackdriver-sandbox-230822/sandbox/loadgenerator/gke:v0.7.1
imagePullPolicy: Always
env:
- name: LOCUST_MODE
Expand Down
2 changes: 1 addition & 1 deletion terraform/telemetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def send_telemetry_message(session, project_id, event, version):

# connect to pubsub and send message
project_id = "stackdriver-sandbox-230822"
topic_id = "telemetry_test"
topic_id = "telemetry_prod"
publisher = pubsub_v1.PublisherClient()
topic_path = publisher.topic_path(project_id, topic_id)

Expand Down
2 changes: 1 addition & 1 deletion website/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ archived_version = false
# The version number for the version of the docs represented in this doc set.
# Used in the "version-banner" partial to display a version number for the
# current doc set.
version = "v0.7.0"
version = "v0.7.1"

# A link to latest version of the docs. Used in the "version-banner" partial to
# point people to the main doc site.
Expand Down
9 changes: 5 additions & 4 deletions website/deploy/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ <h3>Cloud Operations Sandbox is an open source tool* that helps practitioners to
<h2>Get started now</h2>
<div class="steps">
<div class="step step-1">
<a class="console-btn" href="https://console.cloud.google.com/cloudshell/editor?cloudshell_git_repo=https://github.com/GoogleCloudPlatform/cloud-ops-sandbox.git&cloudshell_git_branch=develop&shellonly=true&cloudshell_image=gcr.io/stackdriver-sandbox-230822/cloudshell-image/uncertified:latest&cloudshell_tutorial=docs/tutorial.md"

<a class="console-btn" href="https://console.cloud.google.com/cloudshell/editor?cloudshell_git_repo=https://github.com/GoogleCloudPlatform/cloud-ops-sandbox.git&cloudshell_git_branch=v0.7.1&shellonly=true&cloudshell_image=gcr.io/stackdriver-sandbox-230822/cloudshell-image/uncertified:v0.7.1&cloudshell_tutorial=docs/tutorial.md"
target="_blank">Open in Google Cloud Shell</a>
</div>
<img src="images/bg_02.png" class="cloud-shell" alt="cloud shell">
Expand All @@ -77,9 +78,9 @@ <h2>Next steps</h2>
</section>

<footer>
<p class="fineprint">* Note: This is <b>NOT</b> an official Google product. Customers will be billed for using cloud resources when creating a sandbox cluster.
<button onclick="userfeedback.api.startFeedback({ 'productId': '5235454', 'productVersion': 'develop' });">Submit Feedback</button>
</p>
<p class="fineprint">* Note: This is <b>NOT</b> an official Google product. Customers will be billed for using cloud resources when creating a sandbox cluster.
<button onclick="userfeedback.api.startFeedback({ 'productId': '5235454', 'productVersion': 'v0.7.1' });">Submit Feedback</button>
</p>
</footer>
</body>
</html>
4 changes: 2 additions & 2 deletions website/layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ <h3>Cloud Operations Sandbox is an open source tool* that helps practitioners to
<h2>Get started now</h2>
<div class="steps">
<div class="step step-1">
<a class="console-btn" href="https://console.cloud.google.com/cloudshell/editor?cloudshell_git_repo=https://github.com/GoogleCloudPlatform/cloud-ops-sandbox.git&cloudshell_git_branch=develop&shellonly=true&cloudshell_image=gcr.io/stackdriver-sandbox-230822/cloudshell-image/uncertified:latest&cloudshell_tutorial=docs/tutorial.md"
<a class="console-btn" href="https://console.cloud.google.com/cloudshell/editor?cloudshell_git_repo=https://github.com/GoogleCloudPlatform/cloud-ops-sandbox.git&cloudshell_git_branch=v0.7.1&shellonly=true&cloudshell_image=gcr.io/stackdriver-sandbox-230822/cloudshell-image/uncertified:v0.7.1&cloudshell_tutorial=docs/tutorial.md"
target="_blank">Open in Google Cloud Shell</a>
</div>
<img src="images/bg_02.png" class="cloud-shell" alt="cloud shell">
Expand All @@ -75,7 +75,7 @@ <h2>Next steps</h2>

<footer>
<p class="fineprint">* Note: This is <b>NOT</b> an official Google product. Customers will be billed for using cloud resources when creating a sandbox cluster.
<button onclick="userfeedback.api.startFeedback({ 'productId': '5235454', 'productVersion': 'develop' });">Submit Feedback</button>
<button onclick="userfeedback.api.startFeedback({ 'productId': '5235454', 'productVersion': 'v0.7.1' });">Submit Feedback</button>
</p>
</footer>
</body>
Expand Down

0 comments on commit 03dfad6

Please sign in to comment.