brewinstallhelmhelmrepoaddconcoursehttps://concourse-charts.storage.googleapis.com/helminstallconcourse-releaseconcourse/concourse# concourse-release will be the prefix name for the concourse elements in k8s# After the installation you will find the indications to connect to it in the console# If you need to delete ithelmdeleteconcourse-release
生成 concourse 环境后,您可以生成一个密钥,并授权 concourse web 中运行的 SA 访问 K8s 密钥:
jobs:- name:simpleplan:- task:simple-taskprivileged:trueconfig:# Tells Concourse which type of worker this task should run onplatform:linuximage_resource:type:registry-imagesource:repository:busybox# images are pulled from docker hub by defaultrun:path:shargs:- -cx- |sleep 1000echo "$SUPER_SECRET"params:SUPER_SECRET:((super.secret))
fly-ttutorialset-pipeline-ppipe-name-chello-world.yml# pipelines are paused when first createdfly-ttutorialunpause-pipeline-ppipe-name# trigger the job and watch it run to completionfly-ttutorialtrigger-job--jobpipe-name/simple--watch# From another consolefly-ttutorialintercept--jobpipe-name/simple