Merge pull request #1336 from cybozu/add-util-tools-in-tcp-keepalive #1359
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
name: main | |
on: | |
pull_request: | |
push: | |
branches: | |
- "main" | |
- "ceph-v*" | |
jobs: | |
build_container: | |
strategy: | |
matrix: | |
job: | |
- dir: "./admission" | |
container-image: "neco-admission" | |
make-targets: "check-generate test" | |
- dir: "./alertmanager" | |
container-image: "alertmanager" | |
- dir: "./argocd" | |
container-image: "argocd" | |
- dir: "./argocd-image-updater" | |
container-image: "argocd-image-updater" | |
- dir: "./bird" | |
container-image: "bird" | |
- dir: "./blackbox_exporter" | |
container-image: "blackbox_exporter" | |
- dir: "./bmc-reverse-proxy" | |
container-image: "bmc-reverse-proxy" | |
make-targets: "setup check-generate test" | |
- dir: "./bpf-map-pressure-exporter" | |
container-image: "bpf-map-pressure-exporter" | |
make-targets: "check-generate test" | |
- dir: "./cadvisor" | |
container-image: "cadvisor" | |
- dir: "./cephcsi" | |
container-image: "cephcsi" | |
request-scan: "false" | |
- dir: "./ceph-extra-exporter" | |
container-image: "ceph-extra-exporter" | |
make-targets: "check-generate test" | |
- dir: "./cert-manager" | |
container-image: "cert-manager" | |
- dir: "./chrony" | |
container-image: "chrony" | |
- dir: "./cilium-certgen" | |
container-image: "cilium-certgen" | |
request-scan: "false" | |
- dir: "./cilium-operator-generic" | |
container-image: "cilium-operator-generic" | |
request-scan: "false" | |
- dir: "./configmap-reload" | |
container-image: "configmap-reload" | |
- dir: "./contour" | |
container-image: "contour" | |
- dir: "./coredns" | |
container-image: "coredns" | |
- dir: "csi-attacher" | |
container-image: "csi-attacher" | |
- dir: "csi-node-driver-registrar" | |
container-image: "csi-node-driver-registrar" | |
- dir: "csi-provisioner" | |
container-image: "csi-provisioner" | |
- dir: "csi-resizer" | |
container-image: "csi-resizer" | |
- dir: "csi-snapshotter" | |
container-image: "csi-snapshotter" | |
- dir: "./dex" | |
container-image: "dex" | |
- dir: "./etcd" | |
container-image: "etcd" | |
- dir: "./external-dns" | |
container-image: "external-dns" | |
- dir: "./fluent-bit" | |
container-image: "fluent-bit" | |
- dir: "./golang-all/golang-1.20-focal" | |
container-image: "golang" | |
enable_arm64: true | |
request-scan: "true" | |
- dir: "./golang-all/golang-1.20-jammy" | |
container-image: "golang" | |
enable_arm64: true | |
request-scan: "true" | |
- dir: "./golang-all/golang-1.21-focal" | |
container-image: "golang" | |
enable_arm64: true | |
request-scan: "true" | |
- dir: "./golang-all/golang-1.21-jammy" | |
container-image: "golang" | |
enable_arm64: true | |
request-scan: "true" | |
- dir: "./golang-all/golang-1.22-jammy" | |
container-image: "golang" | |
enable_arm64: true | |
request-scan: "true" | |
- dir: "./grafana" | |
container-image: "grafana" | |
- dir: "./grafana-operator" | |
container-image: "grafana-operator" | |
- dir: "./haproxy" | |
container-image: "haproxy" | |
- dir: "./heartbeat" | |
container-image: "heartbeat" | |
make-targets: "setup check-generate test" | |
- dir: "./kube-metrics-adapter" | |
container-image: "kube-metrics-adapter" | |
- dir: "./kube-state-metrics" | |
container-image: "kube-state-metrics" | |
- dir: "./kube-storage-version-migrator" | |
container-image: "storage-version-migration-initializer" | |
target: "initializer" | |
- dir: "./kube-storage-version-migrator" | |
container-image: "storage-version-migration-migrator" | |
target: "migrator" | |
- dir: "./kube-storage-version-migrator" | |
container-image: "storage-version-migration-trigger" | |
target: "trigger" | |
- dir: "./kubernetes" | |
container-image: "kubernetes" | |
- dir: "./local-pv-provisioner" | |
container-image: "local-pv-provisioner" | |
make-targets: "check-generate test" | |
- dir: "./loki" | |
container-image: "loki" | |
- dir: "./machines-endpoints" | |
container-image: "machines-endpoints" | |
make-targets: "setup check-generate test" | |
- dir: "./memcached" | |
container-image: "memcached" | |
- dir: "./memcached-exporter" | |
container-image: "memcached-exporter" | |
- dir: "./meows-neco-runner" | |
container-image: "meows-neco-runner" | |
request-scan: "true" | |
- dir: "./moco-switchover-downtime-monitor" | |
container-image: "moco-switchover-downtime-monitor" | |
- dir: "./opentelemetry-collector" | |
container-image: "opentelemetry-collector" | |
- dir: "./hubble" | |
container-image: "hubble" | |
- dir: "./hubble-relay" | |
container-image: "hubble-relay" | |
request-scan: "false" | |
- dir: "./hubble-ui" | |
container-image: "hubble-ui-frontend" | |
request-scan: "false" | |
target: "frontend" | |
- dir: "./hubble-ui" | |
container-image: "hubble-ui-backend" | |
request-scan: "false" | |
target: "backend" | |
- dir: "./pause" | |
container-image: "pause" | |
- dir: "./pod-delete-rate-limiter" | |
container-image: "pod-delete-rate-limiter" | |
make-targets: "test" | |
- dir: "./pomerium" | |
container-image: "pomerium" | |
- dir: "./prometheus-adapter" | |
container-image: "prometheus-adapter" | |
- dir: "./prometheus-config-reloader" | |
container-image: "prometheus-config-reloader" | |
- dir: "./promtail" | |
container-image: "promtail" | |
- dir: "./promtail-debug" | |
container-image: "promtail-debug" | |
- dir: "./pushgateway" | |
container-image: "pushgateway" | |
- dir: "./redis" | |
container-image: "redis" | |
- dir: "./registry" | |
container-image: "registry" | |
- dir: "./rook" | |
container-image: "rook" | |
- dir: "./sealed-secrets" | |
container-image: "sealed-secrets" | |
- dir: "./s3gw" | |
container-image: "s3gw" | |
make-targets: "setup check-generate test" | |
- dir: "./serf" | |
container-image: "serf" | |
- dir: "./stakater-reloader" | |
container-image: "stakater-reloader" | |
- dir: "./spegel" | |
container-image: "spegel" | |
- dir: "./squid" | |
container-image: "squid" | |
- dir: "./squid-exporter" | |
container-image: "squid-exporter" | |
make-targets: "test" | |
- dir: "./tcp-keepalive" | |
container-image: "tcp-keepalive" | |
make-targets: "setup check-generate test" | |
- dir: "./teleport-node" | |
container-image: "teleport-node" | |
- dir: "./tempo" | |
container-image: "tempo" | |
- dir: "./testhttpd" | |
container-image: "testhttpd" | |
make-targets: "setup check-generate test" | |
- dir: "./trust-manager" | |
container-image: "trust-manager" | |
- dir: "./trust-packages" | |
container-image: "trust-packages" | |
- dir: "./ttypdb" | |
container-image: "ttypdb-controller" | |
target: "controller" | |
- dir: "./ttypdb" | |
container-image: "ttypdb-sidecar" | |
target: "sidecar" | |
- dir: "./unbound" | |
container-image: "unbound" | |
make-targets: "check-generate" | |
make-post-targets: "validate" | |
- dir: "./unbound_exporter" | |
container-image: "unbound_exporter" | |
- dir: "./vault" | |
container-image: "vault" | |
- dir: "./victoriametrics" | |
container-image: "victoriametrics-vmagent" | |
target: "vmagent" | |
- dir: "./victoriametrics" | |
container-image: "victoriametrics-vmalert" | |
target: "vmalert" | |
- dir: "./victoriametrics" | |
container-image: "victoriametrics-vmbackup" | |
target: "vmbackup" | |
- dir: "./victoriametrics" | |
container-image: "victoriametrics-vmctl" | |
target: "vmctl" | |
- dir: "./victoriametrics" | |
container-image: "victoriametrics-vminsert" | |
target: "vminsert" | |
- dir: "./victoriametrics" | |
container-image: "victoriametrics-vmrestore" | |
target: "vmrestore" | |
- dir: "./victoriametrics" | |
container-image: "victoriametrics-vmselect" | |
target: "vmselect" | |
- dir: "./victoriametrics" | |
container-image: "victoriametrics-vmsingle" | |
target: "vmsingle" | |
- dir: "./victoriametrics" | |
container-image: "victoriametrics-vmstorage" | |
target: "vmstorage" | |
- dir: "./victoriametrics-operator" | |
container-image: "victoriametrics-operator" | |
runs-on: ubuntu-22.04 | |
env: | |
go-version: "1.22" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup build environment | |
uses: ./.github/actions/setup | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
go-version: ${{ env.go-version }} | |
- name: Build container image | |
uses: ./.github/actions/build_push | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
yamory_token: ${{ secrets.YAMORY_ACCESS_TOKEN }} | |
dir: ${{ matrix.job.dir }} | |
container-image: ${{ matrix.job.container-image }} | |
enable_arm64: ${{ matrix.job.enable_arm64 }} | |
make-targets: ${{ matrix.job.make-targets }} | |
make-post-targets: ${{ matrix.job.make-post-targets }} | |
request-scan: ${{ matrix.job.request-scan }} | |
target: ${{ matrix.job.target }} | |
build_envoy: | |
runs-on: neco-containers-ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build container image | |
uses: ./.github/actions/build_envoy | |
with: | |
clang_archive_path: https://github.com/llvm/llvm-project/releases/download/llvmorg-14.0.0/clang+llvm-14.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
yamory_token: ${{ secrets.YAMORY_ACCESS_TOKEN }} | |
build_ceph: | |
runs-on: neco-containers-ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build ceph image | |
uses: ./.github/actions/build_ceph | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
version: 18.2.1 | |
build_cilium: | |
runs-on: neco-containers-ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build cilium-agent image | |
uses: ./.github/actions/build_cilium-agent | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
yamory_token: ${{ secrets.YAMORY_ACCESS_TOKEN }} | |
cilium-proxy_version: ad831bdec4c93feeb2378aa9e1847c936ada6ef7 | |
image-tools_version: ff22ba3bff1010f4a2dd76ede789663c3beaf8d2 |