Skip to content

Commit

Permalink
Merge pull request #333 from Seburan/fix-docusaurus-build
Browse files Browse the repository at this point in the history
add disclaimer to insteam video demo + upgrade docusaurus
  • Loading branch information
Seburan authored May 24, 2024
2 parents a527e19 + 54ba06e commit cf900a6
Show file tree
Hide file tree
Showing 5 changed files with 649 additions and 739 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ repos:
- yaml

- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.12.1
rev: v0.13.0
hooks:
- id: markdownlint-cli2
name: lint markdown
Expand Down
12 changes: 2 additions & 10 deletions scripts/cloudrun_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,15 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# evaluate .env file
source cicd/.env.prod
# load env vars
source .env.deploy

# CloudRun doesn't support .env file, so grab values here and merge into single variable
ENV_VARS=$(cat cicd/.env.prod | grep "=" | grep -v "^PORT=" | sed '/^$/d' | tr "\n" "@")
echo ${ENV_VARS}

# setup Google Cloud SDK project
gcloud config set project $GCP_PROJECT_NAME
gcloud config get-value project

# make the default region us-central1
gcloud config set run/region us-central1

# Containerize all services with Cloud Build : build containers, upload to Container Registry, and deploy to Cloud Run
gcloud builds submit --config=cicd/cloudbuild.yaml --region="us-central1" --substitutions=_LOCATION="us-central1",_REPOSITORY="docker-repo",_PROJECT_ENV="prod",COMMIT_SHA="latest" .
gcloud builds submit --config=cicd/cloudbuild.yaml --region="us-central1" --substitutions=_LOCATION="us-central1",_REPOSITORY="docker-repo",_PROJECT_ENV="dev",COMMIT_SHA="latest" .

# Cloud Build
for service in $SERVICES; do
Expand Down
7 changes: 7 additions & 0 deletions services/home/docs/demos/instream-video-ad-multi-seller.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';

# Instream video ad in a Protected Audience sequential auction setup

:::info

This demo is a proof of concept created for illustrative purposes only, and should not be taken as a recommendation or standardized implementation of
this use case.

:::

<Tabs>
<TabItem value="overview" label="Overview" default>

Expand Down
Loading

0 comments on commit cf900a6

Please sign in to comment.