Commit Graph

119 Commits

Author SHA1 Message Date
Karol Gugala 64ce44eccb CI: use utility container for SSH forwarding
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2022-08-19 02:19:03 +02:00
Karol Gugala 14a9f2aa45 CI: xilinx: disown ssh
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2022-08-19 02:19:03 +02:00
Karol Gugala 5eab9c5d5a CI: xilinx: move ssh to background
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2022-08-19 02:19:02 +02:00
Karol Gugala fc8db2b821 CI: xilinx: symlink elf loader
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2022-08-19 02:19:02 +02:00
Karol Gugala 98d29fd9bf CI: xilinx: create symlink to vivado
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2022-08-19 02:19:02 +02:00
Karol Gugala c2d27fe5ee CI: xilinx: create .ssh dir
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2022-08-19 02:19:02 +02:00
Karol Gugala 49adf6f447 CI: install sudo
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2022-08-19 02:19:02 +02:00
Karol Gugala 2466432059 CI: xilinx: update license server IP
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2022-08-19 02:19:02 +02:00
Tim 'mithro' Ansell 49a4b088d8 Setup connection to Xilinx license server.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2022-08-19 02:19:02 +02:00
Unai Martinez-Corral 50d3133f65 ci: limit concurrency
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-18 04:34:05 +02:00
Unai Martinez-Corral f62c2d8cdd remove kokoro related scripts and assets
Co-authored-by: Tim 'mithro' Ansell <tansell@google.com>
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-17 14:25:12 +02:00
Unai Martinez-Corral 0b65466dd8 ci/Pipeline: libtinfo5
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-17 14:01:51 +02:00
Unai Martinez-Corral c062ff3684 ci/Pipeline: DEBIAN_FRONTEND=noninteractive
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-17 13:56:22 +02:00
Unai Martinez-Corral 99b279b99f ci/Pipeline: use ubuntu:focal instead of ubuntu:bionic
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-17 13:49:00 +02:00
Unai Martinez-Corral 1d247837fe dependabot: handle github-actions
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-05-24 16:22:42 +02:00
Karol Gugala cd050c9b44
Merge pull request #1940 from antmicro/umarcor/ci/update
ci: update actions/checkout and actions/upload-artifact to v3
2022-05-24 16:18:57 +02:00
Unai Martinez-Corral 34fd023357
rm .travis.yml (#1938)
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-05-24 09:50:56 +02:00
Unai Martinez-Corral 0f2d3dbdd2 ci: update actions/checkout and actions/upload-artifact to v3
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-05-22 02:32:18 +02:00
Unai Martinez-Corral 7f0da7c394 ci: add Automerge; combine workflows
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-04-07 21:04:27 +02:00
Alessandro Comodi b784f782d8 gh: ci: fix regex to pack failing logs
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2022-03-17 10:04:22 +01:00
Alessandro Comodi 18e7e2613d gh: ci: rename workflows
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2022-03-10 15:47:38 +01:00
Alessandro Comodi cf0b684a79 ci: separate test and database in different workflows
This also updates the README badges

Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2022-03-08 14:50:57 +01:00
Alessandro Comodi de9ce4ec28 ci: gh: restore previous fails and patch file names
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2022-03-07 09:40:25 +01:00
Alessandro Comodi f63752fe3e ci: gh: add artifact name
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2022-03-03 15:16:27 +01:00
Alessandro Comodi f3e7ab4b96 ci: differentiate patch file per different part
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2022-03-03 14:27:59 +01:00
Alessandro Comodi 44847f350d ci: gh: save only failing logs
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2022-03-02 10:01:35 +01:00
Alessandro Comodi 523c4b5a16 kokoro: use python3 instead of specific 3.8 version
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2022-03-02 10:01:35 +01:00
Alessandro Comodi 1db2cffd63 ci: use grep and sed to extract and tar failing fuzzers logs
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2022-03-02 10:01:33 +01:00
Alessandro Comodi 7f52c45d27 ci: add fix to multiple Vivado instances runs
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2022-02-07 09:44:22 +01:00
Alessandro Comodi 78b7b884d3 gh: artifatcs: take only stderr logs
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2022-02-04 10:12:17 +01:00
Alessandro Comodi 0c8df95f5b ci: gh: add artifacts
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2022-02-03 17:47:06 +01:00
Alessandro Comodi b378299ec2 gh: initial use of gh action runners
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2022-02-03 17:23:44 +01:00
Tim 'mithro' Ansell 2f357e8496 Adding connection to a Xilinx license server.
Enables generation of database for larger Kintex parts.

Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>
2021-12-20 21:51:16 -08:00
Steve f3474a2625 Add support for xc7s50
The previous xc7s50t branch was messed up. This new branch is created to re-submit xc7s50t's changes for merging.

Signed-off-by: Steve <steve.bohan.liu@outlook.com>
2021-12-13 18:39:27 +08:00
Tim 'mithro' Ansell d0f5f4ef58 Delete expired Let's Encrypt certificate.
The old `/usr/share/ca-certificates/mozilla/DST_Root_CA_X3.crt` Let's
Encrypt certificate that has expired.

The "best" solution seems to be to delete the certificate. This is fine
because the new non-expired
`/usr/share/ca-certificates/mozilla/ISRG_Root_X1.crt`
certificate is still available.

See the post at
https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/
for more explanation.

Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>
2021-10-01 20:03:04 -07:00
dependabot-preview[bot] 55e529dfef
Upgrade to GitHub-native Dependabot 2021-04-29 19:30:10 +00:00
Alessandro Comodi 865859a5f6 hostcheck: add mount to the output
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-03-25 10:55:13 +01:00
Alessandro Comodi 5ca05083d0 hostcheck: increase timeout and fix indentation
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-03-25 09:47:42 +01:00
Alessandro Comodi e418f024b9 hostcheck: apply suggestion from comment and replaced tab with spaces
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-03-24 18:40:19 +01:00
Daniel Schultz 173bb3b34a kokoro: hostcheck: Add more debug information
Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
2021-03-22 15:22:16 +01:00
Daniel Schultz a6fb88b676 kokoro: hostcheck: Wait 30 seconds at the beginning
The storage device needs a little bit of time to be attached. Wait at the
beginning to make sure the storage device is really not mounted.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
2021-03-20 11:08:13 +01:00
Daniel Schultz f8e2c37fe1 kokoro: Generate files during CI runs
Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
2021-03-15 17:37:58 +01:00
Keith Rothman 1619b12056 Defer exiting for db-check error until after cleanup.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2021-03-12 08:52:17 -08:00
Daniel Schultz d258f10c3d kokoro: Add hostcheck step
This step checks the host environment. Right now, it only checks if a drive
is mounted to /tmpfs. If it's not mounted, the run will be aborted and the
dmesg printed.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
2021-03-11 20:12:10 +01:00
Keith Rothman ebc66ac886 Add some disk space checks in happy and sad paths.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2021-03-08 13:05:58 -08:00
Keith Rothman f6d97588ee Add dummy spartan7 scripts until spartan7 CI is debugged.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2021-01-13 09:34:35 -08:00
Keith Rothman af6700a692 Limit failure logging to output, but ensure that full logs are available.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-10-09 10:34:44 -07:00
Keith Rothman 8f2456e4bd Output python3 version.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-09-09 11:49:13 -07:00
Keith Rothman c7033a6a19 Clean up python install process.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-09-09 09:48:48 -07:00
Tim 'mithro' Ansell 4d253e00e1 Exclude build directory from check_license.
Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>
2020-05-26 08:15:06 -07:00