Граф коммитов

13 Коммитов

Автор SHA1 Сообщение Дата
Harrison Healey
0e30d0abb8 Disable certain actions from running on forks (#23747)
* Disable certain actions from running on forks

* Address some feedback

* Check for forks in build-docker job
2023-08-08 16:45:24 -04:00
Saturnino Abril
1926455a00 Clean up at .github due to repo rename (#23580)
* update .github after repo rename

* update

* Update PULL_REQUEST_TEMPLATE.md

---------

Co-authored-by: M-ZubairAhmed <m-zubairahmed@protonmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-06-05 20:12:08 +08:00
Agniva De Sarker
77a24f96d6 MM-52712: Prevent CI cancellation in master (round 2) (#23293)
We discovered that cancel-in-progress only controls
in-progress jobs. Which means that pending jobs will _always_
be cancelled regardless. There is an open discussion:
https://github.com/orgs/community/discussions/5435
which was closed saying this is how the feature is designed.

We try to work around this by refactoring into separate reusable
workflows and having concurrency only for PR workflows.

```release-note
NONE
```

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-05-09 23:49:06 +05:30
Agniva De Sarker
c140f43e74 Rename workflows to make it clearer (#23316)
Mattermost build was a confusingly named workflow. Changed it
to Server CI to make it consistent with Webapp CI.

Also changed the filenames.

```release-note
NONE
```
2023-05-08 13:13:39 +05:30
Akis Maziotis
8966769f00 [chore] CI. Disabling artifacts upload to mattermost dockerhub
We are disabling uploading e2e artifacts to mattermost dockerhub repository.
This was temporary, to help with the migration to the new repo, of all sourounding services.

Ticket: https://mattermost.atlassian.net/browse/CLD-5614
2023-05-03 13:23:16 +03:00
fr0mdual
e3e7349a35 Merge pull request #23163 from mattermost/MM-52493
[MM-52493] workflows/artifacts.yml: do not upload build artifacts for branches
2023-04-26 18:15:34 +01:00
Ibrahim Serdar Acikgoz
1908e7397c workflows/artifacts.yml: do not upload build artifacts for branches 2023-04-26 17:02:00 +03:00
Akis Maziotis
b143a882be [fix] CI Sentry. running on push events (#23142)
* [fix] CI Sentry. running on push events
2023-04-26 15:40:45 +03:00
Antonis Stamatiou
ee23f6dc6b fix: Fixed wrong commit sha reference from incoming webhook 2023-04-26 13:15:09 +03:00
Antonis Stamatiou
dbb73b9239 fix: Disable branch name manipulation to remove attack vector 2023-04-26 12:46:49 +03:00
Akis Maziotis
fbe7323079 [fix] CI Correctly identify artifact downloads
We are defining the workflow directive to for `Artifacts generation and upload`/cd/Download artifacts step.
To be the workflow_id from the calling workflow

Signed-off-by: Akis Maziotis <akis.maziotis@mattermost.com>
2023-04-10 19:27:47 +03:00
Akis Maziotis
24bf163171 [feat] Uploading mm-te-test artifacts to mattermost docker registry
Required by Cloud Platform team for smooth migration of Spinwick service to the new DockerHub registry.
Context: https://community.mattermost.com/private-core/pl/3jzzxzfiji8hx833ewyuthzkjh
2023-04-10 16:50:17 +03:00
Akis Maziotis
d0bee0162c [feat] CI. Run artifact uploads in workflow secure context
We are seperating artifacts generation/upload process, into a seperate workflow.
This runs in pricileged mode, using `workflow_run` trigger.
https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_run
Note: This event will only trigger a workflow run if the workflow file is on the default branch.(master)

Docker artifacts, are now exposed under the newly porivisioned DockerHub Org account: "mattermostdevelopment"
https://hub.docker.com/repository/docker/mattermostdevelopment/mm-te-test/tags?page=1&ordering=last_updated

Signed-off-by: Akis Maziotis <akis.maziotis@mattermost.com>
2023-04-10 16:50:17 +03:00