This repository has been archived by the owner on Dec 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 228
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #770 from weaveworks/semaphore-ci
Nice -- it passed this time. Thanks lots for this!
- Loading branch information
Showing
5 changed files
with
41 additions
and
37 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,35 @@ | ||
version: v1.0 | ||
name: CI Build | ||
|
||
agent: | ||
machine: | ||
type: e1-standard-2 | ||
os_image: ubuntu1804 | ||
|
||
blocks: | ||
- name: Run tests | ||
task: | ||
env_vars: | ||
- name: GIMME_GO_VERSION | ||
value: "1.14.2" | ||
jobs: | ||
- name: Tests | ||
commands: | ||
- eval "$(curl -sL https://raw.githubusercontent.com/travis-ci/gimme/master/gimme | bash)" # install specific go version | ||
- | | ||
# https://ignite.readthedocs.io/en/latest/installation.html | ||
sudo apt-get install -y cpu-checker | ||
sudo apt-get install -y --no-install-recommends dmsetup openssh-client git binutils | ||
# Install containerd if it's not present -- prevents breaking docker-ce installations | ||
sudo which containerd || sudo apt-get install -y --no-install-recommends containerd | ||
- kvm-ok | ||
- | | ||
export CNI_VERSION=v0.8.7 | ||
export ARCH=$([ $(uname -m) = "x86_64" ] && echo amd64 || echo arm64) | ||
sudo mkdir -p /opt/cni/bin | ||
curl -sSL https://github.com/containernetworking/plugins/releases/download/${CNI_VERSION}/cni-plugins-linux-${ARCH}-${CNI_VERSION}.tgz | sudo tar -xz -C /opt/cni/bin | ||
- checkout | ||
- make ignite ignite-spawn ignited bin/amd64/Dockerfile GO_MAKE_TARGET=local | ||
- make test | ||
- make root-test | ||
- make e2e-nobuild # this depends on Semaphore CI's support for nested virtualization |
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
VM ID IMAGE KERNEL SIZE CPUS MEMORY CREATED STATUS IPS PORTS NAME | ||
bfc80c948b1e2419 foo/bar:latest foo/bar:latest 0 B 0 0 B 20y ago Stopped vm2 | ||
bfc80c948b1e2419 foo/bar:latest foo/bar:latest 0 B 0 0 B 21y ago Stopped vm2 |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
VM ID IMAGE KERNEL SIZE CPUS MEMORY CREATED STATUS IPS PORTS NAME | ||
20e1d566ce318ada foo/bar:latest foo/bar:latest 0 B 0 0 B 20y ago Stopped vm1 | ||
bfc80c948b1e2419 foo/bar:latest foo/bar:latest 0 B 0 0 B 20y ago Stopped vm2 | ||
cddc37ba657766e3 foo/bar:latest foo/bar:latest 0 B 0 0 B 20y ago Stopped vm3 | ||
20e1d566ce318ada foo/bar:latest foo/bar:latest 0 B 0 0 B 21y ago Stopped vm1 | ||
bfc80c948b1e2419 foo/bar:latest foo/bar:latest 0 B 0 0 B 21y ago Stopped vm2 | ||
cddc37ba657766e3 foo/bar:latest foo/bar:latest 0 B 0 0 B 21y ago Stopped vm3 |