You may need to configure a proxy server if you're having trouble cloning
or fetching from a remote repository or getting an error
like unable to access '...' Couldn't resolve host '...'.
Consider something like:
| steps: | |
| # Build the container image | |
| - name: 'gcr.io/cloud-builders/docker' | |
| args: ['build', '-t', 'asia-east1-docker.pkg.dev/<project-id>/<repo>/<container>:<tag>', | |
| '.'] | |
| # Push the container image to Container Registry | |
| - name: 'gcr.io/cloud-builders/docker' | |
| args: ['push', 'asia-east1-docker.pkg.dev/<project-id>/<repo>/<container>:<tag>'] | |
| # Deploy container image to Cloud Run | |
| - name: 'gcr.io/google.com/cloudsdktool/cloud-sdk' |
| #!/bin/bash | |
| VERSION="1.0.2" | |
| # Interface connect to out lan | |
| INTERFACE="eth0" | |
| # Interface virtual for incomming traffic | |
| VIRTUAL="ifb0" | |
| # set the direction (1 = outgoing only, 2 = incoming only 3 = both) | |
| DIRECTION=3 | |
| # Speed |
| #!/bin/bash | |
| # bash generate random alphanumeric string | |
| # | |
| # bash generate random 32 character alphanumeric string (upper and lowercase) and | |
| NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1) | |
| # bash generate random 32 character alphanumeric string (lowercase only) | |
| cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1 |
| from apache_beam.options.pipeline_options import PipelineOptions | |
| from google.cloud import pubsub_v1 | |
| from google.cloud import bigquery | |
| import apache_beam as beam | |
| import logging | |
| import argparse | |
| import sys | |
| import re | |
| import time | |
| import json |
| import copy | |
| import os | |
| import airflow | |
| from airflow import DAG | |
| from datetime import datetime, timedelta | |
| from airflow.providers.google.cloud.transfers.gcs_to_local import GCSToLocalFilesystemOperator | |
| from airflow.contrib.operators.sftp_operator import SFTPOperator | |
| from airflow.operators.python_operator import PythonOperator | |
| from airflow.operators import bash_operator |
| # -*- coding: utf-8 -*- | |
| from flask import Flask | |
| from flask import Response | |
| from flask import stream_with_context | |
| import requests | |
| app = Flask(__name__) |
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "strconv" | |
| "github.com/miekg/dns" | |
| ) |
| !Current Configuration: | |
| !System Description "PowerConnect 6248, 3.3.7.2, VxWorks 6.5" | |
| !System Software Version 3.3.7.2 | |
| !Cut-through mode is configured as disabled | |
| ! | |
| configure | |
| vlan database | |
| vlan 100,200 | |
| vlan routing 100 1 | |
| vlan routing 200 2 |