-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* `install-cni` was moved from `pkgs/` * `pod-checkpointer` from bootkube (for multi-arch amd64/arm64 build) * `talosctl-cni-bundle-install` for future talosctl CNI bundle Signed-off-by: Andrey Smirnov <[email protected]>
- Loading branch information
Showing
14 changed files
with
652 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
kind: pipeline | ||
name: default | ||
type: kubernetes | ||
|
||
steps: | ||
- name: setup-ci | ||
image: autonomy/build-container:latest | ||
commands: | ||
- git fetch --tags | ||
- install-ci-key | ||
- setup-buildx-amd64-arm64 | ||
environment: | ||
SSH_KEY: | ||
from_secret: ssh_key | ||
DOCKER_CLI_EXPERIMENTAL: enabled | ||
resources: | ||
requests: | ||
cpu: 24000 | ||
memory: 48GiB | ||
volumes: | ||
- name: docker-socket | ||
path: /var/run | ||
- name: ssh | ||
path: /root/.ssh | ||
- name: docker | ||
path: /root/.docker/buildx | ||
|
||
- name: build-pull-request | ||
image: autonomy/build-container:latest | ||
pull: always | ||
environment: | ||
DOCKER_CLI_EXPERIMENTAL: enabled | ||
commands: | ||
- make | ||
when: | ||
event: | ||
include: | ||
- pull_request | ||
volumes: | ||
- name: docker-socket | ||
path: /var/run | ||
- name: ssh | ||
path: /root/.ssh | ||
- name: docker | ||
path: /root/.docker/buildx | ||
|
||
- name: build-and-publish | ||
image: autonomy/build-container:latest | ||
pull: always | ||
environment: | ||
GHCR_USERNAME: | ||
from_secret: ghcr_username | ||
GHCR_PASSWORD: | ||
from_secret: ghcr_token | ||
commands: | ||
- docker login ghcr.io --username "$${GHCR_USERNAME}" --password "$${GHCR_PASSWORD}" | ||
- make PUSH=true | ||
when: | ||
event: | ||
exclude: | ||
- pull_request | ||
volumes: | ||
- name: docker-socket | ||
path: /var/run | ||
- name: ssh | ||
path: /root/.ssh | ||
- name: docker | ||
path: /root/.docker/buildx | ||
|
||
volumes: | ||
- name: docker-socket | ||
host: | ||
path: /var/ci-docker | ||
- name: docker | ||
temp: {} | ||
- name: ssh | ||
temp: {} | ||
--- | ||
kind: pipeline | ||
type: kubernetes | ||
name: notify | ||
|
||
clone: | ||
disable: true | ||
|
||
steps: | ||
- name: slack | ||
image: plugins/slack | ||
settings: | ||
webhook: | ||
from_secret: slack_webhook | ||
channel: proj-talos-maintainers | ||
when: | ||
status: | ||
- success | ||
- failure | ||
|
||
trigger: | ||
status: | ||
- success | ||
- failure | ||
|
||
depends_on: | ||
- default |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
bin |
Oops, something went wrong.