Commit Graph

56 Commits (master)

Author SHA1 Message Date
Andras Timar d968b0af63 Use CodeQL Action v2
see https://github.blog/changelog/2023-01-18-code-scanning-codeql-action-v1-is-now-deprecated/

Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I92253f747b8bbb9d365bb49b40402c832d63d0de
2024-04-16 16:30:34 +01:00
Andras Timar 5cfcbd2222 remove obsolete/removed files from CI check configs
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ia3ee3f6b508c5146df172cb07f4f515627ec75f1
2024-04-09 17:18:51 +02:00
Andras Timar e59349f1c3 CodeQL C++: use core assets of version 24.04
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I92b79a3ef4a05864245e90a487e5f86f67092df9
2024-03-06 20:09:07 +01:00
Rash419 65bd383000 release: upload helm chart to docker hub as well
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I5c9dfe8538478eff0fb947c5c0befbe262dc38da
2024-01-29 21:13:12 +01:00
Rash419 81fc2d296d release: sign helm chart with gpg signature
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I8cfcaf477ccd78a7bf1c9e5dac349d3d6d5b4d59
2024-01-09 07:20:21 +01:00
Rash419 1c3fc8dadf helm: push chart to github container registry with
supports OCI specification

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I5bc031552fe2eb6940f068dcef82fe71f640585c
2023-12-20 17:00:38 +05:30
Rash419 ccdedbaab1 chart-releaser: fix 422 Validation Failed
- from the logs Error: error creating GitHub release
helm-collabora-online-1.1.5: POST https://api.github.com/repos/CollaboraOnline/online/releases:
422 Validation Failed [{Resource:Release Field:tag_name Code:already_exists Message:}]

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I7b10e972564eae2cd6ad2146470d16fd05401361
2023-11-24 12:14:12 +01:00
genofire 765433fcc8 chore(ci): update to official released helm-release version
Signed-off-by: genofire <geno+dev@fireorbit.de>
Change-Id: Ic7cfcaaf6888bc64763d0e44c3ad32a203bc3a7f
Signed-off-by: genofire <geno+dev@fireorbit.de>
2023-11-20 12:40:30 +05:30
Timur Gadžo db31a486df Update bug_report.md with Collabora
When creating NEW bug in GITHUB, there is template text, it includes OS, Browser, Version, but missing is COLLABORA Version.
I am seeing reports with all fillied, but missing that which is most important.
In addiiton, I set Browser with Versoin to be single line with e.g. Chrome 114.

Signed-off-by: Timur Gadžo <timur.gadzo@collabora.com>
Change-Id: I2d88a635474580189eb82a25ff6c55284b36692c
2023-11-15 12:21:41 +01:00
genofire 1cd9c753f2 fix(ci): do not set helm to current github-release
Signed-off-by: genofire <geno+dev@fireorbit.de>
Change-Id: I2658fdefde7e40ab46cae2b9a3c0bfcac4ce626f
2023-10-05 14:50:36 +05:30
Pedro Pinto Silva 16b8bead39 Revert "Add action for detecting code duplicates"
This reverts commit 8ce751a3ca.

- Any PR coming from fork fails
  - User needs to manually go to:
  settings > Actions: General > "Workflow permissions" and allow write permissions
- Right now we have too big of a threshold (26 lines) to be as useful as we would hope

