Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up travis-ci for this repo #2

Closed
elrido opened this issue Jun 2, 2019 · 3 comments
Closed

Set up travis-ci for this repo #2

elrido opened this issue Jun 2, 2019 · 3 comments
Assignees

Comments

@elrido
Copy link
Contributor

elrido commented Jun 2, 2019

Used, if I understand correctly, to update the github page of the helm repo for PB.

@elrido elrido self-assigned this Jun 2, 2019
@elrido
Copy link
Contributor Author

elrido commented Jun 2, 2019

@elrido elrido assigned bdashrad and unassigned elrido Jun 2, 2019
@elrido
Copy link
Contributor Author

elrido commented Jun 2, 2019

@bdashrad, could you please review if this works as intended and close the issue if you are fine with it or let me know if something needs changing.

@bdashrad
Copy link
Collaborator

bdashrad commented Jun 3, 2019

@elrido looks right to me, and can be installed with helm

add repo

$ helm repo add privatebin https://privatebin.github.io/helm-chart
"privatebin" has been added to your repositories

update charts

$ helm repo update
Hang tight while we grab the latest from your chart repositories...
...Skip local chart repository
...Successfully got an update from the "privatebin" chart repository
...Successfully got an update from the "incubator" chart repository
...Successfully got an update from the "stable" chart repository
Update Complete. ⎈ Happy Helming!

test install

$ helm install --dry-run --debug privatebin/privatebin
[debug] Created tunnel using local port: '49224'

[debug] SERVER: "127.0.0.1:49224"

[debug] Original chart version: ""
[debug] Fetched privatebin/privatebin to /Users/bradclark/.helm/cache/archive/privatebin-0.2.3.tgz

[debug] CHART PATH: /Users/bradclark/.helm/cache/archive/privatebin-0.2.3.tgz

NAME:   famous-sponge
REVISION: 1
RELEASED: Mon Jun  3 10:30:55 2019
CHART: privatebin-0.2.3
USER-SUPPLIED VALUES:
{}

COMPUTED VALUES:
affinity: {}
configs: {}
fullnameOverride: ""
image:
  pullPolicy: IfNotPresent
  repository: privatebin/nginx-fpm-alpine
ingress:
  annotations: {}
  enabled: false
  hosts:
  - host: privatebin.local
    paths: []
  tls: []
nameOverride: ""
nodeSelector: {}
replicaCount: 1
resources: {}
service:
  annotations: {}
  port: 80
  portName: http
  type: ClusterIP
tolerations: []

HOOKS:
---
# famous-sponge-privatebin-test-connection
apiVersion: v1
kind: Pod
metadata:
  name: "famous-sponge-privatebin-test-connection"
  labels:
    app.kubernetes.io/name: privatebin
    helm.sh/chart: privatebin-0.2.3
    app.kubernetes.io/instance: famous-sponge
    app.kubernetes.io/managed-by: Tiller
  annotations:
    "helm.sh/hook": test-success
spec:
  containers:
    - name: wget
      image: busybox
      command: ['wget']
      args:  ['famous-sponge-privatebin:80']
  restartPolicy: Never
MANIFEST:

---
# Source: privatebin/templates/config.yaml
apiVersion: v1
kind: ConfigMap
metadata:
  name: famous-sponge-privatebin-configs
  labels:
    app.kubernetes.io/instance: famous-sponge
    app.kubernetes.io/managed-by: Tiller
    app.kubernetes.io/name: privatebin
    helm.sh/chart: privatebin-0.2.3
data:
---
# Source: privatebin/templates/service.yaml
apiVersion: v1
kind: Service
metadata:
  name: famous-sponge-privatebin
  labels:
    app.kubernetes.io/name: privatebin
    helm.sh/chart: privatebin-0.2.3
    app.kubernetes.io/instance: famous-sponge
    app.kubernetes.io/managed-by: Tiller
spec:
  type: ClusterIP
  ports:
    - port: 80
      targetPort: http
      protocol: TCP
      name: http
  selector:
    app.kubernetes.io/name: privatebin
    app.kubernetes.io/instance: famous-sponge
---
# Source: privatebin/templates/deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: famous-sponge-privatebin
  labels:
    app.kubernetes.io/name: privatebin
    helm.sh/chart: privatebin-0.2.3
    app.kubernetes.io/instance: famous-sponge
    app.kubernetes.io/managed-by: Tiller
spec:
  replicas: 1
  selector:
    matchLabels:
      app.kubernetes.io/name: privatebin
      app.kubernetes.io/instance: famous-sponge
  template:
    metadata:
      labels:
        app.kubernetes.io/name: privatebin
        app.kubernetes.io/instance: famous-sponge
    spec:
      containers:
        - name: privatebin
          image: "privatebin/nginx-fpm-alpine:1.2.1"
          imagePullPolicy: IfNotPresent
          ports:
            - name: http
              containerPort: 80
              protocol: TCP
          livenessProbe:
            httpGet:
              path: /
              port: http
          readinessProbe:
            httpGet:
              path: /
              port: http
          resources:
            {}

          volumeMounts:
            - name: configs
              mountPath: /srv/cfg
      volumes:
        - name: configs
          configMap:
            name: famous-sponge-privatebin-configs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants