This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service: bot | |
frameworkVersion: "3" | |
provider: | |
name: yandex-cloud | |
runtime: golang117 | |
environment: | |
FOLDER_ID: b1g*** | |
httpApi: | |
payload: '1.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: DaemonSet | |
metadata: | |
name: fluent-bit | |
namespace: logging | |
labels: | |
k8s-app: fluent-bit-logging | |
version: v1 | |
kubernetes.io/cluster-service: "true" | |
spec: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: fluent-bit-config | |
namespace: logging | |
labels: | |
k8s-app: fluent-bit | |
data: | |
# Configuration files: server, input, filters and output | |
# ====================================================== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Diagnostics; | |
using System.IO; | |
using System.Threading.Tasks; | |
using Amazon.S3; | |
using Amazon.S3.Transfer; | |
namespace ConsoleApp1 | |
{ | |
static class Program |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"context" | |
"fmt" | |
"github.com/yandex-cloud/go-genproto/yandex/cloud/resourcemanager/v1" | |
"github.com/yandex-cloud/go-sdk" | |
"github.com/yandex-cloud/go-sdk/iamkey" | |
) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"context" | |
"fmt" | |
"go.mongodb.org/mongo-driver/bson" | |
"go.mongodb.org/mongo-driver/mongo" | |
"go.mongodb.org/mongo-driver/mongo/options" | |
"time" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from diagrams import Diagram | |
from diagrams import Group | |
from diagrams.yc.infrastructure import Compute | |
from diagrams.yc.serverless import ServerlessFunctions | |
from diagrams.yc.serverless import ServerlessTriggers | |
from diagrams.yc.serverless import YMQ | |
with Diagram("Create Snapshots", show=False, direction="LR", curvestyle="polyline"): | |
cron = ServerlessTriggers("Cron Trigger") | |
spawn = ServerlessFunctions("Spawn Function") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Gatsby Build and Publish | |
on: | |
release: | |
types: [created] | |
jobs: | |
build: | |
runs-on: ubuntu-latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Конфгурируем Yandex.Cloud provider | |
provider "yandex" { | |
zone = "ru-central1-a" | |
} | |
// Объявляем переменную с названием Организации на гитхабе. | |
// К сожалению github provider не создает ресурсы `github_actions_secret` в личных репах | |
// https://github.com/terraform-providers/terraform-provider-github/issues/422 | |
// К счастью базовая функциональность организаций теперь бесплатна. | |
variable "github_organization" { |
NewerOlder