start new:
tmux
start new with session name:
tmux new -s myname
[master] burdz@~/work/code/repos/spinnaker-templates: cat examples/bakeAndTagExample.yaml | |
--- | |
schema: "1" | |
pipeline: | |
application: samplespinnakerpipeline | |
name: Bake samplespinnakerpipeline | |
template: | |
source: spinnaker://bakeAndTagRoot | |
variables: | |
jenkinsJob: "DevOps/job/mulesoft-ops/job/sample-spinnaker-app/job/master" |
``` | |
[master] burdz@~/work/code/repos/spinnaker-templates: cat examples/bakeAndTagExample.yaml | |
--- | |
schema: "1" | |
pipeline: | |
application: samplespinnakerpipeline | |
name: Bake samplespinnakerpipeline | |
template: | |
source: spinnaker://bakeAndTagRoot | |
variables: |
2018-01-30 23:49:24.044 ERROR 1 --- [eHandlerPool-20] c.n.s.orca.q.handler.RunTaskHandler : [] Error running SavePipelineTask for orchestration[837934b2-aa79-4401-9f21-1b03bbc6eedd] | |
retrofit.RetrofitError: 403 | |
at retrofit.RetrofitError.httpError(RetrofitError.java:40) | |
at retrofit.RestAdapter$RestHandler.invokeRequest(RestAdapter.java:388) | |
at retrofit.RestAdapter$RestHandler.invoke(RestAdapter.java:240) | |
at com.sun.proxy.$Proxy105.savePipeline(Unknown Source) | |
at com.netflix.spinnaker.orca.front50.tasks.SavePipelineTask.execute(SavePipelineTask.java:80) | |
at com.netflix.spinnaker.orca.q.handler.RunTaskHandler$handle$1$1.invoke(RunTaskHandler.kt:66) | |
at com.netflix.spinnaker.orca.q.handler.RunTaskHandler$handle$1$1.invoke(RunTaskHandler.kt:43) | |
at com.netflix.spinnaker.orca.q.handler.AuthenticationAwareKt$sam$Callable$599eb315.call(AuthenticationAware.kt) |
FROM scratch | |
ADD assets/ubuntu-xenial-core-cloudimg-amd64-root.tar.gz / | |
# a few minor docker-specific tweaks | |
# see https://github.com/docker/docker/blob/9a9fc01af8fb5d98b8eec0740716226fadb3735c/contrib/mkimage/debootstrap | |
RUN set -xe \ | |
\ | |
# https://github.com/docker/docker/blob/9a9fc01af8fb5d98b8eec0740716226fadb3735c/contrib/mkimage/debootstrap#L40-L48 | |
&& echo '#!/bin/sh' > /usr/sbin/policy-rc.d \ | |
&& echo 'exit 101' >> /usr/sbin/policy-rc.d \ |
osquery> select * from augeas where path='/etc/ssh/ssh_config'; | |
+-----------------------------------------------------+------------------------------------------------------------------------------------+----------------------+---------------------+ | |
| node | value | label | path | | |
+-----------------------------------------------------+------------------------------------------------------------------------------------+----------------------+---------------------+ | |
| /files/etc/ssh/ssh_config/#comment[1] | This is the ssh client system-wide configuration file. See | #comment | /etc/ssh/ssh_config | | |
| /files/etc/ssh/ssh_config/#comment[2] | ssh_config(5) for more information. This file provides defaults for | #comment | /etc/ssh/ssh_config | | |
| /files/etc/ssh/ssh_config/#c |
password |
root@ip-10-17-42-179:/# agent status | |
Getting the status from the agent. | |
============== | |
Agent (v6.4.2) | |
============== | |
Status date: 2018-09-05 21:02:14.665416 UTC | |
Pid: 344 | |
Python Version: 2.7.15 |
#!/bin/bash | |
set -e | |
for node in $( kubectl get nodes | grep none | cut -d " " -f1 ); do | |
kubectl taint nodes $node node-role.kubernetes.io/master="":NoSchedule | |
done |
{{- $name := include "base.name" . -}} | |
apiVersion: apps/v1 | |
kind: DaemonSet | |
metadata: | |
name: {{ $name }} | |
labels: {{ include "base.labels.mulesoft" . | nindent 4 }} | |
spec: | |
selector: | |
matchLabels: | |
app: {{ $name }} |