Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2944 commits
Select commit Hold shift + click to select a range
975ce03
Merge pull request #1076 from cgwalters/podman-sanity
Oct 4, 2019
f459067
Check for qemu-unpriv platform when converting board to arch
Prashanth684 Oct 4, 2019
90108d6
Merge pull request #1077 from Prashanth684/mantle-qemuunpriv
Oct 4, 2019
0da0f13
kola/spawn: fix using v2 for FCOS when using -k
jlebon Oct 4, 2019
3c4bbdb
Merge pull request #1078 from jlebon/pr/kola-spawn-v3
Oct 4, 2019
0e65449
Check endianness when getting the qemu port
Prashanth684 Oct 4, 2019
5d74bf2
qemu: turn on PDEATHSIG by default
jlebon Oct 7, 2019
47efd23
kola/spawn: add --json-info-fd
jlebon Oct 6, 2019
fc7f878
kola/spawn: add --idle
jlebon Oct 7, 2019
afffc46
Merge pull request #1073 from Prashanth684/mantle-endian
Oct 7, 2019
94b34c8
Merge pull request #1060 from cgwalters/gcp-uefi-secure-boot
Oct 8, 2019
3920fe1
Merge pull request #1072 from cgwalters/unpriv-qemu-net
jlebon Oct 8, 2019
5b49393
Merge pull request #1079 from jlebon/pr/kola-spawn-tweaks
Oct 8, 2019
22dca68
network: Honor MANTLE_SSH_DIR
cgwalters Oct 8, 2019
915d860
platform/api/aliyun: add the aliyun platform
arithx Oct 2, 2019
97a35ae
kola: Disable podman network-multi test
cgwalters Oct 8, 2019
f219823
kola: Change distro default to fcos, drop cl
cgwalters Oct 9, 2019
b844975
Merge pull request #1084 from cgwalters/fcos-default
Oct 9, 2019
f3e9909
Merge pull request #1080 from cgwalters/remove-podman-network
jlebon Oct 9, 2019
51a729b
kola/podman: Bump memory tests to 128m for runc
cgwalters Oct 10, 2019
fc5d5be
Merge pull request #1085 from cgwalters/podman-memory
Oct 10, 2019
1712958
cmd/ore/aliyun: add image creation related aliyun calls
arithx Oct 2, 2019
2c3ed17
docs: add Aliyun platform documentation
arithx Oct 2, 2019
d1e4435
Merge pull request #1066 from arithx/aliyun
Oct 10, 2019
6353860
Merge pull request #1081 from cgwalters/ssh-agent-tmpdir
Oct 10, 2019
a62ae6c
kola/tests/crio/crio: Add pods and service restart test
ashcrow Oct 3, 2019
55afbcd
kola: Note qemu-unpriv now has networking
cgwalters Oct 10, 2019
d15c8c7
Merge pull request #1086 from cgwalters/platform-qemu-unpriv-net
Oct 10, 2019
00607fc
kola: Drop torcx tests
cgwalters Oct 10, 2019
6e14713
README: update qemu-unpriv notes
arithx Oct 10, 2019
2f50fa6
kola: initial ppc64le support
jcajka Oct 3, 2019
5592596
Merge pull request #1087 from cgwalters/kola-prune-cl
Oct 10, 2019
f39a00a
kola/tests: disable additional clustered tests on qemu-unpriv
arithx Oct 10, 2019
6faf458
Merge pull request #1070 from ashcrow/kola-crio-restart-test
ashcrow Oct 11, 2019
c0d08d1
Merge pull request #1090 from arithx/disable_tests_on_unpriv
Oct 11, 2019
71d5d00
Merge pull request #1088 from arithx/unpriv_readme
Oct 11, 2019
7794361
Merge pull request #1067 from jcajka/ppc64le
Oct 11, 2019
b6a34ad
platform/api/aws/images: retry tagging image name
arithx Oct 11, 2019
b1e983e
Merge pull request #1092 from arithx/retry_ami_find
Oct 12, 2019
3d2bf40
*: drop legacy names for Packet plans
bgilbert Oct 15, 2019
cc8a740
platform/api/aliyun: add force flag to delete images
arithx Oct 14, 2019
682fecc
platform/api/aliyun: add multipart file upload
arithx Oct 14, 2019
b1c2b85
Merge pull request #1094 from arithx/aliyun_force_image
Oct 15, 2019
3b3e709
Merge pull request #1095 from bgilbert/plan
bgilbert Oct 15, 2019
f772db5
vendor: bump aws-sdk-go to 1.25.14
bgilbert Oct 17, 2019
091353b
cmd/ore: add command to list enabled AWS regions
bgilbert Oct 17, 2019
64790cb
kola/tests/rpmostree: use NVR instead of NVRA
jcajka Oct 17, 2019
02d2d5d
Merge pull request #1099 from bgilbert/region
bgilbert Oct 17, 2019
4e8f216
platform/api/aliyun: add ListRegions API call
arithx Oct 17, 2019
033fca3
Merge pull request #1100 from arithx/aliyun_region
Oct 17, 2019
fc8a2dd
cmd/ore/aliyun: add list-regions command
arithx Oct 17, 2019
39ff346
Merge pull request #1101 from arithx/aliyun_list_regions
Oct 17, 2019
3bf1464
cmd/ore/aws: let list-regions list disabled regions, or all regions
bgilbert Oct 18, 2019
1da599e
Merge pull request #1102 from bgilbert/regions
bgilbert Oct 18, 2019
91f5902
Merge pull request #1104 from jcajka/bcrypt
bgilbert Oct 21, 2019
4da3c9a
auth/aliyun: fix parsing config file
jlebon Oct 22, 2019
1b604c3
Merge pull request #1105 from jlebon/pr/aliyun-profile-fix
jlebon Oct 23, 2019
00a91f2
ore/aliyun: add --delete-object and default to true
jlebon Oct 23, 2019
42037b7
platform/api/aliyun: sprinkle with some logging
jlebon Oct 23, 2019
655773d
Merge pull request #1107 from jlebon/pr/aliyun-delete-object
jlebon Oct 23, 2019
bb5593a
kola: Add a test that /etc/sysconfig/network-scripts is empty
cgwalters Oct 23, 2019
ace5d28
Change kola rpmostree install/unistall test package to epel 8 and bir…
Prashanth684 Oct 23, 2019
fcf1ac8
Merge pull request #1109 from Prashanth684/rpmostree-install
jlebon Oct 24, 2019
b508cf9
cmd/ore/aliyun: support ALIYUN_CONFIG_FILE env var
jlebon Oct 24, 2019
f59827a
platform/api/aws: copy createVolumePermission when replicating
jlebon Oct 24, 2019
afc685a
Merge pull request #1108 from cgwalters/netscripts
jlebon Oct 24, 2019
58fafef
Merge pull request #1112 from jlebon/pr/ore-copy-aws
jlebon Oct 24, 2019
376abc0
platform/api/aliyun: wait until import is complete
jlebon Oct 24, 2019
067b04e
Merge pull request #1113 from jlebon/pr/aliyun-wait-task
jlebon Oct 25, 2019
d0bd758
Merge pull request #1110 from jlebon/pr/aliyun-file-env
Oct 28, 2019
31176ad
kola: Allow sssd.service to be on in RHCOS
ashcrow Nov 11, 2019
74e7701
Merge pull request #1117 from ashcrow/kola-expect-sssd
ashcrow Nov 11, 2019
7394808
azure: support removing images in ore
Nov 11, 2019
f113657
Merge pull request #1116 from vrutkovs/azure-delete-image
Nov 15, 2019
4a0c87f
kola: add basic fips test
mike-nguyen Nov 14, 2019
589fc8f
Merge pull request #1119 from mike-nguyen/fips
jlebon Nov 15, 2019
28d4a6b
kola/qemu: Add a swtpm by default
cgwalters Nov 19, 2019
9549a04
build-sys: Add `make install`
cgwalters Nov 19, 2019
d2da4b7
build-sys: Don't cross-build kolet by default
cgwalters Nov 20, 2019
44bfbae
Merge pull request #1121 from cgwalters/makeinstall
jlebon Nov 20, 2019
31e1c81
Merge pull request #1122 from cgwalters/build-just-thisarch
jlebon Nov 20, 2019
f0a47dd
Do not mount root parition for injecting ignition
Prashanth684 Nov 21, 2019
7b60e5b
Makefile: fix path to kolet
jlebon Nov 21, 2019
4798ea6
Makefile: make `install` depend on binaries directly
jlebon Nov 21, 2019
6a05af1
Drop cork and gangue
jlebon Nov 21, 2019
ca54c76
Merge pull request #1124 from Prashanth684/igninject
jlebon Nov 21, 2019
b7b22da
Merge pull request #1120 from cgwalters/qemu-swtpm
Nov 21, 2019
3ff4564
Merge pull request #1125 from jlebon/pr/fix-mantle-install
jlebon Nov 21, 2019
9742cf2
kola: Add a test for RHCOS with LUKS+TPM encryption
cgwalters Nov 20, 2019
39bcb1b
Merge pull request #1123 from cgwalters/test-rhcos-encrypt
jlebon Nov 22, 2019
726057b
Use github.com/pkg/errors to wrap errors in qemu
cgwalters Nov 27, 2019
8b9fb33
platform/qemu: Drop some CL disk customization bits
cgwalters Nov 27, 2019
f3ee11d
Merge pull request #1126 from cgwalters/trim-some-cl
Dec 2, 2019
ebe770b
Add a --no-swtpm option to kola to support running kola tests without…
Prashanth684 Dec 3, 2019
e42be51
Merge pull request #1129 from Prashanth684/mantle-no-swtpm
Dec 5, 2019
6e9e49b
kola/tests: remove CL remnants
arithx Dec 6, 2019
17e7ca2
platform/cluster: drop tcsd mask on packet
arithx Oct 10, 2019
a9cf41d
cmd/kola: drop updatepayload
arithx Oct 10, 2019
7736bce
qemu: Clean up argv handling a bit
cgwalters Dec 6, 2019
a13f9df
Merge pull request #1130 from cgwalters/qemu-process
jlebon Dec 9, 2019
b729d0b
Merge pull request #1127 from cgwalters/errors-wrap
jlebon Dec 9, 2019
7e40f94
Add ExcludeArchitectures option for kola tests to exclude tests on ce…
Prashanth684 Dec 10, 2019
4a32b02
Merge pull request #1131 from Prashanth684/mantle-arch-exclusion
jlebon Dec 10, 2019
719e2f9
qemu: Move Options struct into unprivqemu
cgwalters Dec 12, 2019
c0f9416
Merge pull request #1089 from arithx/drop_cl_things
jlebon Dec 12, 2019
a52d453
qemu: Remove checks for old qemu versions
cgwalters Dec 12, 2019
ef1e0d2
kola/fips: Add user/group to file
cgwalters Dec 13, 2019
0636eea
kola: Also check for fatal dracut errors
cgwalters Dec 10, 2019
9fe0750
kola: Remove Omaha bits
cgwalters Dec 13, 2019
3a304e5
Merge pull request #1137 from cgwalters/fips-passwd
ashcrow Dec 13, 2019
cb792ff
kola/fips: Add a partition to Ignition config
jlebon Dec 13, 2019
107d854
kola: Unify fcos/rhcos's `basic` test
cgwalters Dec 13, 2019
0f95adc
Merge pull request #1134 from cgwalters/flip-the-qemu-dep
jlebon Dec 13, 2019
c741f8a
Merge pull request #1136 from cgwalters/qemu-new-enough
jlebon Dec 13, 2019
34d8920
Merge pull request #1139 from cgwalters/dracut-fatal
jlebon Dec 13, 2019
f7223d3
Merge pull request #1140 from cgwalters/remove-cl-omaha
jlebon Dec 13, 2019
2eb3673
Merge pull request #1143 from cgwalters/unify-basic
jlebon Dec 13, 2019
a91a3d4
ignition/mount.go: add tests for mounting additional disks
Nov 28, 2019
5b9ffbc
Merge pull request #1128 from zonggen/mount-var
jlebon Dec 13, 2019
4a34dab
kola: disable PodmanPing in fcos.internet
jlebon Dec 16, 2019
9aa0569
kola: add PodmanWgetHead to fcos.internet
jlebon Dec 16, 2019
2748a3e
Merge pull request #1144 from jlebon/pr/disable-podman-ping
jlebon Dec 16, 2019
bee42a8
Support excluding and blacklisting basic tests' subtest per arch
Prashanth684 Dec 16, 2019
d45a9dc
Merge pull request #1142 from jlebon/pr/fips-partition
jlebon Dec 17, 2019
c079872
Merge pull request #1145 from Prashanth684/blacklist-kolettests
Dec 17, 2019
a6c616e
kola: Remove --qemu-bios argument
cgwalters Dec 13, 2019
6c7bac2
Merge pull request #1138 from cgwalters/qemu-remove-bios
jlebon Dec 18, 2019
bb64c66
Remove qemu platform
cgwalters Dec 12, 2019
ea13222
kola: Add http-server subcommand
cgwalters Dec 13, 2019
dd2f61f
Merge pull request #1141 from cgwalters/kola-serve
jlebon Dec 18, 2019
33d68e2
Merge pull request #1135 from cgwalters/remove-priv-qemu
Jan 6, 2020
5c51e42
Rework qemu to use a better API
cgwalters Dec 10, 2019
0af2900
qemu: Reorder some functions
cgwalters Jan 7, 2020
245eaa1
Merge pull request #1146 from cgwalters/qemu-instance
Jan 7, 2020
76fa22d
qemu: Make SSHAddress a method on QemuInstance
cgwalters Jan 8, 2020
80b211f
kola: Add --qemu-nvme
cgwalters Jan 8, 2020
225bdd0
Merge pull request #1148 from cgwalters/qemu-address
Jan 8, 2020
c140ed7
Merge pull request #1149 from cgwalters/qemu-nvme
Jan 8, 2020
b51a7df
qemu: Add --qemu-firmware bios|uefi|uefi-secure
cgwalters Jan 8, 2020
0afeabc
plume: drop CL-specific release code
jlebon Jan 8, 2020
d9fb0d2
plume: deprecate --channel in favour of --stream
jlebon Jan 8, 2020
5564507
Merge pull request #1150 from cgwalters/qemu-uefi
Jan 8, 2020
f6d57c3
Merge pull request #1151 from jlebon/pr/drop-cl-plume
Jan 8, 2020
2121722
plume: drop more CL-specific bits
jlebon Jan 8, 2020
3d36365
Merge pull request #1152 from jlebon/pr/more-plume-cl
Jan 8, 2020
9ccec81
kola: Add -T/--no-test-exit-error
cgwalters Jan 9, 2020
9d3b35d
Merge pull request #1153 from cgwalters/kola-ecode
Jan 9, 2020
01741b7
kola: Add --qemu-size
cgwalters Jan 9, 2020
af94eb7
Merge pull request #1155 from cgwalters/qemu-size
Jan 9, 2020
fa22836
qemu: Automatically turn off swtpm on !x86_64 here
cgwalters Jan 9, 2020
4e73f98
Merge pull request #1154 from cgwalters/swtpm-auto
Jan 9, 2020
3742a6b
kola/qemu: Add supportsSwtpm() and just exclude ppc64le+s390x
cgwalters Jan 10, 2020
55e8cf4
Merge pull request #1158 from cgwalters/qemu-swtpm-2
Jan 10, 2020
a59de7d
vendor: Sync
cgwalters Jan 13, 2020
ebb3426
Merge pull request #1159 from cgwalters/vendor-sync
Jan 13, 2020
679aace
kola/qemu: Fix leaking qemu instances
cgwalters Jan 14, 2020
81b5eec
Merge pull request #1163 from cgwalters/qemu-leaks
Jan 14, 2020
5d6b39e
ore/aws/copy-image: stream results back to stdout
jlebon Jan 14, 2020
383bdf5
Merge pull request #1162 from jlebon/pr/ore-copy-image-json
Jan 14, 2020
bce144d
qemu: Silence errors from swtpm by default
cgwalters Jan 15, 2020
77cd6d9
Merge pull request #1164 from cgwalters/swtpm-quiet
jlebon Jan 15, 2020
2e36448
kola/test/crio: don't try to pull local images during crictl create
miabbott Jan 14, 2020
7997129
Merge pull request #1166 from miabbott/crictl_no_pull
Jan 16, 2020
b955bcf
kola: Add a --cosa-build argument
cgwalters Jan 15, 2020
b88c369
Merge pull request #1165 from cgwalters/kola-parse-build
Jan 16, 2020
f265031
cosa/build: fix AMIs spec
jlebon Jan 17, 2020
7eadd6e
cosa/build: add a few more fields
jlebon Jan 17, 2020
cac53ea
Merge pull request #1167 from jlebon/pr/add-cosa-fields
jlebon Jan 22, 2020
14693ff
cmd/kola/options: Fix error when running on non-qemu platforms
arithx Jan 22, 2020
628621c
Merge pull request #1169 from arithx/fix_args_check
jlebon Jan 22, 2020
d33dea5
platform/api/aliyun: add re-use capabilities to some functions
arithx Jan 9, 2020
d6196ca
kola: support passing multiple patterns
jlebon Jan 22, 2020
f34db69
kola: move `http-server` implementation down
jlebon Jan 22, 2020
c44735a
kola: drop `--update-payload` CL switch
jlebon Jan 22, 2020
f3cc2a1
kola: default AWS region to us-east-1
jlebon Jan 22, 2020
15d27e1
cosa/build: add more fields and helper functions
jlebon Jan 22, 2020
01daa5d
kola/options: keep cosa.Build object around
jlebon Jan 22, 2020
fdd8e12
fcos: new pkg for fetching and parsing FCOS metadata
jlebon Jan 22, 2020
a13641c
kola: factor and generalize `--cosa-build` "auto-fill"
jlebon Jan 22, 2020
a314f48
kola: generalize test suite registration
jlebon Jan 22, 2020
e094cea
kola/cluster: add SSHf and MustSSHf helpers
jlebon Jan 22, 2020
3d4a480
kola/tests/rpmostree: factor out GetBootedDeployment helper
jlebon Jan 22, 2020
e2944bb
platform: use boot ID for stronger rebooting
jlebon Jan 22, 2020
c959092
platform: add Machine.WaitForReboot()
jlebon Jan 22, 2020
c7b6994
util/xz: use xz binary to decompress if available
jlebon Jan 22, 2020
d5977ac
util/common: add PathExists helper
jlebon Jan 22, 2020
2ea693c
sdk/verify: drop CL pubkey in favour of /etc/pki/rpm-gpg
jlebon Jan 22, 2020
cf0079b
plume: move FCOS types to fcos package
jlebon Jan 23, 2020
59479ee
cmd/ore/aliyun: fix config-file default
arithx Jan 22, 2020
d68ae69
Merge pull request #1156 from arithx/aliyun_allow_reuse
Jan 23, 2020
b9ad41e
Merge pull request #1170 from jlebon/pr/fcos-upgrade-prep
jlebon Jan 24, 2020
19b895f
util/xz: add function for pure stream decompression
jlebon Jan 23, 2020
bac60c5
sdk/verify: move default GPG keyring logic to Verify
jlebon Jan 23, 2020
bf5a791
sdk/download: add DownloadCompressedSignedFile
jlebon Jan 23, 2020
0cf89ca
kola: add `run-upgrade` command
jlebon Jan 23, 2020
e7b3cc6
Merge pull request #1168 from jlebon/pr/fcos-upgrade
jlebon Jan 27, 2020
afeaa21
ore/gcloud: Add --write-url argument
cgwalters Jan 28, 2020
0791f6b
Merge pull request #1171 from cgwalters/gcp-write-url
jlebon Jan 28, 2020
7c51341
tests/upgrade: tweak test function name
jlebon Jan 28, 2020
1bbbad4
Merge pull request #1172 from jlebon/pr/tweak-func-name
jlebon Jan 28, 2020
071a95e
Fix case statement in helper functions for fwcfg and swtpm
Prashanth684 Jan 29, 2020
9b2cd82
Merge pull request #1173 from Prashanth684/mantle-case
Jan 29, 2020
7307787
qemuexec: New command
cgwalters Jan 8, 2020
1f71407
vendor: rerun "make vendor"
bgilbert Feb 6, 2020
ddaa840
vendor: update Ignition 0.x to 0.35.0
bgilbert Feb 6, 2020
8058ad0
platform/conf: support Ignition spec 2.4
bgilbert Feb 6, 2020
10bbffa
Merge pull request #1174 from bgilbert/ignition
bgilbert Feb 6, 2020
7f834ed
kola/tests/rpmostree: relax regex on CoreOS version strings
cgwalters Feb 6, 2020
d3a86ea
Merge pull request #1175 from miabbott/bump_rhcos_regex
cgwalters Feb 7, 2020
919769a
Merge pull request #1147 from cgwalters/qemu-exec
cgwalters Feb 7, 2020
c93ff16
kola: Remove Distros{fcos,rhcos} from tests - it's the default
cgwalters Feb 7, 2020
81e4628
Merge pull request #1176 from cgwalters/auto-distros
jlebon Feb 7, 2020
dfff7c4
qemuexec: Add --ignition arg, propagate kola --qemu-* args
cgwalters Feb 7, 2020
5ced8e5
Merge pull request #1177 from cgwalters/qemuexec-ign
cgwalters Feb 7, 2020
bba2644
kola: Default to qemu-unpriv
cgwalters Feb 10, 2020
d17c87d
Merge pull request #1178 from cgwalters/qemu-unpriv-default
Feb 10, 2020
86faee3
kola: Remove fcos.python test
cgwalters Feb 11, 2020
a765070
Merge pull request #1181 from cgwalters/remove-py-test
jlebon Feb 12, 2020
125b41a
kola/sssd.go: verifies pam configs for sssd and no regressions hit
Feb 13, 2020
74efb05
Merge pull request #1182 from zonggen/nss-altfiles
jlebon Feb 19, 2020
a32a153
Vendor coreos/ign-converter
cgwalters Feb 21, 2020
09f825f
kola: Translate from Ignition spec v3 to v2 as needed
cgwalters Feb 19, 2020
31ce194
kola: Use Ignition v3 -> v2 translation for more tests
cgwalters Feb 21, 2020
f96d7e6
Merge pull request #1186 from cgwalters/ign-conv
cgwalters Feb 23, 2020
d4b252b
kola: Rework syncOptions
cgwalters Feb 24, 2020
4e0f13f
cosa: use generated structs from upstream schema
Feb 24, 2020
b6758f4
kola: Add helper to guess Ignition version from OS
cgwalters Feb 24, 2020
b5b36f3
Merge pull request #1187 from darkmuggle/pr/cosa-schema
Feb 24, 2020
ddce7c3
kola: Add ign-convert2
cgwalters Feb 24, 2020
80e8e1a
Merge pull request #1188 from cgwalters/opts-cleanup
cgwalters Feb 24, 2020
7383128
qemu: Always add serial= for disks
cgwalters Feb 24, 2020
43a369c
Merge pull request #1189 from cgwalters/ignversion
cgwalters Feb 24, 2020
0f45c15
Merge pull request #1190 from cgwalters/kola-ign-translate
cgwalters Feb 24, 2020
5a49a88
kola: Remove SimpleEtcd
cgwalters Feb 18, 2020
125ef18
vendor: Update for removal of etcd
cgwalters Feb 24, 2020
54b5c40
kola/list: add show filter for `kola list`
Feb 19, 2020
4d42a13
Merge pull request #1185 from zonggen/kola-list-filter
Feb 25, 2020
bafb255
Merge pull request #1191 from cgwalters/qemu-nvme-serial
jlebon Feb 25, 2020
84721fa
Merge pull request #1184 from cgwalters/remove-discovery
cgwalters Feb 25, 2020
bdc18d3
qemu: Only set serial= if not already provided
cgwalters Feb 26, 2020
44bf0f3
kola:Use uuid instead of partlabel for ignition.mount disk tests
Prashanth684 Feb 26, 2020
61c3775
Merge pull request #1193 from cgwalters/disk-serial-fix
jlebon Feb 26, 2020
1c3f717
Merge pull request #1194 from Prashanth684/s390x-mountdisks
cgwalters Feb 26, 2020
f15c823
kola: Fix syncOptions
cgwalters Feb 27, 2020
0f510e4
Merge pull request #1195 from cgwalters/fix-syncoptions
jlebon Feb 27, 2020
6388e06
Prepare for merge with coreos-assembler
cgwalters Feb 27, 2020
9622d26
Remove mantle git submodule
cgwalters Feb 27, 2020
4d581d9
Merge in coreos/mantle
cgwalters Feb 27, 2020
739f1f1
mantle: Remove requirement on git tags
cgwalters Feb 26, 2020
bfcf0c3
build: Check for any submodules uninitialized, not just mantle
cgwalters Feb 27, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[submodule "mantle"]
path = mantle
url = https://github.com/coreos/mantle
[submodule "ostree-releng-scripts"]
path = ostree-releng-scripts
url = https://github.com/ostreedev/ostree-releng-scripts
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ _prep_make_and_make_install() {
mkdir -p /usr/app/
rsync -rlv "${srcdir}"/ostree-releng-scripts/ /usr/app/ostree-releng-scripts/

if [ "$(git submodule status mantle | head -c1)" == "-" ]; then
if git submodule status | grep -qEe '^-'; then
echo -e "\033[1merror: submodules not initialized. Run: git submodule update --init\033[0m" 1>&2
exit 1
fi
Expand Down
1 change: 0 additions & 1 deletion mantle
Submodule mantle deleted from f96d7e
5 changes: 5 additions & 0 deletions mantle/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*.sw?
/bin/
/gopath/
_kola_temp/
.cache/
71 changes: 71 additions & 0 deletions mantle/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# How to Contribute

CoreOS projects are [Apache 2.0 licensed](LICENSE) and accept contributions via
GitHub pull requests. This document outlines some of the conventions on
development workflow, commit message formatting, contact points and other
resources to make it easier to get your contribution accepted.

# Certificate of Origin

By contributing to this project you agree to the Developer Certificate of
Origin (DCO). This document was created by the Linux Kernel community and is a
simple statement that you, as a contributor, have the legal right to make the
contribution. See the [DCO](DCO) file for details.

# Email and Chat

The project currently uses the general CoreOS email list and IRC channel:
- Email: [coreos-dev](https://groups.google.com/forum/#!forum/coreos-dev)
- IRC: #[coreos](irc://irc.freenode.org:6667/#coreos) IRC channel on freenode.org

Please avoid emailing maintainers found in the MAINTAINERS file directly. They
are very busy and read the mailing lists.

## Getting Started

- Fork the repository on GitHub
- Read the [README](README.md) for build and test instructions
- Play with the project, submit bugs, submit patches!

## Contribution Flow

This is a rough outline of what a contributor's workflow looks like:

- Create a topic branch from where you want to base your work (usually master).
- Make commits of logical units.
- Make sure your commit messages are in the proper format (see below).
- Push your changes to a topic branch in your fork of the repository.
- Make sure the tests pass, and add any new tests as appropriate.
- Submit a pull request to the original repository.

Thanks for your contributions!

### Format of the Commit Message

We follow a rough convention for commit messages that is designed to answer two
questions: what changed and why. The subject line should feature the what and
the body of the commit should describe the why.

```
scripts: add the test-cluster command

this uses tmux to setup a test cluster that you can easily kill and
start for debugging.

Fixes #38
```

The format can be described more formally as follows:

```
<subsystem>: <what changed>
<BLANK LINE>
<why this change was made>
<BLANK LINE>
<footer>
```

The first line is the subject and should be no longer than 70 characters, the
second line is always blank, and other lines should be wrapped at 80 characters.
This allows the message to be easier to read on GitHub as well as in various
git tools.
36 changes: 36 additions & 0 deletions mantle/DCO
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
660 York Street, Suite 102,
San Francisco, CA 94110 USA

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.


Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or

(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or

(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.

(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.
36 changes: 36 additions & 0 deletions mantle/Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#!groovy

properties([
buildDiscarder(logRotator(daysToKeepStr: '20', numToKeepStr: '30')),

[$class: 'CopyArtifactPermissionProperty',
projectNames: '*'],

parameters([
choice(name: 'GOARCH',
choices: "amd64\narm64\ns390x",
description: 'target architecture for building binaries')
]),

pipelineTriggers([pollSCM('H/15 * * * *')])
])

node('amd64 && docker') {
stage('SCM') {
checkout scm
}

stage('Build') {
sh "docker run --rm -e CGO_ENABLED=1 -e GOARCH=${params.GOARCH} -e GOCACHE=/usr/src/myapp/cache -u \"\$(id -u):\$(id -g)\" -v /etc/passwd:/etc/passwd:ro -v /etc/group:/etc/group:ro -v \"\$PWD\":/usr/src/myapp -w /usr/src/myapp golang:1.12 ./build"
}

stage('Test') {
sh 'docker run --rm -e GOCACHE=/usr/src/myapp/cache -u "$(id -u):$(id -g)" -v /etc/passwd:/etc/passwd:ro -v /etc/group:/etc/group:ro -v "$PWD":/usr/src/myapp -w /usr/src/myapp golang:1.12 ./test'
}

stage('Post-build') {
if (env.JOB_BASE_NAME == "master-builder") {
archiveArtifacts artifacts: 'bin/**', fingerprint: true, onlyIfSuccessful: true
}
}
}
202 changes: 202 additions & 0 deletions mantle/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,202 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1. Definitions.

"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.

"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.

"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.

"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.

"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.

"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.

"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).

"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.

"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."

"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.

2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.

3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.

4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:

(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and

(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and

(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and

(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.

You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.

5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.

6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.

7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.

8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.

9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS

APPENDIX: How to apply the Apache License to your work.

To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "{}"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright {yyyy} {name of copyright owner}

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

1 change: 1 addition & 0 deletions mantle/MAINTAINERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Stephen Lowrie <slowrie@redhat.com> (@arithx)
Loading