47 Commits

Author SHA1 Message Date
Andrew Rynhard
92b72311c7 chore: add AMI build
This will build AMIs and publish them to our official account on a
release.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-07-29 18:56:33 -07:00
Andrew Rynhard
0ec17e4169 feat: run rootfs from squashfs
This change moves the rootfs to a squashfs image.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-07-25 08:38:31 -07:00
Andrew Rynhard
fdb48c981a chore: fix release
This change makes the release step wait for the Azure artifact.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-07-22 13:49:04 -07:00
Andrew Rynhard
0e2b5f9227 chore: fix image builds on tags
The GCE and Azure steps need to run in serial since they both output the
same artifact name.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-07-22 13:45:32 -07:00
Spencer Smith
089890f36b chore: setup gce for e2e builds
This PR will provide a basis for running e2e tests on GCE several times
a day. We'll need to add a cron event to the drone repo once merged.

Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2019-07-22 12:46:02 -04:00
Andrew Rynhard
4c4141d161 chore: publish Azure image on releases
Produces a VHD suitable for uploading to Azure and creating a Talos
node.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-07-16 21:21:53 -07:00
Andrew Rynhard
8e8aae98dd feat: add machined
This commit splits our current init into init and machined.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-07-16 13:12:21 -07:00
Andrew Rynhard
40ae00d90c chore: add step to drone for kernel
Now that we manage dependencies manually, we need to explicitly build
the kernel target so that vmlinuz and vmlinux are placed into the build
directory.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-07-15 15:55:15 -07:00
Andrew Rynhard
1e9548d149 feat: use new pkgs for initramfs and rootfs
This brings in the newly compiled libraries and binaries from our new
pkg builds.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-07-15 10:32:29 -07:00
Andrey Smirnov
82fe5b55e5 chore: make unit-tests use isolated instances of containerd
This makes test launch their own isolated instance of containerd with
its own root/state directories and listening socket address. Each test
brings this instance up/down on its own.

Add options to override containerd address in the code (used only in the
tests).

Enable parallel go test runs once again.

P.S. I wish I could share that 'SetupSuite' phase across the tests, but
afaik there's no way in Go to share `_test.go` code across packages. If
we put it as normal package, this might pull in test dependencies (like
`testify`) into production code, which I don't like.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2019-07-10 19:46:32 +03:00
Andrew Rynhard
50eb51938c chore: prevent duplicate build of test container
This change removes the test-container step, and consolidates it to only a
test step. This prevents the build of the test container being done
twice.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-07-06 11:29:18 -07:00
Brad Beam
c1ec77ef42 feat: Use individual component steps for drone
Signed-off-by: Brad Beam <brad.beam@talos-systems.com>
2019-07-05 23:11:40 -07:00
Andrew Rynhard
105226f5a0
chore: fix GCE image creation (#830)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-07-04 09:36:17 -07:00
Andrew Rynhard
d82444a42d
chore: revert #816 (#829)
This reverts commit 11f8392e53986da6c124037ffab06064ec04aedd.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-07-04 08:43:34 -07:00
Andrew Rynhard
11f8392e53
chore: fix GCE image creation (#816)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-07-03 18:06:47 -07:00
Spencer Smith
c29e5aec93
chore: publish gce images with releases (#809)
Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2019-07-02 10:47:22 -04:00
Andrew Rynhard
a1f04f9733
chore: add GitHub action to enforce conform policies (#803)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-06-29 10:12:09 -07:00
Andrew Rynhard
37c2b30a9b
chore: disable e2e (#769)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-06-24 13:09:46 -07:00
Andrew Rynhard
1aeab06152
chore: fix drone make command for basic and E2E integration tests (#763)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-06-21 23:12:36 -07:00
Spencer Smith
0d42a23007 chore: add e2e test (#736)
Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2019-06-21 22:10:43 -07:00
Spencer Smith
11788966af
fix: run basic-integration on nightly cron (#735)
Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2019-06-17 17:00:01 -04:00
Spencer Smith
4ba12fecd8
feat(ci): enable nightly e2e tests (#716)
Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2019-06-17 12:36:48 -04:00
Brad Beam
8a5acff119
fix: Add gitmeta as dependency for push (#718)
Signed-off-by: Brad Beam <brad.beam@talos-systems.com>
2019-06-05 16:01:46 -05:00
Spencer Smith
921114dd99
fix: ensure index remains in bounds for ud gen (#710)
Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2019-06-04 17:37:54 -04:00
Andrew Rynhard
42a562a2bc
chore: remove AMI publish step (#650)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-05-13 13:36:17 -07:00
Andrew Rynhard
9bd047995e
chore: set PACKER_LOG=1 in AMI build (#637)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-05-09 15:16:07 -07:00
Andrew Rynhard
62b06e8f46
chore: add env vars required for AMI publishing (#635)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-05-09 13:59:55 -07:00
Andrew Rynhard
86e24601b1
chore: publish AMIs on tags (#633)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-05-09 13:04:41 -07:00
Andrew Rynhard
67a8343590
chore: build iso image (#616)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-05-05 13:13:01 -07:00
Brad Beam
e0122908a8
chore(ci): Update buildkit v0.5 (#594)
Signed-off-by: Brad Beam <brad.beam@talos-systems.com>
2019-04-29 11:25:04 -05:00
Andrew Rynhard
9b4fec0fa8
feat(osctl): add ability to create docker based clusters (#584)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-28 12:06:03 -07:00
Andrew Rynhard
9e70513042
chore: add slack notification to drone (#589)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-28 11:17:07 -07:00
Brad Beam
3319e56ea3
chore(ci): Update buildkit to 0.4 (#538)
Make use of local bin directory so we can prevent the
need for sudo to install buildctl.

Signed-off-by: Brad Beam <brad.beam@talos-systems.com>
2019-04-23 20:52:31 -05:00
Andrew Rynhard
544c9259fc
chore: use the rootfs-base and initramfs-base images for builds (#558)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-18 19:31:43 -07:00
Andrey Smirnov
d29e27ee33 refactor: containerd runner refactoring and unit-tests (#551)
Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2019-04-16 13:56:52 -07:00
Andrew Rynhard
e2f5debd18
chore: ignore checksum files create in release (#550)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-16 08:05:20 -07:00
Andrew Rynhard
0a6b06b903
chore: remove release target in favor of build target (#547)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-15 21:53:14 -07:00
Andrew Rynhard
9b37f78eb9
chore: optimize the build for pull requests and tags (#546)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-15 20:47:44 -07:00
Andrew Rynhard
e802048608
chore: improve drone parallel steps (#544)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-15 18:48:21 -07:00
Andrew Rynhard
6426427aa5
chore: fetch git tags (#543)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-15 18:20:29 -07:00
Andrew Rynhard
20cf488418
chore: add BUILDKIT_HOST env var to release step (#542)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-15 17:24:38 -07:00
Andrew Rynhard
4c85cb3058
chore: add github-release plugin (#540)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-15 16:02:06 -07:00
Andrew Rynhard
e324f8e579
chore: push images for all branches (#534)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-14 10:54:48 -07:00
Andrew Rynhard
f7853899fb
chore: move codecov to drone build (#533)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-14 09:40:33 -07:00
Andrew Rynhard
22436f2cc4
chore: fix push step (#526)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-11 23:55:19 -07:00
Andrew Rynhard
9510a73a8b
chore: push images for master branch (#525)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-11 23:40:30 -07:00
Andrew Rynhard
8e45137879
chore: add drone build (#523)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-11 15:24:51 -07:00