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
version: 1.0 | |
model: | |
name: my-ml-model | |
version: 1.0 | |
dependencies: | |
- numpy | |
- tensorflow | |
steps: | |
- name: preprocess | |
command: python preprocess.py |
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
# Reusable Workflow | |
uses: MyCloudSeries/deploy-app/.github/workflows/deploy.yml | |
with: | |
service_name: myapp | |
environment: dev | |
url: myapp.mycloudseries.com |
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
version: '2' | |
services: | |
zookeeper: | |
image: confluentinc/cp-zookeeper:latest | |
environment: | |
ZOOKEEPER_CLIENT_PORT: 2181 | |
ZOOKEEPER_TICK_TIME: 2000 | |
ports: | |
- "2181:2181" |
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: networking:k8s.io/v1 | |
kind: Ingress | |
metadata: | |
name: app-name | |
annotations: | |
alb.ingress.kubernetes.io/group.name: staging | |
alb.ingress.kubernetes.io/scheme: internet-facing | |
alb.ingress.kubernetes.io/target-type: ip | |
alb.ingress.kubernetes.io/certificate-arn: arn:aws:acm:eu-west-2:123456789:certificate/124-123-12babc | |
alb.ingress.kubernetes.io/actions.ssl-redirect: '{"type":"redirect", "redirectconfig": {"protocol":"https","port":"443","statuscode":"HTTP_301"}}' |
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
version: 2 | |
registries: | |
my-npm-registry: | |
type: npm-registry | |
url: https://npm.pkg.github.com | |
token: {{ secrets.DEPENDABOT_PAT }} | |
updates: | |
- package-ecosystem: "npm" | |
directory: "/" |
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
import json | |
import boto3 | |
import botocore | |
import csv | |
securityhub = boto3.client('securityhub') | |
s3 = boto3.resource('s3') | |
_filter = Filters={ | |
'ComplianceStatus': [ | |
{ |
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: Deployment | |
metadata: | |
name: myapp | |
spec: | |
selector: | |
matchLabels: | |
app: nginxdemo | |
replicas: 3 | |
template: |
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
version: '3.1' | |
services: | |
ghost: | |
image: ghost:4-alpine | |
restart: always | |
ports: | |
- 8080:2368 | |
environment: |
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
## @section Global parameters | |
## Global Docker image parameters | |
## Please, note that this will override the image parameters, including dependencies, configured to use the global value | |
## Current available global Docker image parameters: imageRegistry, imagePullSecrets and storageClass | |
## | |
## @param global.imageRegistry Global Docker image registry | |
## @param global.imagePullSecrets Global Docker registry secret names as an array | |
## @param global.storageClass Global StorageClass for Persistent Volume(s) | |
## |
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
version: "3.7" | |
services: | |
composable_node: | |
image: composablefi/composable:latest | |
container_name: composable_node | |
volumes: | |
- ./chain-data:/chain-data | |
ports: | |
- 9833:9833 |
NewerOlder