Probably best to remove this action for now and instead use directly
the npm package (https://www.npmjs.com/package/jscpd#usage). Advantages:
  - More control over what is analyzed
  - It can be add as a step in make check
  - User can run it locally using make check; CI can also use that.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I3c112218a83fd6e56e7fb2f47b24315347a74cdd
2023-08-11 11:45:21 +02:00
Szymon Kłos 8ce751a3ca Add action for detecting code duplicates
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I8a601aed33fbdc5654cd2e59f42307161e04e18b
2023-08-04 08:12:03 +02:00
Tex2002ans 06f8ee610f Update feature_request.md to use Headings
I added Headings + updated some wording/examples in:

- Feature Request

so when users submit a "New Issue" to Github, it will look nicer.

Signed-off-by: Tex2002ans <Tex2002ans@users.noreply.github.com>
Change-Id: Ic7c5b0a841d39b2cd2b20c5d4a31846eba0c3f4e
2023-07-27 12:21:25 +02:00
Tex2002ans 6b79e52831 Update bug_report_smoke-test.md to use Headings
I added Headings + updated some wording/examples in:

- Bug Report (Smoke Test)

so when users submit a "New Issue" to Github, it will look nicer.

Signed-off-by: Tex2002ans <Tex2002ans@users.noreply.github.com>
Change-Id: Id72ed9ac10a6ae935fb5fa4b1001c11683f46672
2023-07-27 12:21:25 +02:00
Tex2002ans dcbc0208bb Update bug_report.md
I added Headings + updated some wording/examples in:

- Bug Report

so when users submit a "New Issue" to Github, it will look nicer.

Signed-off-by: Tex2002ans <Tex2002ans@users.noreply.github.com>
Change-Id: Ie32f2c9a4c6ed47aaf198286a0d39831fa397992
2023-07-27 12:21:25 +02:00
genofire 767ab72d2f fix(helm): ci with helm- prefix on tag and release
Change-Id: I67754c5159f80ea721920e888996a894ca4101aa
Signed-off-by: genofire <geno+dev@fireorbit.de>
2023-06-30 08:11:12 +05:30
genofire de74ae830b feat: add helm-repo release ci (with usage of github-pages as helm repo)
Change-Id: 3dde8c5cac91543dc97bd38918de00e7af35d7a7
Signed-off-by: genofire <geno+dev@fireorbit.de>
2023-06-29 22:08:35 +05:30
Pedro Pinto Silva c5b95042b6 GitHub project know has its own workflows bultin
Remove custom actions

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ia7f2d776d370310834fd29d38ef25a2566d7d054
2023-04-13 09:54:01 +02:00
Andras Timar 86797465e3 CodeQL C++: use core assets of version 23.05
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I309a36812f931cd51a0b755cee21b8b9d9d87765
2023-03-14 12:04:32 +01:00
Pedro Pinto Silva 3ad0247f2c GitHub Actions to automate project: Add issues to project
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I0774e7961377c6f8506c2aee528093e135aa1991
2023-02-16 14:50:55 +01:00
Pedro Pinto Silva 1a5f38c34a GitHub Actions to automate project: Add PR to project
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ib28cf0dd5381cd5617ff8f6f2cdc7c564a0ebe0a
2023-02-16 14:50:55 +01:00
Rash419 7578f43651 fix: codeql cpp unmet dependencies failure
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I7d0ec22e5eddcd2a0bc10a79c31acb4f0a295f50
2022-12-05 10:57:53 +01:00
Andras Timar cc678b0abb Add libzstd-dev to CodeQL dependencies
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Id9e32efa8a0a0ed5d3fa52eaea5208342098e8cb
2022-09-20 08:10:05 +02:00
Miklos Vajna bfb8b4431f CI: codeql-analysis: work with core co-22.05 assets
Otherwise we fail to find new callbacks, see e.g.
<https://github.com/CollaboraOnline/online/runs/6365091834?check_suite_focus=true>.

And a similar blind fix for the freebsd CI job.

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: I820823d0307d0a4a5d8c51b944c01b2b9ba6632a
2022-05-13 10:43:03 +02:00
Jan Holesovsky 4110326720 Attempt to fix a codeql error
Running command in /home/runner/work/online/online: [/opt/hostedtoolcache/CodeQL/0.0.0-20220311/x64/codeql/javascript/tools/autobuild.sh]
[2022-04-05 08:02:27] [build-stderr] Skipping path /home/runner/work/online/online/**/*w2ui-1.5.rc1.js, which does not exist.
[2022-04-05 08:02:27] [build-stderr] Skipping path /loleaflet, which does not exist.
[2022-04-05 08:02:27] [build-stderr] Illegal '//' in exclude path
Error: 4-05 08:02:27] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/opt/hostedtoolcache/CodeQL/0.0.0-20220311/x64/codeql/javascript/tools/autobuild.sh])
A fatal error occurred: Exit status 1 from command: [/opt/hostedtoolcache/CodeQL/0.0.0-20220311/x64/codeql/javascript/tools/autobuild.sh]

