This file contains hidden or 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
| #!/usr/bin/env bash | |
| dockerfile=$(mktemp) | |
| on_exit() { | |
| echo "Removing $dockerfile"; | |
| rm -f $dockerfile | |
| } | |
| on_sigint() { |
This file contains hidden or 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
| #!/usr/bin/env bash | |
| cmd=$1 | |
| chart=$2 | |
| env=$3 | |
| dir=${chart}-kustomize | |
| chart=${chart/.\//} | |
| build() { |
This file contains hidden or 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
| #!/bin/bash | |
| if [ ! -z "$DEBUG" ]; then | |
| set -vx | |
| fi | |
| set -eu | |
| REGISTRY=${REGISTRY:-} | |
| if [ ! -z "${REGISTRY}" ]; then |
This file contains hidden or 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 alpine:3.4 | |
| RUN apk --no-cache --update add bash curl less groff jq python py-pip && \ | |
| pip install awscli s3cmd https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz && \ | |
| apk del remove py-pip && \ | |
| mkdir /root/.aws |
This file contains hidden or 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: 'VariantRun' | |
| description: 'Run Variant task defined in your Variantfile https://github.com/mumoshu/variant' | |
| inputs: | |
| image: | |
| description: 'Docker image for Variant containers' | |
| required: false | |
| default: 'Dockerfile' | |
| runs: | |
| using: 'docker' | |
| image: '${{ inputs.image }}' |
This file contains hidden or 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
| #!/bin/bash | |
| set -e | |
| if [ $# -ne 1 ]; then | |
| echo "controle-plane-endpoint is required" 1>&2 | |
| exit 1 | |
| fi | |
| CONTROLE_PLANE_ENDPOINT=$1 |
This file contains hidden or 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
| #!/usr/bin/env bash | |
| set -e | |
| if eksctl get cluster -f $FILE >/dev/null 2>&1; then | |
| # See https://github.com/weaveworks/eksctl/blob/33ec1ed967c1ad03c985bf18774ea970d85c86f1/site/content/usage/03-cluster-upgrade.md#L41 | |
| eksctl update cluster -f $FILE | |
| eksctl utils update-kube-proxy | |
| eksctl utils update-aws-node | |
| eksctl utils update-coredns |
This file contains hidden or 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
| [0;33mdefault, argocd-application-controller, ServiceAccount (v1) has changed:[0m | |
| # Source: helm-diff-dependencies/charts/argo-cd/templates/argocd-application-controller/serviceaccount.yaml | |
| apiVersion: v1 | |
| kind: ServiceAccount | |
| automountServiceAccountToken: true | |
| metadata: | |
| name: argocd-application-controller | |
| labels: | |
| helm.sh/chart: argo-cd-3.11.5 | |
| [0;31m- app.kubernetes.io/name: argocd-override-application-controller[0m |
This file contains hidden or 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 := "DES and AES encryption in Scala" | |
| version := "1.0" | |
| scalaVersion := "2.9.1" | |
| libraryDependencies += "commons-codec" % "commons-codec" % "1.6" |
This file contains hidden or 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" | |
| "errors" | |
| "fmt" | |
| "os" | |
| "sync" | |
| "time" | |
| ) |
NewerOlder