Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Split pinned and unpinned base image pipelines. #11055

Open
wants to merge 1 commit into
base: develop-boxed
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 74 additions & 0 deletions .cicd/base-images-pinned.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
steps:
- wait

- label: ":aws: Amazon_Linux 2 - Base Image Pinned"
command:
- "./.cicd/generate-base-images.sh"
env:
FORCE_BASE_IMAGE: true
IMAGE_TAG: amazon_linux-2-pinned
PLATFORM_TYPE: pinned
agents:
queue: "automation-eks-eos-builder-fleet"
timeout: 180
skip: ${SKIP_AMAZON_LINUX_2}${SKIP_LINUX}

- label: ":centos: CentOS 7.7 - Base Image Pinned"
command:
- "./.cicd/generate-base-images.sh"
env:
FORCE_BASE_IMAGE: true
IMAGE_TAG: centos-7.7-pinned
PLATFORM_TYPE: pinned
agents:
queue: "automation-eks-eos-builder-fleet"
timeout: 180
skip: ${SKIP_CENTOS_7_7}${SKIP_LINUX}

- label: ":darwin: macOS 10.15 - Base Image Pinned"
command:
- "git clone git@github.com:EOSIO/eos.git eos && cd eos && git checkout -f $BUILDKITE_BRANCH"
- "cd eos && ./.cicd/platforms/pinned/macos-10.15-pinned.sh"
plugins:
- EOSIO/anka#v0.6.1:
debug: true
vm-name: "10.15.5_6C_14G_80G"
no-volume: true
always-pull: true
wait-network: true
pre-execute-sleep: 5
pre-execute-ping-sleep: github.com
vm-registry-tag: "clean::cicd::git-ssh::nas::brew::buildkite-agent"
failover-registries:
- "registry_1"
- "registry_2"
inherit-environment-vars: true
- EOSIO/skip-checkout#v0.1.1:
cd: ~
agents: "queue=mac-anka-node-fleet"
timeout: 180
skip: ${SKIP_MACOS_10_15}${SKIP_MAC}

- label: ":ubuntu: Ubuntu 18.04 - Base Image Pinned"
command:
- "./.cicd/generate-base-images.sh"
env:
FORCE_BASE_IMAGE: true
IMAGE_TAG: ubuntu-18.04-pinned
PLATFORM_TYPE: pinned
agents:
queue: "automation-eks-eos-builder-fleet"
timeout: 180
skip: ${SKIP_UBUNTU_18_04}${SKIP_LINUX}

- label: ":ubuntu: Ubuntu 20.04 - Base Image Pinned"
command:
- "./.cicd/generate-base-images.sh"
env:
FORCE_BASE_IMAGE: true
IMAGE_TAG: ubuntu-20.04-pinned
PLATFORM_TYPE: pinned
agents:
queue: "automation-eks-eos-builder-fleet"
timeout: 180
skip: ${SKIP_UBUNTU_20_04}${SKIP_LINUX}
72 changes: 0 additions & 72 deletions .cicd/base-images.yml → .cicd/base-images-unpinned.yml
Original file line number Diff line number Diff line change
@@ -1,78 +1,6 @@
steps:
- wait

- label: ":aws: Amazon_Linux 2 - Base Image Pinned"
command:
- "./.cicd/generate-base-images.sh"
env:
FORCE_BASE_IMAGE: true
IMAGE_TAG: amazon_linux-2-pinned
PLATFORM_TYPE: pinned
agents:
queue: "automation-eks-eos-builder-fleet"
timeout: 180
skip: ${SKIP_AMAZON_LINUX_2}${SKIP_LINUX}

- label: ":centos: CentOS 7.7 - Base Image Pinned"
command:
- "./.cicd/generate-base-images.sh"
env:
FORCE_BASE_IMAGE: true
IMAGE_TAG: centos-7.7-pinned
PLATFORM_TYPE: pinned
agents:
queue: "automation-eks-eos-builder-fleet"
timeout: 180
skip: ${SKIP_CENTOS_7_7}${SKIP_LINUX}

- label: ":darwin: macOS 10.15 - Base Image Pinned"
command:
- "git clone git@github.com:EOSIO/eos.git eos && cd eos && git checkout -f $BUILDKITE_BRANCH"
- "cd eos && ./.cicd/platforms/pinned/macos-10.15-pinned.sh"
plugins:
- EOSIO/anka#v0.6.1:
debug: true
vm-name: "10.15.5_6C_14G_80G"
no-volume: true
always-pull: true
wait-network: true
pre-execute-sleep: 5
pre-execute-ping-sleep: github.com
vm-registry-tag: "clean::cicd::git-ssh::nas::brew::buildkite-agent"
failover-registries:
- "registry_1"
- "registry_2"
inherit-environment-vars: true
- EOSIO/skip-checkout#v0.1.1:
cd: ~
agents: "queue=mac-anka-node-fleet"
timeout: 180
skip: ${SKIP_MACOS_10_15}${SKIP_MAC}

- label: ":ubuntu: Ubuntu 18.04 - Base Image Pinned"
command:
- "./.cicd/generate-base-images.sh"
env:
FORCE_BASE_IMAGE: true
IMAGE_TAG: ubuntu-18.04-pinned
PLATFORM_TYPE: pinned
agents:
queue: "automation-eks-eos-builder-fleet"
timeout: 180
skip: ${SKIP_UBUNTU_18_04}${SKIP_LINUX}

- label: ":ubuntu: Ubuntu 20.04 - Base Image Pinned"
command:
- "./.cicd/generate-base-images.sh"
env:
FORCE_BASE_IMAGE: true
IMAGE_TAG: ubuntu-20.04-pinned
PLATFORM_TYPE: pinned
agents:
queue: "automation-eks-eos-builder-fleet"
timeout: 180
skip: ${SKIP_UBUNTU_20_04}${SKIP_LINUX}

- label: ":aws: Amazon_Linux 2 - Base Image Unpinned"
command:
- "./.cicd/generate-base-images.sh"
Expand Down