Signed-off-by: Jan Holesovsky <kendy@collabora.com>
Change-Id: I3bcaba31d24e9010af7d4736722cd2413d9e2ce9
2022-04-05 11:08:36 +02:00
Pedro Pinto Silva 03558ae701 GitHub: Add Easy Project Template
So it's easy to create ideas for GSoC projects

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I465f7b8876a4f43262fae52cf88ceacd89248517
2022-02-07 12:37:19 +01:00
Jan Holesovsky 5d10fb3950 Fix a CodeQL problem
It was complaining:

npm WARN tarball tarball data for
vex-js@file:/home/runner/work/online/online/browser/archived-packages/vex-js-4.1.0-9ff760927.tar
(sha512-t8cpwh28HrmrkcqqvFTJl+xjLuPnusW3Eb3zczPm2RzX0Q8HbjHiywq1+ttQL+tLVob80CaQYOmmFY8rhtPEug==
sha512-n/dgknlD5CVl+Bn87kARnjwSknxZvSMflwzrBdgV0LLdLXpgmF6AKQ//bEEBBwK2JLXR0wG2R+il1zjcBtOi6Q==)
seems to be corrupted. Trying again.

npm WARN old lockfile Error:
sha512-t8cpwh28HrmrkcqqvFTJl+xjLuPnusW3Eb3zczPm2RzX0Q8HbjHiywq1+ttQL+tLVob80CaQYOmmFY8rhtPEug==
sha512-n/dgknlD5CVl+Bn87kARnjwSknxZvSMflwzrBdgV0LLdLXpgmF6AKQ//bEEBBwK2JLXR0wG2R+il1zjcBtOi6Q==
integrity checksum failed when using sha512: wanted
sha512-t8cpwh28HrmrkcqqvFTJl+xjLuPnusW3Eb3zczPm2RzX0Q8HbjHiywq1+ttQL+tLVob80CaQYOmmFY8rhtPEug==,sha512-n/dgknlD5CVl+Bn87kARnjwSknxZvSMflwzrBdgV0LLdLXpgmF6AKQ//bEEBBwK2JLXR0wG2R+il1zjcBtOi6Q==
but got
sha512-dCY//NzVfd5UmSGVLyoaIYEhZgeB8i3UoK/Ji4PfIf3OQnGs+BElehb1oYt00Gzr5XUkLv7bsHvQcGmQXdLteg==.
(2689536 bytes)

Signed-off-by: Jan Holesovsky <kendy@collabora.com>
Change-Id: Ifb81de8e3f7d8cec5117ee68f38dbe635f9109ed
2021-12-08 20:36:42 +01:00
Jan Holesovsky 0eb950513d codeql: Limit the project building only to the C++ checking
This is not needed for JS or Python.

Signed-off-by: Jan Holesovsky <kendy@collabora.com>
Change-Id: I6aba438b9646283659b31f6db40f10e224859d9a
2021-11-11 16:42:03 +01:00
Jan Holesovsky 14d1a82144 codeql: Move the paths-ignore to the correct place
Signed-off-by: Jan Holesovsky <kendy@collabora.com>
Change-Id: I1b9d53611def0adb4be2057d224661ee29c824e4
2021-11-11 16:42:03 +01:00
Jan Holesovsky 899a5acf3d CodeQL: Restrict what do we scan
As opposed to 'what triggers the scan'.  For more, see:

https: //docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#specifying-directories-to-scan
Signed-off-by: Jan Holesovsky <kendy@collabora.com>
Change-Id: I2587dc3a5dc06092c03d307a6551d90d474ff604
2021-11-10 17:18:56 +01:00
Henry Castro fc875666af codeql: ignore old "loleaflet" directory
.
Change-Id: I439557e971424b4b07225aa5b96221017bf78339
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro 97ba0e456c codeql: ignore paths related to w2ui library
Change-Id: I1655e18f5dfda5741c46b160f49107843392a01f
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Pedro Pinto Silva cd45fa4cf8 GH: Add new bug type
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I7efacedf2bc2a681a78c6868fe91423dd8b64886
2021-10-23 10:19:16 +02:00
Pedro Pinto Silva 7ec100cb6f Update GH Welcome message: ping Pedro instead
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ic463ab19b7bec9b01ea8856b60c2e290d974719a
2021-08-20 11:27:22 +02:00
Muhammet Kara c16bb5058f Add welcome messages for pull requests
Signed-off-by: Muhammet Kara <muhammet.kara@collabora.com>
Change-Id: I54050204ecddc6fe0871a1424db164977442a176
2021-07-14 15:13:10 +03:00
Andras Timar a0efbdf765 Use core-co-2021-assets.tar.gz for CodeQL
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic7051efb7bafbd4483fb4d59091d6f580add8abb
2021-06-25 07:04:23 +02:00
Miklos Vajna d5885181c0 notifyirc: freenode -> libera.chat
Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: I3bc008dcd137479b57185012f74a154406264706
2021-06-14 09:10:06 +02:00
Andras Timar 737b098a80 fixed warning: 'git checkout HEAD^2 is no longer necessary. Code Scanning recommends analyzing the merge commit for best results.'
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I2bee16c70aee2dedb493de4cccdba854517ee399
2021-04-16 11:31:41 +02:00
Muhammet Kara a8d6e8fbd7 Enable CodeQL cpp check
Signed-off-by: Muhammet Kara <muhammet.kara@collabora.com>
Change-Id: I3f0bd3763694181c91966d7fa54143b201c67825
2021-03-28 09:56:44 +03:00
Muhammet Kara 9c6920362c No auto-assign of new issues
Signed-off-by: Muhammet Kara <muhammet.kara@collabora.com>
Change-Id: I2c6469a050b40cd18a94c68611d51a7c813e65b0
2020-11-05 23:16:54 +03:00
Nicolas Christener be98e41c2b Fix #391, Add "Actual behavior" to GitHub issue...
* add the "Actual behavior" section
* fix usage of colons

Change-Id: Ie5c11ac096d8f88e1e7985943edc58b8883b635f
2020-10-22 22:06:55 +03:00
Muhammet Kara be048fee28 Issues: Add links to forum and customer portal
Change-Id: I15fe1eab1d3cf9b517164167ba353a80a4471261
2020-10-19 16:55:04 +03:00
Muhammet Kara 2150a63b29 Disable codeql cpp check
Auto build fails, causing spam failure messages.
Disable it for now, until proper reintroduction

Change-Id: Id3f974c1f2834bb7a672cf296a12a559decbc412
2020-10-13 09:08:13 +03:00
Muhammet Kara ad471ccdf7 Community: Add pull request template
Change-Id: I0c1de7a8b49e9f2ba9c72a3dc065caf36076dd9a
2020-10-13 01:27:22 +03:00
Muhammet Kara e8e0e319c9 Update issue template for easy hacks
Change-Id: I6133f7083ff090267cd88455253556df74ce1e24
2020-10-13 00:11:55 +03:00
Muhammet Kara aaff7e1e71 Add issue template for Easy Hacks
Change-Id: If5295fa76b97bab6923ab8a5caa837bf9d90eab2
2020-10-12 23:37:58 +03:00
Muhammet Kara 6aa9a6b9fc Update issue templates
Change-Id: I3c5a2219e1372b390e4b813f3071d74fbab28d3d
2020-10-12 22:53:17 +03:00
Andras Timar 6013ef3f7f
Create codeql-analysis.yml
Change-Id: I08f754451b4a216cd2b9a10cd2042ab9ebd4503f
2020-10-12 20:39:17 +02:00
Miklos Vajna 08f80fe7f6 notifyirc: rename this to "IRC Notification" to be more clear
To make it clear this is only for IRC, nothing else.

Change-Id: I559d5471cb5d1cc97d4e302d1e7dab203289d09f
2020-10-07 17:01:56 +02:00
Miklos Vajna 8ce855525a notifyirc: stop listening on pull_request and create events
PRs are no longer announced, neither the creation of tags.

Change-Id: Ia15f4f87e23e00172ff92085b2b394463ecce18e
2020-10-07 17:00:53 +02:00