Compare commits
489
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
49db015eb5 | ||
|
|
bff811ac16 | ||
|
|
03302f7fd6 | ||
|
|
543e2b4253 | ||
|
|
9db205158a | ||
|
|
2b476f011c | ||
|
|
dcecd1b59b | ||
|
|
c27ff7a931 | ||
|
|
de71ed7314 | ||
|
|
94816235a5 | ||
|
|
bb64945011 | ||
|
|
973d29b6bf | ||
|
|
e4eea0ea9c | ||
|
|
680b06affc | ||
|
|
c034c62f98 | ||
|
|
138cc49463 | ||
|
|
7f3356b05c | ||
|
|
e56cb5c215 | ||
|
|
f5724905e5 | ||
|
|
b2ac199660 | ||
|
|
671fc9a635 | ||
|
|
216e9acdac | ||
|
|
07d3c64757 | ||
|
|
8bec7d6887 | ||
|
|
06f4074d27 | ||
|
|
be437f0ba5 | ||
|
|
68b47b8e02 | ||
|
|
380d15a73f | ||
|
|
9d67bbed4a | ||
|
|
88c029a192 | ||
|
|
124226ff32 | ||
|
|
ccf813d3fb | ||
|
|
0d582377a8 | ||
|
|
c090ea2f1b | ||
|
|
d8d19f1d62 | ||
|
|
06ae3fa66e | ||
|
|
e3ebfcb93e | ||
|
|
9267d74ede | ||
|
|
04b1f539f7 | ||
|
|
443876fc44 | ||
|
|
685784690c | ||
|
|
bd814059fc | ||
|
|
392413861c | ||
|
|
3b211c9073 | ||
|
|
7135450ec1 | ||
|
|
322de7c3ba | ||
|
|
5e712753c6 | ||
|
|
bc28e7ed6b | ||
|
|
74200f122d | ||
|
|
5fa54a2e91 | ||
|
|
e02c6fb241 | ||
|
|
5ba97df54d | ||
|
|
8ba0ca0797 | ||
|
|
5a4ff5225b | ||
|
|
461a566389 | ||
|
|
c13101078d | ||
|
|
648a6f0987 | ||
|
|
db54a4d59b | ||
|
|
d2451b84c5 | ||
|
|
287fdf727c | ||
|
|
db7bb321d0 | ||
|
|
b715fe8782 | ||
|
|
4ae4e4dcb0 | ||
|
|
654221f094 | ||
|
|
3e7eb56f27 | ||
|
|
e12559a4f8 | ||
|
|
89f121147f | ||
|
|
5175c33819 | ||
|
|
bcb74bbea1 | ||
|
|
dd423cb25a | ||
|
|
e8d4e37356 | ||
|
|
55ff908b82 | ||
|
|
98436d569d | ||
|
|
f6cef1d4ee | ||
|
|
06731f53f3 | ||
|
|
6a12971ccb | ||
|
|
9a5f99cc24 | ||
|
|
a72fa8fd8b | ||
|
|
1edda09815 | ||
|
|
3881f701df | ||
|
|
09bec32a03 | ||
|
|
27a54d9d4c | ||
|
|
0f0402f7d6 | ||
|
|
9482241d4b | ||
|
|
345e8d6573 | ||
|
|
d268714000 | ||
|
|
808fc34514 | ||
|
|
acad7b6626 | ||
|
|
b70ebde68c | ||
|
|
2f86a8abbe | ||
|
|
edd7400d76 | ||
|
|
3bb230a79a | ||
|
|
ee8dc59f49 | ||
|
|
aa1dc148f7 | ||
|
|
1dd15d2033 | ||
|
|
9e53fa6505 | ||
|
|
81295d6e71 | ||
|
|
ba0243447c | ||
|
|
89dcaaf2de | ||
|
|
6daaf84bb3 | ||
|
|
459c27dca6 | ||
|
|
0dd0ee5676 | ||
|
|
dd612d895a | ||
|
|
93e99fd3be | ||
|
|
e254b12b67 | ||
|
|
85b7086a46 | ||
|
|
82c4356297 | ||
|
|
d0f93077b7 | ||
|
|
ef2ae0412b | ||
|
|
ff56007cf1 | ||
|
|
a933c15f51 | ||
|
|
90ba42df70 | ||
|
|
f76dbea38e | ||
|
|
0c715d6fe2 | ||
|
|
4c00e7ffc6 | ||
|
|
aaea7d2c91 | ||
|
|
39a2831576 | ||
|
|
7b6d03675b | ||
|
|
9d73235e03 | ||
|
|
9317366c91 | ||
|
|
749308b283 | ||
|
|
6fe53a9ebd | ||
|
|
aa30f1448e | ||
|
|
41a66c656e | ||
|
|
b574e6db50 | ||
|
|
282b038713 | ||
|
|
9c10407107 | ||
|
|
0fdd36cae1 | ||
|
|
16a4b62181 | ||
|
|
1f734b1213 | ||
|
|
72fb7d8389 | ||
|
|
c0f3fd1127 | ||
|
|
98db900858 | ||
|
|
d0779b618f | ||
|
|
1c4f13f881 | ||
|
|
7c29ac2481 | ||
|
|
68d67073c3 | ||
|
|
a188baf434 | ||
|
|
c50fae7abe | ||
|
|
055373ee0b | ||
|
|
069c83c04b | ||
|
|
dd69301f6f | ||
|
|
a87f3ccb96 | ||
|
|
19bbf1470b | ||
|
|
0648edd177 | ||
|
|
758c82422d | ||
|
|
86a37d4cad | ||
|
|
cdc95ae299 | ||
|
|
0fd345a23c | ||
|
|
5d060a03ec | ||
|
|
98dbe8f0d1 | ||
|
|
4e9bf614aa | ||
|
|
6512983477 | ||
|
|
8ce9196a32 | ||
|
|
b86977783c | ||
|
|
225cb8e3c5 | ||
|
|
536db7f6f5 | ||
|
|
120036944a | ||
|
|
b6db8893f5 | ||
|
|
a0512d36da | ||
|
|
5ac32fc097 | ||
|
|
ccfd55f9c8 | ||
|
|
2678356764 | ||
|
|
6a69f367db | ||
|
|
ffb4bccd2d | ||
|
|
ed015ab7b9 | ||
|
|
fe49f66316 | ||
|
|
7d3cfbd035 | ||
|
|
a3d822534a | ||
|
|
7dab5895e6 | ||
|
|
78f5a8e8b5 | ||
|
|
678e77e33c | ||
|
|
cabc659a07 | ||
|
|
4adf815cfc | ||
|
|
b80a1555aa | ||
|
|
a2e5f8e548 | ||
|
|
1a9e61817a | ||
|
|
9d7a348464 | ||
|
|
97a16c82c5 | ||
|
|
fc65e636f2 | ||
|
|
01a4b85c82 | ||
|
|
4c2aa26e36 | ||
|
|
d0084fca76 | ||
|
|
a5afdf4028 | ||
|
|
d9236ebe55 | ||
|
|
9934c535bb | ||
|
|
1f729c2f02 | ||
|
|
804289e1b5 | ||
|
|
9bca1b7807 | ||
|
|
2ab72ee403 | ||
|
|
c08e24c17b | ||
|
|
7c8569ab2b | ||
|
|
e57b8bf79c | ||
|
|
019de53cfb | ||
|
|
ab8c670faf | ||
|
|
3d5dfdfe67 | ||
|
|
d3f35ae32d | ||
|
|
b2e786d4e9 | ||
|
|
6e127e8439 | ||
|
|
bc4826f28a | ||
|
|
5eb695baec | ||
|
|
ba6a2f292c | ||
|
|
fe22e77a67 | ||
|
|
f42ac9c022 | ||
|
|
44804bcf66 | ||
|
|
a74640c1ec | ||
|
|
93599e2505 | ||
|
|
ce86c32a1a | ||
|
|
16a1b76572 | ||
|
|
20bd227226 | ||
|
|
3116545da6 | ||
|
|
6f1d4e826f | ||
|
|
f5067f01d2 | ||
|
|
de772de4ea | ||
|
|
cd70e3a1c3 | ||
|
|
a29df688f2 | ||
|
|
761b09ecde | ||
|
|
c451f7ec47 | ||
|
|
559fd976e2 | ||
|
|
ce889525cc | ||
|
|
618434daab | ||
|
|
201fcceef4 | ||
|
|
a115270340 | ||
|
|
db576e4bf4 | ||
|
|
3cf906bc1b | ||
|
|
97a0ce7925 | ||
|
|
c6c0c7b5ef | ||
|
|
ccc4742cb3 | ||
|
|
9786331c77 | ||
|
|
e0e30a0490 | ||
|
|
26b35f5776 | ||
|
|
f089b6db62 | ||
|
|
23285c07c6 | ||
|
|
14be8c2b5a | ||
|
|
cdcc451ead | ||
|
|
0e973208b8 | ||
|
|
06274ce330 | ||
|
|
950da01568 | ||
|
|
c59b62dee0 | ||
|
|
5760418d4f | ||
|
|
97cad8dbc7 | ||
|
|
2c71fd3721 | ||
|
|
b20b76eb79 | ||
|
|
2e8a60b695 | ||
|
|
4978051373 | ||
|
|
b6f43960ef | ||
|
|
ef1224c284 | ||
|
|
d36b72e889 | ||
|
|
d644b9852c | ||
|
|
c17ea6bad7 | ||
|
|
3b047441fd | ||
|
|
e402d2478e | ||
|
|
2e8181996a | ||
|
|
f631f1f2a9 | ||
|
|
25beec943d | ||
|
|
6c0603b492 | ||
|
|
db98e7bafe | ||
|
|
9959a5d8cd | ||
|
|
ebda693bc0 | ||
|
|
d5de0a136a | ||
|
|
f9cb2aceea | ||
|
|
7ad776e201 | ||
|
|
95adc26526 | ||
|
|
e9e00b0177 | ||
|
|
26b1c798c4 | ||
|
|
1611798954 | ||
|
|
916f29234a | ||
|
|
038c492e5d | ||
|
|
2cce108822 | ||
|
|
cefd62c81b | ||
|
|
59b02379ec | ||
|
|
5adbc985bb | ||
|
|
f3f093bce8 | ||
|
|
ab930e94bf | ||
|
|
c5e7bc70b5 | ||
|
|
14acff1f1e | ||
|
|
14547bfc79 | ||
|
|
90f8fd731d | ||
|
|
08c2049aed | ||
|
|
b3f8b48094 | ||
|
|
a921a9e19d | ||
|
|
a88b31b693 | ||
|
|
2c1a53ec93 | ||
|
|
0c4ccab691 | ||
|
|
b05136d6b3 | ||
|
|
4dae3bbf12 | ||
|
|
a571f2981a | ||
|
|
32294ec235 | ||
|
|
93dbc9b111 | ||
|
|
ace2e21634 | ||
|
|
f344c836c9 | ||
|
|
778f6e55ec | ||
|
|
1098e119bf | ||
|
|
c4f8fd37a9 | ||
|
|
b247fc6998 | ||
|
|
5df85a656f | ||
|
|
edab906081 | ||
|
|
04faecd243 | ||
|
|
1121235708 | ||
|
|
cfbd40a9c2 | ||
|
|
33f788c27e | ||
|
|
443491da63 | ||
|
|
6a074bcdf6 | ||
|
|
c088288539 | ||
|
|
3f9a0a4044 | ||
|
|
4f53470f32 | ||
|
|
e2f0d8de48 | ||
|
|
8c0ca1f934 | ||
|
|
b38e80f939 | ||
|
|
8ca17cdb3e | ||
|
|
d41b5571e7 | ||
|
|
3a4f08c55b | ||
|
|
1bf4cbdad8 | ||
|
|
bb39041a60 | ||
|
|
ff9e5d1209 | ||
|
|
66d8b02dfe | ||
|
|
4e1a218f3b | ||
|
|
019eff621a | ||
|
|
6999ba1689 | ||
|
|
a50e787c3d | ||
|
|
eab784e4cf | ||
|
|
54c9648f3b | ||
|
|
9f124372e3 | ||
|
|
6ff9ab42eb | ||
|
|
decb3a996a | ||
|
|
64f653a809 | ||
|
|
0e2cd77dc8 | ||
|
|
ee5512ec21 | ||
|
|
94f134c8ff | ||
|
|
2d3a2e57d3 | ||
|
|
bfb45aec41 | ||
|
|
ef7878c3e6 | ||
|
|
b2e55d25f2 | ||
|
|
cf9a85beec | ||
|
|
92d9a2c433 | ||
|
|
aa9d3bc6cc | ||
|
|
44c50acb70 | ||
|
|
500534878c | ||
|
|
545a711d57 | ||
|
|
85739b01da | ||
|
|
33c4d0afcb | ||
|
|
6e6b7a3a65 | ||
|
|
07d00868c1 | ||
|
|
1e97b0eba7 | ||
|
|
1e1b67d2e3 | ||
|
|
90f04bcdca | ||
|
|
33e4b7e557 | ||
|
|
d9b22d32d2 | ||
|
|
cfb65e2931 | ||
|
|
6566b994c5 | ||
|
|
b74ba94525 | ||
|
|
5aeeb19100 | ||
|
|
6802e0bb22 | ||
|
|
f75012de65 | ||
|
|
dfaa4e420b | ||
|
|
e2510e2a62 | ||
|
|
17e1df2111 | ||
|
|
f938476d14 | ||
|
|
d7ac62140f | ||
|
|
fecbb32bb8 | ||
|
|
5699eea8b2 | ||
|
|
b4fa2522d2 | ||
|
|
8d7b3c7bb7 | ||
|
|
fbdaed8a1c | ||
|
|
48d91f58fd | ||
|
|
93e3710ab0 | ||
|
|
e3365944ac | ||
|
|
b1cd56fafa | ||
|
|
e24322bcc0 | ||
|
|
08ff79c7b9 | ||
|
|
ca7b1e42d8 | ||
|
|
7828f6c354 | ||
|
|
6bd0eb9cee | ||
|
|
def8d9d2cb | ||
|
|
12319ff7de | ||
|
|
545967cef7 | ||
|
|
349e3dde95 | ||
|
|
dacfd0a22a | ||
|
|
732e5a4fed | ||
|
|
6933b58bfe | ||
|
|
4fc839617b | ||
|
|
60765e8490 | ||
|
|
c6ccc6f609 | ||
|
|
53ecd5cb8a | ||
|
|
fd28bd2710 | ||
|
|
188a1b0995 | ||
|
|
01816c2943 | ||
|
|
b54b703ab1 | ||
|
|
8e9dd416eb | ||
|
|
3ba9eeb432 | ||
|
|
ac0f10b559 | ||
|
|
4c50c2463d | ||
|
|
af51c4b131 | ||
|
|
7170aed588 | ||
|
|
5524770ebc | ||
|
|
556dbfef74 | ||
|
|
0e05d2e2d5 | ||
|
|
d9ef0c9fa9 | ||
|
|
781ae15668 | ||
|
|
e6a92cdf5e | ||
|
|
9d5fc9a9d5 | ||
|
|
b2a9ff937c | ||
|
|
d344ceca32 | ||
|
|
cd6c492b58 | ||
|
|
1d9faa8666 | ||
|
|
8b99b795cd | ||
|
|
a7d5e843be | ||
|
|
044885a132 | ||
|
|
f5834be4a7 | ||
|
|
8086b89ce1 | ||
|
|
eb30c1ee37 | ||
|
|
917a8740ae | ||
|
|
9ca8884216 | ||
|
|
760d91097a | ||
|
|
60a9e86952 | ||
|
|
1dc9bda71d | ||
|
|
55d2f670aa | ||
|
|
c7007251e8 | ||
|
|
acf5f6e3fc | ||
|
|
94759fc6c5 | ||
|
|
e6715401a9 | ||
|
|
a4513263ef | ||
|
|
dc7a645261 | ||
|
|
fae2392dd2 | ||
|
|
e06cc27dea | ||
|
|
e29f776785 | ||
|
|
4085d2783b | ||
|
|
ccf96281e9 | ||
|
|
9ddf3f1e08 | ||
|
|
bfe353443a | ||
|
|
ebe6a9d913 | ||
|
|
ee064c5e4b | ||
|
|
0ec52ad66b | ||
|
|
27c4cec0db | ||
|
|
96d4d9913c | ||
|
|
e0507e673c | ||
|
|
948df6a3d0 | ||
|
|
8f334e85aa | ||
|
|
fb3fd40c90 | ||
|
|
5a6d7fe48f | ||
|
|
e0b4d1e49e | ||
|
|
96bdc687f4 | ||
|
|
125b38d041 | ||
|
|
613f51fa51 | ||
|
|
860fdf02bf | ||
|
|
e11672e5a9 | ||
|
|
3c570179b7 | ||
|
|
02575c8e91 | ||
|
|
94b77c19d0 | ||
|
|
318a078faf | ||
|
|
2740936be4 | ||
|
|
a98cc94869 | ||
|
|
aa2ec78d14 | ||
|
|
eeaa6d60cd | ||
|
|
84197f1cbe | ||
|
|
a4013e698d | ||
|
|
930a2cac2b | ||
|
|
bd169be472 | ||
|
|
0ca3f2a990 | ||
|
|
9e8735b0e6 | ||
|
|
15e1039f3f | ||
|
|
194e973f90 | ||
|
|
c85b474fcc | ||
|
|
dabe11f6f7 | ||
|
|
1de1e6c777 | ||
|
|
af32ab05c6 | ||
|
|
3d33354a89 | ||
|
|
ef7fa950a5 | ||
|
|
29a2e8d1b5 | ||
|
|
9b42288206 | ||
|
|
90ace1f9e2 | ||
|
|
427f63ab83 | ||
|
|
1c2ed214e0 | ||
|
|
4624b6ee62 | ||
|
|
17d9115a99 | ||
|
|
99a3541086 | ||
|
|
f30fb6cf24 | ||
|
|
4d60a5fb72 | ||
|
|
36ead1ae0d | ||
|
|
44de3f55de | ||
|
|
2697ad6a58 | ||
|
|
2287251421 | ||
|
|
5ce3567640 | ||
|
|
e5854d803d | ||
|
|
9342fc5f27 | ||
|
|
d78d85f6c7 | ||
|
|
99de2a93da | ||
|
|
d01030b5b8 | ||
|
|
9de067fdf0 |
@@ -0,0 +1,3 @@
|
|||||||
|
# Add 'code-scanning' label to any changes within 'code-scanning' folder or any subfolders
|
||||||
|
code-scanning:
|
||||||
|
- code-scanning/**/*
|
||||||
@@ -1,39 +1,60 @@
|
|||||||
This repository contains configuration for what users see when they click on the `Actions` tab.
|
<!--
|
||||||
|
IMPORTANT:
|
||||||
|
|
||||||
|
This repository contains configuration for what users see when they click on the `Actions` tab and the setup page for Code Scanning.
|
||||||
|
|
||||||
It is not:
|
It is not:
|
||||||
* A playground to try out scripts
|
* A playground to try out scripts
|
||||||
* A place for you to create a workflow for your repository
|
* A place for you to create a workflow for your repository
|
||||||
|
-->
|
||||||
|
|
||||||
|
## Pre-requisites
|
||||||
|
|
||||||
|
- [ ] Prior to submitting a new workflow, please apply to join the GitHub Technology Partner Program: [partner.github.com/apply](https://partner.github.com/apply?partnershipType=Technology+Partner).
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
Thank you for sending in this pull request. Please make sure you take a look at the [contributing file](https://github.com/actions/starter-workflows/blob/master/CONTRIBUTING.md). Here's a few things for you to consider in this pull request.
|
### **Please note that at this time we are only accepting new starter workflows for Code Scanning. Updates to existing starter workflows are fine.**
|
||||||
|
|
||||||
Please **add to this description** at the bottom :point_down:
|
---
|
||||||
|
|
||||||
- [ ] A good description of the workflow at the bottom of this page.
|
## Tasks
|
||||||
- [ ] Some links to the language or tool will be nice (unless its really obvious)
|
|
||||||
|
|
||||||
In the workflow and properties files:
|
**For _all_ workflows, the workflow:**
|
||||||
|
|
||||||
- [ ] The workflow filename of CI workflows should be the name of the language or platform, in lower case. Special characters should be removed or replaced with words as appropriate (for example, "dotnet" instead of ".NET").
|
- [ ] Should be contained in a `.yml` file with the language or platform as its filename, in lower, [_kebab-cased_](https://en.wikipedia.org/wiki/Kebab_case) format (for example, [`docker-image.yml`](https://github.com/actions/starter-workflows/blob/main/ci/docker-image.yml)). Special characters should be removed or replaced with words as appropriate (for example, "dotnet" instead of ".NET").
|
||||||
|
- [ ] Should use sentence case for the names of workflows and steps (for example, "Run tests").
|
||||||
|
- [ ] Should be named _only_ by the name of the language or platform (for example, "Go", not "Go CI" or "Go Build").
|
||||||
|
- [ ] Should include comments in the workflow for any parts that are not obvious or could use clarification.
|
||||||
|
|
||||||
The workflow filename of publishing workflows should be the name of the language or platform, in lower case, followed by "-publish".
|
**For _CI_ workflows, the workflow:**
|
||||||
- [ ] Includes a matching `ci/properties/*.properties.json` file.
|
|
||||||
- [ ] Use sentence case for the names of workflows and steps, for example "Run tests".
|
- [ ] Should be preserved under [the `ci` directory](https://github.com/actions/starter-workflows/tree/main/ci).
|
||||||
- [ ] The name of CI workflows should only be the name of the language or platform: for example "Go" (not "Go CI" or "Go Build")
|
- [ ] Should include a matching `ci/properties/*.properties.json` file (for example, [`ci/properties/docker-publish.properties.json`](https://github.com/actions/starter-workflows/blob/main/ci/properties/docker-publish.properties.json)).
|
||||||
- [ ] Include comments in the workflow for any parts that are not obvious or could use clarification.
|
- [ ] Should run on `push` to `branches: [ $default-branch ]` and `pull_request` to `branches: [ $default-branch ]`.
|
||||||
- [ ] CI workflows should run on `push` to `branches: [ master ]` and `pull_request` to `branches: [ master ]`.
|
|
||||||
- [ ] Packaging workflows should run on `release` with `types: [ created ]`.
|
- [ ] Packaging workflows should run on `release` with `types: [ created ]`.
|
||||||
|
- [ ] Publishing workflows should have a filename that is the name of the language or platform, in lower case, followed by "-publish" (for example, [`docker-publish.yml`](https://github.com/actions/starter-workflows/blob/main/ci/docker-publish.yml)).
|
||||||
|
|
||||||
Some general notes:
|
**For _Code Scanning_ workflows, the workflow:**
|
||||||
|
|
||||||
- [ ] This workflow must only use actions that are produced by GitHub, [in the `actions` organization](https://github.com/actions), **or**
|
- [ ] Should be preserved under [the `code-scanning` directory](https://github.com/actions/starter-workflows/tree/main/ci).
|
||||||
- [ ] This workflow must only use actions that are produced by the language or ecosystem that the workflow supports. These actions must be [published to the GitHub Marketplace](https://github.com/marketplace?type=actions). Workflows using these actions must reference the action using the full 40 character hash of the action's commit instead of a tag. Additionally, workflows must include the following comment at the top of the workflow file:
|
- [ ] Should include a matching `code-scanning/properties/*.properties.json` file (for example, [`code-scanning/properties/codeql.properties.json`](https://github.com/actions/starter-workflows/blob/main/code-scanning/properties/codeql.properties.json)), with properties set as follows:
|
||||||
|
- [ ] `name`: Name of the Code Scanning integration.
|
||||||
|
- [ ] `organization`: Name of the organization producing the Code Scanning integration.
|
||||||
|
- [ ] `description`: Short description of the Code Scanning integration.
|
||||||
|
- [ ] `categories`: Array of languages supported by the Code Scanning integration.
|
||||||
|
- [ ] `iconName`: Name of the SVG logo representing the Code Scanning integration. This SVG logo must be present in [the `icons` directory](https://github.com/actions/starter-workflows/tree/main/icons).
|
||||||
|
- [ ] Should run on `push` to `branches: [ $default-branch, $protected-branches ]` and `pull_request` to `branches: [ $default-branch ]`. We also recommend a `schedule` trigger of `cron: $cron-weekly` (for example, [`codeql.yml`](https://github.com/actions/starter-workflows/blob/c59b62dee0eae1f9f368b7011cf05c2fc42cf084/code-scanning/codeql.yml#L14-L21)).
|
||||||
|
|
||||||
|
**Some general notes:**
|
||||||
|
|
||||||
|
- [ ] This workflow must _only_ use actions that are produced by GitHub, [in the `actions` organization](https://github.com/actions), **or**
|
||||||
|
- [ ] This workflow must _only_ use actions that are produced by the language or ecosystem that the workflow supports. These actions must be [published to the GitHub Marketplace](https://github.com/marketplace?type=actions). We require that these actions be referenced using the full 40 character hash of the action's commit instead of a tag. Additionally, workflows must include the following comment at the top of the workflow file:
|
||||||
```
|
```
|
||||||
# This workflow uses actions that are not certified by GitHub.
|
# This workflow uses actions that are not certified by GitHub.
|
||||||
# They are provided by a third-party and are governed by
|
# They are provided by a third-party and are governed by
|
||||||
# separate terms of service, privacy policy, and support
|
# separate terms of service, privacy policy, and support
|
||||||
# documentation.
|
# documentation.
|
||||||
```
|
```
|
||||||
- [ ] This workflow must not send data to any 3rd party service except for the purposes of installing dependencies.
|
- [ ] Automation and CI workflows should not send data to any 3rd party service except for the purposes of installing dependencies.
|
||||||
- [ ] This workflow must not use a paid service or product.
|
- [ ] Automation and CI workflows cannot be dependent on a paid service or product.
|
||||||
|
|||||||
@@ -0,0 +1,19 @@
|
|||||||
|
name: Close as a feature
|
||||||
|
on:
|
||||||
|
issues:
|
||||||
|
types: [labeled]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Close Issue
|
||||||
|
uses: peter-evans/close-issue@v1
|
||||||
|
if: contains(github.event.issue.labels.*.name, 'feature')
|
||||||
|
with:
|
||||||
|
comment: |
|
||||||
|
Thank you 🙇 for this request. This request has been classified as a feature by the maintainers.
|
||||||
|
|
||||||
|
We take all the requests for features seriously and have passed this on to the internal teams for their consideration.
|
||||||
|
|
||||||
|
Because any feature requires further maintenance and support in the long term by this team, we would like to exercise caution into adding new features. If this feature is something that can be implemented independently, please consider forking this repository and adding the feature.
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
name: "Pull Request Labeler"
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
|
on:
|
||||||
|
- pull_request_target
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
triage:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/labeler@v3
|
||||||
|
with:
|
||||||
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
name: Mark stale issues and pull requests
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "21 4 * * *"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
stale:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/stale@v3
|
||||||
|
with:
|
||||||
|
stale-issue-message: 'This issue has become stale and will be closed automatically within a period of time. Sorry about that.'
|
||||||
|
stale-pr-message: 'This pull request has become stale and will be closed automatically within a period of time. Sorry about that.'
|
||||||
|
stale-issue-label: 'no-issue-activity'
|
||||||
|
stale-pr-label: 'no-pr-activity'
|
||||||
|
days-before-stale: 90
|
||||||
@@ -3,7 +3,7 @@ name: Sync workflows for GHES
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
sync:
|
sync:
|
||||||
@@ -14,7 +14,7 @@ jobs:
|
|||||||
git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
|
git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
|
||||||
git config user.email "[email protected]"
|
git config user.email "[email protected]"
|
||||||
git config user.name "GitHub Actions"
|
git config user.name "GitHub Actions"
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: '12'
|
node-version: '12'
|
||||||
- name: Check starter workflows for GHES compat
|
- name: Check starter workflows for GHES compat
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: "12"
|
node-version: "12"
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
* @actions/starter-workflows
|
||||||
|
|
||||||
|
/code-scanning/ @actions/advanced-security-code-scanning
|
||||||
+9
-5
@@ -4,17 +4,21 @@
|
|||||||
|
|
||||||
Hi there 👋 We are excited that you want to contribute a new workflow to this repo. By doing this you are helping people get up and running with GitHub Actions and that's cool 😎.
|
Hi there 👋 We are excited that you want to contribute a new workflow to this repo. By doing this you are helping people get up and running with GitHub Actions and that's cool 😎.
|
||||||
|
|
||||||
Contributions to this project are [released](https://help.github.com/articles/github-terms-of-service/#6-contributions-under-repository-license) to the public under the [project's open source license](https://github.com/actions/starter-workflows/blob/master/LICENSE).
|
Contributions to this project are [released](https://help.github.com/articles/github-terms-of-service/#6-contributions-under-repository-license) to the public under the [project's open source license](https://github.com/actions/starter-workflows/blob/main/LICENSE).
|
||||||
|
|
||||||
Please note that this project is released with a [Contributor Code of Conduct](
|
Please note that this project is released with a [Contributor Code of Conduct](
|
||||||
https://github.com/actions/.github/blob/master/CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.
|
https://github.com/actions/.github/blob/main/CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.
|
||||||
|
|
||||||
|
**At this time we are only accepting new starter workflows for Code Scanning**
|
||||||
|
|
||||||
|
### Previous guidelines for new starter workflows.
|
||||||
|
|
||||||
Before merging a new workflow, the following requirements need to be met:
|
Before merging a new workflow, the following requirements need to be met:
|
||||||
|
|
||||||
- Should be as simple as is needed for the service.
|
- Should be as simple as is needed for the service.
|
||||||
- There are many programming languages and tools out there. Right now we don't have a page that allows for a really large number of workflows, so we do have to be a little choosy about what we accept. Less popular tools or languages might not be accepted.
|
- There are many programming languages and tools out there. Right now we don't have a page that allows for a really large number of workflows, so we do have to be a little choosy about what we accept. Less popular tools or languages might not be accepted.
|
||||||
- Should not send data to any 3rd party service except for the purposes of installing dependencies.
|
- Automation and CI workflows should not send data to any 3rd party service except for the purposes of installing dependencies.
|
||||||
- Cannot use an Action that isn't in the `actions` organization.
|
- Automation and CI workflows cannot be dependent on a paid service or product.
|
||||||
- Cannot be to a paid service or product.
|
- We require that Actions outside of the `actions` organization be pinned to a specific SHA.
|
||||||
|
|
||||||
Thank you
|
Thank you
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2019 GitHub
|
Copyright (c) 2020 GitHub
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
@@ -18,4 +18,5 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
SOFTWARE.
|
SOFTWARE. THIS LICENSE DOES NOT GRANT YOU RIGHTS TO USE ANY CONTRIBUTORS'
|
||||||
|
NAME, LOGO, OR TRADEMARKS.
|
||||||
|
|||||||
@@ -10,17 +10,39 @@ These are the workflow files for helping people get started with GitHub Actions.
|
|||||||
|
|
||||||
<img src="https://d3vv6lp55qjaqc.cloudfront.net/items/353A3p3Y2x3c2t2N0c01/Image%202019-08-27%20at%203.25.07%20PM.png" max-width="75%"/>
|
<img src="https://d3vv6lp55qjaqc.cloudfront.net/items/353A3p3Y2x3c2t2N0c01/Image%202019-08-27%20at%203.25.07%20PM.png" max-width="75%"/>
|
||||||
|
|
||||||
**Directory structure:**
|
### Directory structure
|
||||||
* [ci](ci): solutions for Continuous Integration
|
|
||||||
|
* [ci](ci): solutions for Continuous Integration and Deployments
|
||||||
* [automation](automation): solutions for automating workflows.
|
* [automation](automation): solutions for automating workflows.
|
||||||
|
* [code-scanning](code-scanning): starter workflows for [Code Scanning](https://github.com/features/security)
|
||||||
* [icons](icons): svg icons for the relevant template
|
* [icons](icons): svg icons for the relevant template
|
||||||
|
|
||||||
Each workflow must be written in YAML and have a `.yml` extension. They also need a corresponding `.properties.json` file that contains extra metadata about the workflow (this is displayed in the GitHub.com UI).
|
Each workflow must be written in YAML and have a `.yml` extension. They also need a corresponding `.properties.json` file that contains extra metadata about the workflow (this is displayed in the GitHub.com UI).
|
||||||
|
|
||||||
For example: `ci/python-django.yml` and `ci/properties/python-django.properties.json`.
|
For example: `ci/django.yml` and `ci/properties/django.properties.json`.
|
||||||
|
|
||||||
**Valid properties:**
|
### Valid properties
|
||||||
* `name`: the name shown in onboarding
|
|
||||||
|
* `name`: the name shown in onboarding. This property is unique within the repository.
|
||||||
* `description`: the description shown in onboarding
|
* `description`: the description shown in onboarding
|
||||||
* `iconName`: the icon name in the relevant folder, for example `django` should have an icon `icons/django.svg`. Only SVG is supported at this time
|
* `iconName`: the icon name in the relevant folder, for example, `django` should have an icon `icons/django.svg`. Only SVG is supported at this time. Another option is to use [octicon](https://primer.style/octicons/). The format to use an octicon is `octicon <<icon name>>`. Example: `octicon person`
|
||||||
* `categories`: the categories that it will be shown under
|
* `creator`: creator of the template shown in onboarding. All the workflow templates from an author will have the same `creator` field.
|
||||||
|
* `categories`: the categories that it will be shown under. Choose at least one category from the list [here](#categories). Further, choose the categories from the list of languages available [here](https://github.com/github/linguist/blob/master/lib/linguist/languages.yml). When a user views the available templates, those templates that match the same language will feature more prominently.
|
||||||
|
|
||||||
|
### Categories
|
||||||
|
* continuous-integration
|
||||||
|
* deployment
|
||||||
|
* testing
|
||||||
|
* code-quality
|
||||||
|
* code-review
|
||||||
|
* dependency-management
|
||||||
|
* monitoring
|
||||||
|
* Automation
|
||||||
|
* utilities
|
||||||
|
|
||||||
|
### Variables
|
||||||
|
These variables can be placed in the starter workflow and will be substituted as detailed below:
|
||||||
|
|
||||||
|
* `$default-branch`: will substitute the branch from the repository, for example `main` and `master`
|
||||||
|
* `$protected-branches`: will substitue any protected branches from the repository.
|
||||||
|
* `$cron-daily`: will substitute a valid but random time within the day
|
||||||
|
|||||||
@@ -5,9 +5,12 @@ on: [pull_request, issues]
|
|||||||
jobs:
|
jobs:
|
||||||
greeting:
|
greeting:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
issues: write
|
||||||
|
pull-requests: write
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/first-interaction@v1
|
- uses: actions/first-interaction@v1
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
issue-message: 'Message that will be displayed on users'' first issue'
|
issue-message: 'Message that will be displayed on users first issue'
|
||||||
pr-message: 'Message that will be displayed on users'' first pr'
|
pr-message: 'Message that will be displayed on users first pull request'
|
||||||
|
|||||||
@@ -12,6 +12,9 @@ jobs:
|
|||||||
label:
|
label:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/labeler@v2
|
- uses: actions/labeler@v2
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "Manual workflow",
|
"name": "Manual workflow",
|
||||||
"description": "Simple workflow that is manually triggered.",
|
"description": "Simple workflow that is manually triggered.",
|
||||||
"iconName": "blank",
|
"iconName": "octicon person",
|
||||||
"categories": ["Automation"]
|
"categories": ["Automation"]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,15 +2,18 @@ name: Mark stale issues and pull requests
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "30 1 * * *"
|
- cron: $cron-daily
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
stale:
|
stale:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
issues: write
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/stale@v1
|
- uses: actions/stale@v3
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
stale-issue-message: 'Stale issue message'
|
stale-issue-message: 'Stale issue message'
|
||||||
|
|||||||
+24
@@ -0,0 +1,24 @@
|
|||||||
|
name: Ada (GNAT)
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ $default-branch ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ $default-branch ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Set up GNAT toolchain
|
||||||
|
run: >
|
||||||
|
sudo apt-get update &&
|
||||||
|
sudo apt-get install gnat gprbuild
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: gprbuild -j0 -p
|
||||||
@@ -0,0 +1,119 @@
|
|||||||
|
# This workflow will build and push a new container image to Alibaba Cloud Container Registry (ACR),
|
||||||
|
# and then will deploy it to Alibaba Cloud Container Service for Kubernetes (ACK), when a release is created.
|
||||||
|
#
|
||||||
|
# To use this workflow, you will need to complete the following set-up steps:
|
||||||
|
#
|
||||||
|
# 1. Create an ACR repository to store your container images.
|
||||||
|
# You can use ACR EE instance for more security and better performance.
|
||||||
|
# For instructions see https://www.alibabacloud.com/help/doc-detail/142168.htm
|
||||||
|
#
|
||||||
|
# 2. Create an ACK cluster to run your containerized application.
|
||||||
|
# You can use ACK Pro cluster for more security and better performance.
|
||||||
|
# For instructions see https://www.alibabacloud.com/help/doc-detail/95108.htm
|
||||||
|
#
|
||||||
|
# 3. Store your AccessKey pair in GitHub Actions secrets named `ACCESS_KEY_ID` and `ACCESS_KEY_SECRET`.
|
||||||
|
# For instructions on setting up secrets see: https://developer.github.com/actions/managing-workflows/storing-secrets/
|
||||||
|
#
|
||||||
|
# 4. Change the values for the REGION_ID, REGISTRY, NAMESPACE, IMAGE, ACK_CLUSTER_ID, and ACK_DEPLOYMENT_NAME.
|
||||||
|
#
|
||||||
|
|
||||||
|
name: Build and Deploy to ACK
|
||||||
|
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [created]
|
||||||
|
|
||||||
|
# Environment variables available to all jobs and steps in this workflow.
|
||||||
|
env:
|
||||||
|
REGION_ID: cn-hangzhou
|
||||||
|
REGISTRY: registry.cn-hangzhou.aliyuncs.com
|
||||||
|
NAMESPACE: namespace
|
||||||
|
IMAGE: repo
|
||||||
|
TAG: ${{ github.sha }}
|
||||||
|
ACK_CLUSTER_ID: clusterID
|
||||||
|
ACK_DEPLOYMENT_NAME: nginx-deployment
|
||||||
|
|
||||||
|
ACR_EE_REGISTRY: myregistry.cn-hangzhou.cr.aliyuncs.com
|
||||||
|
ACR_EE_INSTANCE_ID: instanceID
|
||||||
|
ACR_EE_NAMESPACE: namespace
|
||||||
|
ACR_EE_IMAGE: repo
|
||||||
|
ACR_EE_TAG: ${{ github.sha }}
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
environment: production
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
# 1.1 Login to ACR
|
||||||
|
- name: Login to ACR with the AccessKey pair
|
||||||
|
uses: aliyun/acr-login@v1
|
||||||
|
with:
|
||||||
|
region-id: "${{ env.REGION_ID }}"
|
||||||
|
access-key-id: "${{ secrets.ACCESS_KEY_ID }}"
|
||||||
|
access-key-secret: "${{ secrets.ACCESS_KEY_SECRET }}"
|
||||||
|
|
||||||
|
# 1.2 Buid and push image to ACR
|
||||||
|
- name: Build and push image to ACR
|
||||||
|
run: |
|
||||||
|
docker build --tag "$REGISTRY/$NAMESPACE/$IMAGE:$TAG" .
|
||||||
|
docker push "$REGISTRY/$NAMESPACE/$IMAGE:$TAG"
|
||||||
|
|
||||||
|
# 1.3 Scan image in ACR
|
||||||
|
- name: Scan image in ACR
|
||||||
|
uses: aliyun/acr-scan@v1
|
||||||
|
with:
|
||||||
|
region-id: "${{ env.REGION_ID }}"
|
||||||
|
access-key-id: "${{ secrets.ACCESS_KEY_ID }}"
|
||||||
|
access-key-secret: "${{ secrets.ACCESS_KEY_SECRET }}"
|
||||||
|
repository: "${{ env.NAMESPACE }}/${{ env.IMAGE }}"
|
||||||
|
tag: "${{ env.TAG }}"
|
||||||
|
|
||||||
|
# 2.1 (Optional) Login to ACR EE
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Login to ACR EE with the AccessKey pair
|
||||||
|
uses: aliyun/acr-login@v1
|
||||||
|
with:
|
||||||
|
login-server: "https://${{ env.ACR_EE_REGISTRY }}"
|
||||||
|
region-id: "${{ env.REGION_ID }}"
|
||||||
|
access-key-id: "${{ secrets.ACCESS_KEY_ID }}"
|
||||||
|
access-key-secret: "${{ secrets.ACCESS_KEY_SECRET }}"
|
||||||
|
instance-id: "${{ env.ACR_EE_INSTANCE_ID }}"
|
||||||
|
|
||||||
|
# 2.2 (Optional) Build and push image ACR EE
|
||||||
|
- name: Build and push image to ACR EE
|
||||||
|
run: |
|
||||||
|
docker build -t "$ACR_EE_REGISTRY/$ACR_EE_NAMESPACE/$ACR_EE_IMAGE:$TAG" .
|
||||||
|
docker push "$ACR_EE_REGISTRY/$ACR_EE_NAMESPACE/$ACR_EE_IMAGE:$TAG"
|
||||||
|
# 2.3 (Optional) Scan image in ACR EE
|
||||||
|
- name: Scan image in ACR EE
|
||||||
|
uses: aliyun/acr-scan@v1
|
||||||
|
with:
|
||||||
|
region-id: "${{ env.REGION_ID }}"
|
||||||
|
access-key-id: "${{ secrets.ACCESS_KEY_ID }}"
|
||||||
|
access-key-secret: "${{ secrets.ACCESS_KEY_SECRET }}"
|
||||||
|
instance-id: "${{ env.ACR_EE_INSTANCE_ID }}"
|
||||||
|
repository: "${{ env.ACR_EE_NAMESPACE}}/${{ env.ACR_EE_IMAGE }}"
|
||||||
|
tag: "${{ env.ACR_EE_TAG }}"
|
||||||
|
|
||||||
|
# 3.1 Set ACK context
|
||||||
|
- name: Set K8s context
|
||||||
|
uses: aliyun/ack-set-context@v1
|
||||||
|
with:
|
||||||
|
access-key-id: "${{ secrets.ACCESS_KEY_ID }}"
|
||||||
|
access-key-secret: "${{ secrets.ACCESS_KEY_SECRET }}"
|
||||||
|
cluster-id: "${{ env.ACK_CLUSTER_ID }}"
|
||||||
|
|
||||||
|
# 3.2 Deploy the image to the ACK cluster
|
||||||
|
- name: Set up Kustomize
|
||||||
|
run: |-
|
||||||
|
curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash /dev/stdin 3.8.6
|
||||||
|
- name: Deploy
|
||||||
|
run: |-
|
||||||
|
./kustomize edit set image REGISTRY/NAMESPACE/IMAGE:TAG=$REGISTRY/$NAMESPACE/$IMAGE:$TAG
|
||||||
|
./kustomize build . | kubectl apply -f -
|
||||||
|
kubectl rollout status deployment/$ACK_DEPLOYMENT_NAME
|
||||||
|
kubectl get services -o wide
|
||||||
+8
-3
@@ -13,9 +13,14 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: set up JDK 1.8
|
- name: set up JDK 11
|
||||||
uses: actions/setup-java@v1
|
uses: actions/setup-java@v2
|
||||||
with:
|
with:
|
||||||
java-version: 1.8
|
java-version: '11'
|
||||||
|
distribution: 'adopt'
|
||||||
|
cache: gradle
|
||||||
|
|
||||||
|
- name: Grant execute permission for gradlew
|
||||||
|
run: chmod +x gradlew
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
run: ./gradlew build
|
run: ./gradlew build
|
||||||
|
|||||||
+4
-3
@@ -16,9 +16,10 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Set up JDK 1.8
|
- name: Set up JDK 11
|
||||||
uses: actions/setup-java@v1
|
uses: actions/setup-java@v2
|
||||||
with:
|
with:
|
||||||
java-version: 1.8
|
java-version: '11'
|
||||||
|
distribution: 'adopt'
|
||||||
- name: Build with Ant
|
- name: Build with Ant
|
||||||
run: ant -noinput -buildfile build.xml
|
run: ant -noinput -buildfile build.xml
|
||||||
|
|||||||
@@ -33,6 +33,7 @@ jobs:
|
|||||||
deploy:
|
deploy:
|
||||||
name: Deploy
|
name: Deploy
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
environment: production
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|||||||
+7
-3
@@ -5,10 +5,13 @@
|
|||||||
#
|
#
|
||||||
# To configure this workflow:
|
# To configure this workflow:
|
||||||
#
|
#
|
||||||
# 1. Set up a secret in your repository named AZURE_WEBAPP_PUBLISH_PROFILE with the value of your Azure publish profile.
|
# 1. For Linux apps, add an app setting called WEBSITE_WEBDEPLOY_USE_SCM and set it to true in your app **before downloading the file**.
|
||||||
|
# For more instructions see: https://docs.microsoft.com/azure/app-service/configure-common#configure-app-settings
|
||||||
|
#
|
||||||
|
# 2. Set up a secret in your repository named AZURE_WEBAPP_PUBLISH_PROFILE with the value of your Azure publish profile.
|
||||||
# For instructions on obtaining the publish profile see: https://docs.microsoft.com/azure/app-service/deploy-github-actions#configure-the-github-secret
|
# For instructions on obtaining the publish profile see: https://docs.microsoft.com/azure/app-service/deploy-github-actions#configure-the-github-secret
|
||||||
#
|
#
|
||||||
# 2. Change the values for the AZURE_WEBAPP_NAME, AZURE_WEBAPP_PACKAGE_PATH and NODE_VERSION environment variables (below).
|
# 3. Change the values for the AZURE_WEBAPP_NAME, AZURE_WEBAPP_PACKAGE_PATH and NODE_VERSION environment variables (below).
|
||||||
#
|
#
|
||||||
# For more information on GitHub Actions for Azure, refer to https://github.com/Azure/Actions
|
# For more information on GitHub Actions for Azure, refer to https://github.com/Azure/Actions
|
||||||
# For more samples to get started with GitHub Action workflows to deploy to Azure, refer to https://github.com/Azure/actions-workflow-samples
|
# For more samples to get started with GitHub Action workflows to deploy to Azure, refer to https://github.com/Azure/actions-workflow-samples
|
||||||
@@ -25,10 +28,11 @@ jobs:
|
|||||||
build-and-deploy:
|
build-and-deploy:
|
||||||
name: Build and Deploy
|
name: Build and Deploy
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
environment: production
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Use Node.js ${{ env.NODE_VERSION }}
|
- name: Use Node.js ${{ env.NODE_VERSION }}
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: ${{ env.NODE_VERSION }}
|
node-version: ${{ env.NODE_VERSION }}
|
||||||
- name: npm install, build, and test
|
- name: npm install, build, and test
|
||||||
|
|||||||
+15
-12
@@ -2,14 +2,17 @@
|
|||||||
|
|
||||||
name: CI
|
name: CI
|
||||||
|
|
||||||
# Controls when the action will run. Triggers the workflow on push or pull request
|
# Controls when the workflow will run
|
||||||
# events but only for the $default-branch branch
|
|
||||||
on:
|
on:
|
||||||
|
# Triggers the workflow on push or pull request events but only for the $default-branch branch
|
||||||
push:
|
push:
|
||||||
branches: [ $default-branch ]
|
branches: [ $default-branch ]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ $default-branch ]
|
branches: [ $default-branch ]
|
||||||
|
|
||||||
|
# Allows you to run this workflow manually from the Actions tab
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||||
jobs:
|
jobs:
|
||||||
# This workflow contains a single job called "build"
|
# This workflow contains a single job called "build"
|
||||||
@@ -19,15 +22,15 @@ jobs:
|
|||||||
|
|
||||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||||
steps:
|
steps:
|
||||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
# Runs a single command using the runners shell
|
# Runs a single command using the runners shell
|
||||||
- name: Run a one-line script
|
- name: Run a one-line script
|
||||||
run: echo Hello, world!
|
run: echo Hello, world!
|
||||||
|
|
||||||
# Runs a set of commands using the runners shell
|
# Runs a set of commands using the runners shell
|
||||||
- name: Run a multi-line script
|
- name: Run a multi-line script
|
||||||
run: |
|
run: |
|
||||||
echo Add other actions to build,
|
echo Add other actions to build,
|
||||||
echo test, and deploy your project.
|
echo test, and deploy your project.
|
||||||
|
|||||||
@@ -0,0 +1,38 @@
|
|||||||
|
name: CMake
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ $default-branch ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ $default-branch ]
|
||||||
|
|
||||||
|
env:
|
||||||
|
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
|
||||||
|
BUILD_TYPE: Release
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
# The CMake configure and build commands are platform agnostic and should work equally
|
||||||
|
# well on Windows or Mac. You can convert this to a matrix build if you need
|
||||||
|
# cross-platform coverage.
|
||||||
|
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Configure CMake
|
||||||
|
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
|
||||||
|
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
|
||||||
|
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
# Build your program with the given configuration
|
||||||
|
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
working-directory: ${{github.workspace}}/build
|
||||||
|
# Execute tests defined by the CMake configuration.
|
||||||
|
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
|
||||||
|
run: ctest -C ${{env.BUILD_TYPE}}
|
||||||
|
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
# This workflow uses actions that are not certified by GitHub.
|
||||||
|
# They are provided by a third-party and are governed by
|
||||||
|
# separate terms of service, privacy policy, and support
|
||||||
|
# documentation.
|
||||||
|
name: D
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ $default-branch ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ $default-branch ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: dlang-community/setup-dlang@4c99aa991ce7d19dd3064de0a4f2f6b2f152e2d7
|
||||||
|
|
||||||
|
- name: 'Build & Test'
|
||||||
|
run: |
|
||||||
|
# Build the project, with its main file included, without unittests
|
||||||
|
dub build --compiler=$DC
|
||||||
|
# Build and run tests, as defined by `unittest` configuration
|
||||||
|
# In this mode, `mainSourceFile` is excluded and `version (unittest)` are included
|
||||||
|
# See https://dub.pm/package-format-json.html#configurations
|
||||||
|
dub test --compiler=$DC
|
||||||
+30
-10
@@ -1,4 +1,9 @@
|
|||||||
name: Dart CI
|
# This workflow uses actions that are not certified by GitHub.
|
||||||
|
# They are provided by a third-party and are governed by
|
||||||
|
# separate terms of service, privacy policy, and support
|
||||||
|
# documentation.
|
||||||
|
|
||||||
|
name: Dart
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -8,15 +13,30 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
container:
|
|
||||||
image: google/dart:latest
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install dependencies
|
|
||||||
run: pub get
|
# Note: This workflow uses the latest stable version of the Dart SDK.
|
||||||
- name: Run tests
|
# You can specify other versions if desired, see documentation here:
|
||||||
run: pub run test
|
# https://github.com/dart-lang/setup-dart/blob/main/README.md
|
||||||
|
# - uses: dart-lang/setup-dart@v1
|
||||||
|
- uses: dart-lang/setup-dart@9a04e6d73cca37bd455e0608d7e5092f881fd603
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: dart pub get
|
||||||
|
|
||||||
|
# Uncomment this step to verify the use of 'dart format' on each commit.
|
||||||
|
# - name: Verify formatting
|
||||||
|
# run: dart format --output=none --set-exit-if-changed .
|
||||||
|
|
||||||
|
# Consider passing '--fatal-infos' for slightly stricter analysis.
|
||||||
|
- name: Analyze project source
|
||||||
|
run: dart analyze
|
||||||
|
|
||||||
|
# Your project will need to have tests in test/ and a dependency on
|
||||||
|
# package:test for this step to succeed. Note that Flutter projects will
|
||||||
|
# want to change this to 'flutter test'.
|
||||||
|
- name: Run tests
|
||||||
|
run: dart test
|
||||||
|
|||||||
+39
@@ -0,0 +1,39 @@
|
|||||||
|
# This workflow uses actions that are not certified by GitHub.
|
||||||
|
# They are provided by a third-party and are governed by
|
||||||
|
# separate terms of service, privacy policy, and support
|
||||||
|
# documentation.
|
||||||
|
|
||||||
|
# This workflow will install Deno then run Deno lint and test.
|
||||||
|
# For more information see: https://github.com/denoland/setup-deno
|
||||||
|
|
||||||
|
name: Deno
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [$default-branch]
|
||||||
|
pull_request:
|
||||||
|
branches: [$default-branch]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Setup repo
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Setup Deno
|
||||||
|
# uses: denoland/setup-deno@v1
|
||||||
|
uses: denoland/setup-deno@004814556e37c54a2f6e31384c9e18e9833173669
|
||||||
|
with:
|
||||||
|
deno-version: v1.x
|
||||||
|
|
||||||
|
# Uncomment this step to verify the use of 'deno fmt' on each commit.
|
||||||
|
# - name: Verify formatting
|
||||||
|
# run: deno fmt --check
|
||||||
|
|
||||||
|
- name: Run linter
|
||||||
|
run: deno lint
|
||||||
|
|
||||||
|
- name: Run tests
|
||||||
|
run: deno test -A --unstable
|
||||||
+2
-2
@@ -13,12 +13,12 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
max-parallel: 4
|
max-parallel: 4
|
||||||
matrix:
|
matrix:
|
||||||
python-version: [3.6, 3.7, 3.8]
|
python-version: [3.7, 3.8, 3.9]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v1
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
|
|||||||
+47
-60
@@ -1,76 +1,63 @@
|
|||||||
name: Docker
|
name: Docker
|
||||||
|
|
||||||
|
# This workflow uses actions that are not certified by GitHub.
|
||||||
|
# They are provided by a third-party and are governed by
|
||||||
|
# separate terms of service, privacy policy, and support
|
||||||
|
# documentation.
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: $cron-daily
|
||||||
push:
|
push:
|
||||||
# Publish `$default-branch` as Docker `latest` image.
|
branches: [ $default-branch ]
|
||||||
branches:
|
# Publish semver tags as releases.
|
||||||
- $default-branch
|
tags: [ 'v*.*.*' ]
|
||||||
|
|
||||||
# Publish `v1.2.3` tags as releases.
|
|
||||||
tags:
|
|
||||||
- v*
|
|
||||||
|
|
||||||
# Run tests for any PRs.
|
|
||||||
pull_request:
|
pull_request:
|
||||||
|
branches: [ $default-branch ]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
# TODO: Change variable to your image's name.
|
# Use docker.io for Docker Hub if empty
|
||||||
IMAGE_NAME: image
|
REGISTRY: ghcr.io
|
||||||
|
# github.repository as <account>/<repo>
|
||||||
|
IMAGE_NAME: ${{ github.repository }}
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# Run tests.
|
build:
|
||||||
# See also https://docs.docker.com/docker-hub/builds/automated-testing/
|
|
||||||
test:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Run tests
|
|
||||||
run: |
|
|
||||||
if [ -f docker-compose.test.yml ]; then
|
|
||||||
docker-compose --file docker-compose.test.yml build
|
|
||||||
docker-compose --file docker-compose.test.yml run sut
|
|
||||||
else
|
|
||||||
docker build . --file Dockerfile
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Push image to GitHub Packages.
|
|
||||||
# See also https://docs.docker.com/docker-hub/builds/
|
|
||||||
push:
|
|
||||||
# Ensure test job passes before pushing image.
|
|
||||||
needs: test
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.event_name == 'push'
|
permissions:
|
||||||
|
contents: read
|
||||||
|
packages: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Build image
|
# Login against a Docker registry except on PR
|
||||||
run: docker build . --file Dockerfile --tag $IMAGE_NAME
|
# https://github.com/docker/login-action
|
||||||
|
- name: Log into registry ${{ env.REGISTRY }}
|
||||||
|
if: github.event_name != 'pull_request'
|
||||||
|
uses: docker/login-action@28218f9b04b4f3f62068d7b6ce6ca5b26e35336c
|
||||||
|
with:
|
||||||
|
registry: ${{ env.REGISTRY }}
|
||||||
|
username: ${{ github.actor }}
|
||||||
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Log into registry
|
# Extract metadata (tags, labels) for Docker
|
||||||
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin
|
# https://github.com/docker/metadata-action
|
||||||
|
- name: Extract Docker metadata
|
||||||
|
id: meta
|
||||||
|
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
|
||||||
|
with:
|
||||||
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||||
|
|
||||||
- name: Push image
|
# Build and push Docker image with Buildx (don't push on PR)
|
||||||
run: |
|
# https://github.com/docker/build-push-action
|
||||||
IMAGE_ID=docker.pkg.github.com/${{ github.repository }}/$IMAGE_NAME
|
- name: Build and push Docker image
|
||||||
|
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
|
||||||
# Change all uppercase to lowercase
|
with:
|
||||||
IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')
|
context: .
|
||||||
|
push: ${{ github.event_name != 'pull_request' }}
|
||||||
# Strip git ref prefix from version
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
|
||||||
# Strip "v" prefix from tag name
|
|
||||||
[[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')
|
|
||||||
|
|
||||||
# Use Docker `latest` tag convention
|
|
||||||
[ "$VERSION" == "$default-branch" ] && VERSION=latest
|
|
||||||
|
|
||||||
echo IMAGE_ID=$IMAGE_ID
|
|
||||||
echo VERSION=$VERSION
|
|
||||||
|
|
||||||
docker tag $IMAGE_NAME $IMAGE_ID:$VERSION
|
|
||||||
docker push $IMAGE_ID:$VERSION
|
|
||||||
|
|||||||
@@ -71,11 +71,11 @@ jobs:
|
|||||||
- name: Install .NET Core
|
- name: Install .NET Core
|
||||||
uses: actions/setup-dotnet@v1
|
uses: actions/setup-dotnet@v1
|
||||||
with:
|
with:
|
||||||
dotnet-version: 3.1.101
|
dotnet-version: 5.0.x
|
||||||
|
|
||||||
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
|
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
|
||||||
- name: Setup MSBuild.exe
|
- name: Setup MSBuild.exe
|
||||||
uses: microsoft/setup-msbuild@2008f912f56e61277eefaac6d1888b750582aa16
|
uses: microsoft/setup-msbuild@v1.0.2
|
||||||
|
|
||||||
# Execute all unit tests in the solution
|
# Execute all unit tests in the solution
|
||||||
- name: Execute unit tests
|
- name: Execute unit tests
|
||||||
@@ -109,7 +109,7 @@ jobs:
|
|||||||
|
|
||||||
# Upload the MSIX package: https://github.com/marketplace/actions/upload-artifact
|
# Upload the MSIX package: https://github.com/marketplace/actions/upload-artifact
|
||||||
- name: Upload build artifacts
|
- name: Upload build artifacts
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: MSIX Package
|
name: MSIX Package
|
||||||
path: ${{ env.Wap_Project_Directory }}\AppPackages
|
path: ${{ env.Wap_Project_Directory }}\AppPackages
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
name: .NET Core
|
name: .NET
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -13,13 +13,13 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Setup .NET Core
|
- name: Setup .NET
|
||||||
uses: actions/setup-dotnet@v1
|
uses: actions/setup-dotnet@v1
|
||||||
with:
|
with:
|
||||||
dotnet-version: 3.1.101
|
dotnet-version: 5.0.x
|
||||||
- name: Install dependencies
|
- name: Restore dependencies
|
||||||
run: dotnet restore
|
run: dotnet restore
|
||||||
- name: Build
|
- name: Build
|
||||||
run: dotnet build --configuration Release --no-restore
|
run: dotnet build --no-restore
|
||||||
- name: Test
|
- name: Test
|
||||||
run: dotnet test --no-restore --verbosity normal
|
run: dotnet test --no-build --verbosity normal
|
||||||
+1
-1
@@ -15,7 +15,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Set up Elixir
|
- name: Set up Elixir
|
||||||
uses: actions/setup-elixir@v1
|
uses: erlef/setup-elixir@885971a72ed1f9240973bd92ab57af8c1aa68f24
|
||||||
with:
|
with:
|
||||||
elixir-version: '1.10.3' # Define the elixir version [required]
|
elixir-version: '1.10.3' # Define the elixir version [required]
|
||||||
otp-version: '22.3' # Define the OTP version [required]
|
otp-version: '22.3' # Define the OTP version [required]
|
||||||
|
|||||||
+8
-5
@@ -10,25 +10,28 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
name: Build + Publish
|
name: Build + Publish
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
packages: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Set up Ruby 2.6
|
- name: Set up Ruby 2.6
|
||||||
uses: actions/setup-ruby@v1
|
uses: actions/setup-ruby@v1
|
||||||
with:
|
with:
|
||||||
version: 2.6.x
|
ruby-version: 2.6.x
|
||||||
|
|
||||||
- name: Publish to GPR
|
- name: Publish to GPR
|
||||||
run: |
|
run: |
|
||||||
mkdir -p $HOME/.gem
|
mkdir -p $HOME/.gem
|
||||||
touch $HOME/.gem/credentials
|
touch $HOME/.gem/credentials
|
||||||
chmod 0600 $HOME/.gem/credentials
|
chmod 0600 $HOME/.gem/credentials
|
||||||
printf -- "---\n:github: Bearer ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
printf -- "---\n:github: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
||||||
gem build *.gemspec
|
gem build *.gemspec
|
||||||
gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem
|
gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem
|
||||||
env:
|
env:
|
||||||
GEM_HOST_API_KEY: ${{secrets.GPR_AUTH_TOKEN}}
|
GEM_HOST_API_KEY: "Bearer ${{secrets.GITHUB_TOKEN}}"
|
||||||
OWNER: username
|
OWNER: ${{ github.repository_owner }}
|
||||||
|
|
||||||
- name: Publish to RubyGems
|
- name: Publish to RubyGems
|
||||||
run: |
|
run: |
|
||||||
@@ -39,4 +42,4 @@ jobs:
|
|||||||
gem build *.gemspec
|
gem build *.gemspec
|
||||||
gem push *.gem
|
gem push *.gem
|
||||||
env:
|
env:
|
||||||
GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_AUTH_TOKEN}}
|
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
|
||||||
|
|||||||
@@ -9,29 +9,17 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
name: Build
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Set up Go 1.x
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: ^1.13
|
go-version: 1.17
|
||||||
id: go
|
|
||||||
|
|
||||||
- name: Check out code into the Go module directory
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Get dependencies
|
|
||||||
run: |
|
|
||||||
go get -v -t -d ./...
|
|
||||||
if [ -f Gopkg.toml ]; then
|
|
||||||
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
|
|
||||||
dep ensure
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: go build -v .
|
run: go build -v ./...
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: go test -v .
|
run: go test -v ./...
|
||||||
|
|||||||
+36
-31
@@ -4,9 +4,11 @@
|
|||||||
#
|
#
|
||||||
# 1. Ensure that your repository contains the necessary configuration for your Google Kubernetes Engine cluster, including deployment.yml, kustomization.yml, service.yml, etc.
|
# 1. Ensure that your repository contains the necessary configuration for your Google Kubernetes Engine cluster, including deployment.yml, kustomization.yml, service.yml, etc.
|
||||||
#
|
#
|
||||||
# 2. Set up secrets in your workspace: GKE_PROJECT with the name of the project, GKE_EMAIL with the service account email, GKE_KEY with the Base64 encoded JSON service account key (https://github.com/GoogleCloudPlatform/github-actions/tree/docs/service-account-key/setup-gcloud#inputs).
|
# 2. Set up secrets in your workspace: GKE_PROJECT with the name of the project and GKE_SA_KEY with the Base64 encoded JSON service account key (https://github.com/GoogleCloudPlatform/github-actions/tree/docs/service-account-key/setup-gcloud#inputs).
|
||||||
#
|
#
|
||||||
# 3. Change the values for the GKE_ZONE, GKE_CLUSTER, IMAGE, REGISTRY_HOSTNAME and DEPLOYMENT_NAME environment variables (below).
|
# 3. Change the values for the GKE_ZONE, GKE_CLUSTER, IMAGE, and DEPLOYMENT_NAME environment variables (below).
|
||||||
|
#
|
||||||
|
# For more support on how to run the workflow, please visit https://github.com/google-github-actions/setup-gcloud/tree/master/example-workflows/gke
|
||||||
|
|
||||||
name: Build and Deploy to GKE
|
name: Build and Deploy to GKE
|
||||||
|
|
||||||
@@ -14,62 +16,65 @@ on:
|
|||||||
release:
|
release:
|
||||||
types: [created]
|
types: [created]
|
||||||
|
|
||||||
# Environment variables available to all jobs and steps in this workflow
|
|
||||||
env:
|
env:
|
||||||
GKE_PROJECT: ${{ secrets.GKE_PROJECT }}
|
PROJECT_ID: ${{ secrets.GKE_PROJECT }}
|
||||||
GKE_EMAIL: ${{ secrets.GKE_EMAIL }}
|
GKE_CLUSTER: cluster-1 # TODO: update to cluster name
|
||||||
GITHUB_SHA: ${{ github.sha }}
|
GKE_ZONE: us-central1-c # TODO: update to cluster zone
|
||||||
GKE_ZONE: us-west1-a
|
DEPLOYMENT_NAME: gke-test # TODO: update to deployment name
|
||||||
GKE_CLUSTER: example-gke-cluster
|
IMAGE: static-site
|
||||||
IMAGE: gke-test
|
|
||||||
REGISTRY_HOSTNAME: gcr.io
|
|
||||||
DEPLOYMENT_NAME: gke-test
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
setup-build-publish-deploy:
|
setup-build-publish-deploy:
|
||||||
name: Setup, Build, Publish, and Deploy
|
name: Setup, Build, Publish, and Deploy
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
environment: production
|
||||||
|
|
||||||
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
# Setup gcloud CLI
|
# Setup gcloud CLI
|
||||||
- uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
|
- uses: google-github-actions/setup-gcloud@v0.2.0
|
||||||
with:
|
with:
|
||||||
version: '270.0.0'
|
service_account_key: ${{ secrets.GKE_SA_KEY }}
|
||||||
service_account_email: ${{ secrets.GKE_EMAIL }}
|
project_id: ${{ secrets.GKE_PROJECT }}
|
||||||
service_account_key: ${{ secrets.GKE_KEY }}
|
|
||||||
|
|
||||||
# Configure docker to use the gcloud command-line tool as a credential helper
|
# Configure Docker to use the gcloud command-line tool as a credential
|
||||||
- run: |
|
# helper for authentication
|
||||||
# Set up docker to authenticate
|
- run: |-
|
||||||
# via gcloud command-line tool.
|
gcloud --quiet auth configure-docker
|
||||||
gcloud auth configure-docker
|
|
||||||
|
# Get the GKE credentials so we can deploy to the cluster
|
||||||
|
- uses: google-github-actions/[email protected]
|
||||||
|
with:
|
||||||
|
cluster_name: ${{ env.GKE_CLUSTER }}
|
||||||
|
location: ${{ env.GKE_ZONE }}
|
||||||
|
credentials: ${{ secrets.GKE_SA_KEY }}
|
||||||
|
|
||||||
# Build the Docker image
|
# Build the Docker image
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |-
|
||||||
docker build -t "$REGISTRY_HOSTNAME"/"$GKE_PROJECT"/"$IMAGE":"$GITHUB_SHA" \
|
docker build \
|
||||||
|
--tag "gcr.io/$PROJECT_ID/$IMAGE:$GITHUB_SHA" \
|
||||||
--build-arg GITHUB_SHA="$GITHUB_SHA" \
|
--build-arg GITHUB_SHA="$GITHUB_SHA" \
|
||||||
--build-arg GITHUB_REF="$GITHUB_REF" .
|
--build-arg GITHUB_REF="$GITHUB_REF" \
|
||||||
|
.
|
||||||
|
|
||||||
# Push the Docker image to Google Container Registry
|
# Push the Docker image to Google Container Registry
|
||||||
- name: Publish
|
- name: Publish
|
||||||
run: |
|
run: |-
|
||||||
docker push $REGISTRY_HOSTNAME/$GKE_PROJECT/$IMAGE:$GITHUB_SHA
|
docker push "gcr.io/$PROJECT_ID/$IMAGE:$GITHUB_SHA"
|
||||||
|
|
||||||
# Set up kustomize
|
# Set up kustomize
|
||||||
- name: Set up Kustomize
|
- name: Set up Kustomize
|
||||||
run: |
|
run: |-
|
||||||
curl -o kustomize --location https://github.com/kubernetes-sigs/kustomize/releases/download/v3.1.0/kustomize_3.1.0_linux_amd64
|
curl -sfLo kustomize https://github.com/kubernetes-sigs/kustomize/releases/download/v3.1.0/kustomize_3.1.0_linux_amd64
|
||||||
chmod u+x ./kustomize
|
chmod u+x ./kustomize
|
||||||
|
|
||||||
# Deploy the Docker image to the GKE cluster
|
# Deploy the Docker image to the GKE cluster
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
run: |
|
run: |-
|
||||||
gcloud container clusters get-credentials $GKE_CLUSTER --zone $GKE_ZONE --project $GKE_PROJECT
|
./kustomize edit set image gcr.io/PROJECT_ID/IMAGE:TAG=gcr.io/$PROJECT_ID/$IMAGE:$GITHUB_SHA
|
||||||
./kustomize edit set image $REGISTRY_HOSTNAME/$GKE_PROJECT/$IMAGE:${GITHUB_SHA}
|
|
||||||
./kustomize build . | kubectl apply -f -
|
./kustomize build . | kubectl apply -f -
|
||||||
kubectl rollout status deployment/$DEPLOYMENT_NAME
|
kubectl rollout status deployment/$DEPLOYMENT_NAME
|
||||||
kubectl get services -o wide
|
kubectl get services -o wide
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# This workflow will build a package using Gradle and then publish it to GitHub packages when a release is created
|
# This workflow will build a package using Gradle and then publish it to GitHub packages when a release is created
|
||||||
# For more information see: https://github.com/actions/setup-java#publishing-using-gradle
|
# For more information see: https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#Publishing-using-gradle
|
||||||
|
|
||||||
name: Gradle Package
|
name: Gradle Package
|
||||||
|
|
||||||
@@ -11,13 +11,17 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
packages: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Set up JDK 1.8
|
- name: Set up JDK 11
|
||||||
uses: actions/setup-java@v1
|
uses: actions/setup-java@v2
|
||||||
with:
|
with:
|
||||||
java-version: 1.8
|
java-version: '11'
|
||||||
|
distribution: 'adopt'
|
||||||
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
|
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
|
||||||
settings-path: ${{ github.workspace }} # location for the settings.xml file
|
settings-path: ${{ github.workspace }} # location for the settings.xml file
|
||||||
|
|
||||||
|
|||||||
+6
-4
@@ -1,4 +1,4 @@
|
|||||||
# This workflow will build a Java project with Gradle
|
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
|
||||||
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
|
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
|
||||||
|
|
||||||
name: Java CI with Gradle
|
name: Java CI with Gradle
|
||||||
@@ -16,10 +16,12 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Set up JDK 1.8
|
- name: Set up JDK 11
|
||||||
uses: actions/setup-java@v1
|
uses: actions/setup-java@v2
|
||||||
with:
|
with:
|
||||||
java-version: 1.8
|
java-version: '11'
|
||||||
|
distribution: 'adopt'
|
||||||
|
cache: gradle
|
||||||
- name: Grant execute permission for gradlew
|
- name: Grant execute permission for gradlew
|
||||||
run: chmod +x gradlew
|
run: chmod +x gradlew
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
|
|||||||
@@ -0,0 +1,28 @@
|
|||||||
|
name: NodeJS with Grunt
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ $default-branch ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ $default-branch ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [12.x, 14.x, 16.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: |
|
||||||
|
npm install
|
||||||
|
grunt
|
||||||
+28
@@ -0,0 +1,28 @@
|
|||||||
|
name: NodeJS with Gulp
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ $default-branch ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ $default-branch ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [12.x, 14.x, 16.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: |
|
||||||
|
npm install
|
||||||
|
gulp
|
||||||
+2
-2
@@ -15,8 +15,8 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-haskell@v1
|
- uses: actions/setup-haskell@v1
|
||||||
with:
|
with:
|
||||||
ghc-version: '8.8.2'
|
ghc-version: '8.10.3'
|
||||||
cabal-version: '3.0'
|
cabal-version: '3.2'
|
||||||
|
|
||||||
- name: Cache
|
- name: Cache
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ jobs:
|
|||||||
setup-build-publish-deploy:
|
setup-build-publish-deploy:
|
||||||
name: Setup, Build, Publish, and Deploy
|
name: Setup, Build, Publish, and Deploy
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
environment: production
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|||||||
+44
@@ -0,0 +1,44 @@
|
|||||||
|
name: iOS starter workflow
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ $default-branch ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ $default-branch ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Build and Test default scheme using any available iPhone simulator
|
||||||
|
runs-on: macos-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
- name: Set Default Scheme
|
||||||
|
run: |
|
||||||
|
scheme_list=$(xcodebuild -list -json | tr -d "\n")
|
||||||
|
default=$(echo $scheme_list | ruby -e "require 'json'; puts JSON.parse(STDIN.gets)['project']['targets'][0]")
|
||||||
|
echo $default | cat >default
|
||||||
|
echo Using default scheme: $default
|
||||||
|
- name: Build
|
||||||
|
env:
|
||||||
|
scheme: ${{ 'default' }}
|
||||||
|
platform: ${{ 'iOS Simulator' }}
|
||||||
|
run: |
|
||||||
|
# xcrun xctrace returns via stderr, not the expected stdout (see https://developer.apple.com/forums/thread/663959)
|
||||||
|
device=`xcrun xctrace list devices 2>&1 | grep -oE 'iPhone.*?[^\(]+' | head -1 | awk '{$1=$1;print}'`
|
||||||
|
if [ $scheme = default ]; then scheme=$(cat default); fi
|
||||||
|
if [ "`ls -A | grep -i \\.xcworkspace\$`" ]; then filetype_parameter="workspace" && file_to_build="`ls -A | grep -i \\.xcworkspace\$`"; else filetype_parameter="project" && file_to_build="`ls -A | grep -i \\.xcodeproj\$`"; fi
|
||||||
|
file_to_build=`echo $file_to_build | awk '{$1=$1;print}'`
|
||||||
|
xcodebuild build-for-testing -scheme "$scheme" -"$filetype_parameter" "$file_to_build" -destination "platform=$platform,name=$device"
|
||||||
|
- name: Test
|
||||||
|
env:
|
||||||
|
scheme: ${{ 'default' }}
|
||||||
|
platform: ${{ 'iOS Simulator' }}
|
||||||
|
run: |
|
||||||
|
# xcrun xctrace returns via stderr, not the expected stdout (see https://developer.apple.com/forums/thread/663959)
|
||||||
|
device=`xcrun xctrace list devices 2>&1 | grep -oE 'iPhone.*?[^\(]+' | head -1 | awk '{$1=$1;print}'`
|
||||||
|
if [ $scheme = default ]; then scheme=$(cat default); fi
|
||||||
|
if [ "`ls -A | grep -i \\.xcworkspace\$`" ]; then filetype_parameter="workspace" && file_to_build="`ls -A | grep -i \\.xcworkspace\$`"; else filetype_parameter="project" && file_to_build="`ls -A | grep -i \\.xcodeproj\$`"; fi
|
||||||
|
file_to_build=`echo $file_to_build | awk '{$1=$1;print}'`
|
||||||
|
xcodebuild test-without-building -scheme "$scheme" -"$filetype_parameter" "$file_to_build" -destination "platform=$platform,name=$device"
|
||||||
+1
-1
@@ -17,4 +17,4 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
docker run \
|
docker run \
|
||||||
-v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \
|
-v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \
|
||||||
jekyll/builder:latest /bin/bash -c "chmod 777 /srv/jekyll && jekyll build --future"
|
jekyll/builder:latest /bin/bash -c "chmod -R 777 /srv/jekyll && jekyll build --future"
|
||||||
|
|||||||
@@ -12,6 +12,9 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- uses: shivammathur/setup-php@15c43e89cdef867065b0213be354c2841860869e
|
||||||
|
with:
|
||||||
|
php-version: '8.0'
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Copy .env
|
- name: Copy .env
|
||||||
run: php -r "file_exists('.env') || copy('.env.example', '.env');"
|
run: php -r "file_exists('.env') || copy('.env.example', '.env');"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# This workflow will build a package using Maven and then publish it to GitHub packages when a release is created
|
# This workflow will build a package using Maven and then publish it to GitHub packages when a release is created
|
||||||
# For more information see: https://github.com/actions/setup-java#apache-maven-with-a-settings-path
|
# For more information see: https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#apache-maven-with-a-settings-path
|
||||||
|
|
||||||
name: Maven Package
|
name: Maven Package
|
||||||
|
|
||||||
@@ -11,13 +11,17 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
packages: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Set up JDK 1.8
|
- name: Set up JDK 11
|
||||||
uses: actions/setup-java@v1
|
uses: actions/setup-java@v2
|
||||||
with:
|
with:
|
||||||
java-version: 1.8
|
java-version: '11'
|
||||||
|
distribution: 'adopt'
|
||||||
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
|
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
|
||||||
settings-path: ${{ github.workspace }} # location for the settings.xml file
|
settings-path: ${{ github.workspace }} # location for the settings.xml file
|
||||||
|
|
||||||
|
|||||||
+6
-4
@@ -1,4 +1,4 @@
|
|||||||
# This workflow will build a Java project with Maven
|
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
|
||||||
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
|
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
|
||||||
|
|
||||||
name: Java CI with Maven
|
name: Java CI with Maven
|
||||||
@@ -16,9 +16,11 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Set up JDK 1.8
|
- name: Set up JDK 11
|
||||||
uses: actions/setup-java@v1
|
uses: actions/setup-java@v2
|
||||||
with:
|
with:
|
||||||
java-version: 1.8
|
java-version: '11'
|
||||||
|
distribution: 'adopt'
|
||||||
|
cache: maven
|
||||||
- name: Build with Maven
|
- name: Build with Maven
|
||||||
run: mvn -B package --file pom.xml
|
run: mvn -B package --file pom.xml
|
||||||
|
|||||||
@@ -0,0 +1,32 @@
|
|||||||
|
name: MSBuild
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
env:
|
||||||
|
# Path to the solution file relative to the root of the project.
|
||||||
|
SOLUTION_FILE_PATH: .
|
||||||
|
|
||||||
|
# Configuration type to build.
|
||||||
|
# You can convert this to a build matrix if you need coverage of multiple configuration types.
|
||||||
|
# https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
|
||||||
|
BUILD_CONFIGURATION: Release
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: windows-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Add MSBuild to PATH
|
||||||
|
uses: microsoft/[email protected]
|
||||||
|
|
||||||
|
- name: Restore NuGet packages
|
||||||
|
working-directory: ${{env.GITHUB_WORKSPACE}}
|
||||||
|
run: nuget restore ${{env.SOLUTION_FILE_PATH}}
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
working-directory: ${{env.GITHUB_WORKSPACE}}
|
||||||
|
# Add additional options to the MSBuild command line here (like platform or verbosity level).
|
||||||
|
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
|
||||||
|
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}
|
||||||
+5
-3
@@ -1,4 +1,4 @@
|
|||||||
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
|
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
|
||||||
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
|
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
|
||||||
|
|
||||||
name: Node.js CI
|
name: Node.js CI
|
||||||
@@ -16,14 +16,16 @@ jobs:
|
|||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [10.x, 12.x, 14.x]
|
node-version: [12.x, 14.x, 16.x]
|
||||||
|
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
cache: 'npm'
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm run build --if-present
|
- run: npm run build --if-present
|
||||||
- run: npm test
|
- run: npm test
|
||||||
|
|||||||
+10
-7
@@ -12,9 +12,9 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: 12
|
node-version: 14
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm test
|
- run: npm test
|
||||||
|
|
||||||
@@ -23,9 +23,9 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: 12
|
node-version: 14
|
||||||
registry-url: https://registry.npmjs.org/
|
registry-url: https://registry.npmjs.org/
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm publish
|
- run: npm publish
|
||||||
@@ -35,12 +35,15 @@ jobs:
|
|||||||
publish-gpr:
|
publish-gpr:
|
||||||
needs: build
|
needs: build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
packages: write
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: 12
|
node-version: 14
|
||||||
registry-url: https://npm.pkg.github.com/
|
registry-url: $registry-url(npm)
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm publish
|
- run: npm publish
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -0,0 +1,180 @@
|
|||||||
|
# This workflow uses actions that are not certified by GitHub.
|
||||||
|
# They are provided by a third-party and are governed by
|
||||||
|
# separate terms of service, privacy policy, and support
|
||||||
|
# documentation.
|
||||||
|
|
||||||
|
### The OpenShift Starter workflow will:
|
||||||
|
# - Checkout your repository
|
||||||
|
# - Perform a Docker build
|
||||||
|
# - Push the built image to an image registry
|
||||||
|
# - Log in to your OpenShift cluster
|
||||||
|
# - Create an OpenShift app from the image and expose it to the internet.
|
||||||
|
|
||||||
|
### Before you begin:
|
||||||
|
# - Have write access to a container image registry such as quay.io or Dockerhub.
|
||||||
|
# - Have access to an OpenShift cluster.
|
||||||
|
# - For instructions to get started with OpenShift see https://www.openshift.com/try
|
||||||
|
# - The project you wish to add this workflow to should have a Dockerfile.
|
||||||
|
# - If you don't have a Dockerfile at the repository root, see the buildah-build step.
|
||||||
|
# - Builds from scratch are also available, but require more configuration.
|
||||||
|
|
||||||
|
### To get the workflow running:
|
||||||
|
# 1. Add this workflow to your repository.
|
||||||
|
# 2. Edit the top-level 'env' section, which contains a list of environment variables that must be configured.
|
||||||
|
# 3. Create the secrets referenced in the 'env' section under your repository Settings.
|
||||||
|
# 4. Edit the 'branches' in the 'on' section to trigger the workflow on a push to your branch.
|
||||||
|
# 5. Commit and push your changes.
|
||||||
|
|
||||||
|
# For a more sophisticated example, see https://github.com/redhat-actions/spring-petclinic/blob/main/.github/workflows/petclinic-sample.yaml
|
||||||
|
# Also see our GitHub organization, https://github.com/redhat-actions/
|
||||||
|
# ▶️ See a video of how to set up this workflow at https://www.youtube.com/watch?v=6hgBO-1pKho
|
||||||
|
|
||||||
|
name: OpenShift
|
||||||
|
|
||||||
|
# ⬇️ Modify the fields marked with ⬇️ to fit your project, and create any secrets that are referenced.
|
||||||
|
# https://docs.github.com/en/free-pro-team@latest/actions/reference/encrypted-secrets
|
||||||
|
env:
|
||||||
|
# ⬇️ EDIT with your registry and registry path.
|
||||||
|
REGISTRY: quay.io/<username>
|
||||||
|
# ⬇️ EDIT with your registry username.
|
||||||
|
REGISTRY_USER: <username>
|
||||||
|
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
|
||||||
|
|
||||||
|
# ⬇️ EDIT to log into your OpenShift cluster and set up the context.
|
||||||
|
# See https://github.com/redhat-actions/oc-login#readme for how to retrieve these values.
|
||||||
|
OPENSHIFT_SERVER: ${{ secrets.OPENSHIFT_SERVER }}
|
||||||
|
OPENSHIFT_TOKEN: ${{ secrets.OPENSHIFT_TOKEN }}
|
||||||
|
|
||||||
|
# ⬇️ EDIT with any additional port your application should expose.
|
||||||
|
# By default, oc new-app action creates a service to the image's lowest numeric exposed port.
|
||||||
|
APP_PORT: ""
|
||||||
|
|
||||||
|
# ⬇️ EDIT if you wish to set the kube context's namespace after login. Leave blank to use the default namespace.
|
||||||
|
OPENSHIFT_NAMESPACE: ""
|
||||||
|
|
||||||
|
# If you wish to manually provide the APP_NAME and TAG, set them here, otherwise they will be auto-detected.
|
||||||
|
APP_NAME: ""
|
||||||
|
TAG: ""
|
||||||
|
|
||||||
|
on:
|
||||||
|
# https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows
|
||||||
|
push:
|
||||||
|
# Edit to the branch(es) you want to build and deploy on each push.
|
||||||
|
branches: [ $default-branch ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
openshift-ci-cd:
|
||||||
|
name: Build and deploy to OpenShift
|
||||||
|
runs-on: ubuntu-18.04
|
||||||
|
environment: production
|
||||||
|
|
||||||
|
outputs:
|
||||||
|
ROUTE: ${{ steps.deploy-and-expose.outputs.route }}
|
||||||
|
SELECTOR: ${{ steps.deploy-and-expose.outputs.selector }}
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Check if secrets exists
|
||||||
|
uses: actions/github-script@v3
|
||||||
|
with:
|
||||||
|
script: |
|
||||||
|
const secrets = {
|
||||||
|
REGISTRY_PASSWORD: `${{ secrets.REGISTRY_PASSWORD }}`,
|
||||||
|
OPENSHIFT_SERVER: `${{ secrets.OPENSHIFT_SERVER }}`,
|
||||||
|
OPENSHIFT_TOKEN: `${{ secrets.OPENSHIFT_TOKEN }}`,
|
||||||
|
};
|
||||||
|
|
||||||
|
const missingSecrets = Object.entries(secrets).filter(([ name, value ]) => {
|
||||||
|
if (value.length === 0) {
|
||||||
|
core.warning(`Secret "${name}" is not set`);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
core.info(`✔️ Secret "${name}" is set`);
|
||||||
|
return false;
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
if (missingSecrets.length > 0) {
|
||||||
|
core.setFailed(`❌ At least one required secret is not set in the repository. \n` +
|
||||||
|
"You can add it using:\n" +
|
||||||
|
"GitHub UI: https://docs.github.com/en/actions/reference/encrypted-secrets#creating-encrypted-secrets-for-a-repository \n" +
|
||||||
|
"GitHub CLI: https://cli.github.com/manual/gh_secret_set \n" +
|
||||||
|
"Also, refer to https://github.com/redhat-actions/oc-login#getting-started-with-the-action-or-see-example");
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
core.info(`✅ All the required secrets are set`);
|
||||||
|
}
|
||||||
|
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Determine app name
|
||||||
|
if: env.APP_NAME == ''
|
||||||
|
run: |
|
||||||
|
echo "APP_NAME=$(basename $PWD)" | tee -a $GITHUB_ENV
|
||||||
|
|
||||||
|
- name: Determine tag
|
||||||
|
if: env.TAG == ''
|
||||||
|
run: |
|
||||||
|
echo "TAG=${GITHUB_SHA::7}" | tee -a $GITHUB_ENV
|
||||||
|
|
||||||
|
# https://github.com/redhat-actions/buildah-build#readme
|
||||||
|
- name: Build from Dockerfile
|
||||||
|
id: image-build
|
||||||
|
uses: redhat-actions/buildah-build@v2
|
||||||
|
with:
|
||||||
|
image: ${{ env.APP_NAME }}
|
||||||
|
tags: ${{ env.TAG }}
|
||||||
|
# If you don't have a dockerfile, see:
|
||||||
|
# https://github.com/redhat-actions/buildah-build#scratch-build-inputs
|
||||||
|
# Otherwise, point this to your Dockerfile relative to the repository root.
|
||||||
|
dockerfiles: |
|
||||||
|
./Dockerfile
|
||||||
|
|
||||||
|
# https://github.com/redhat-actions/push-to-registry#readme
|
||||||
|
- name: Push to registry
|
||||||
|
id: push-to-registry
|
||||||
|
uses: redhat-actions/push-to-registry@v2
|
||||||
|
with:
|
||||||
|
image: ${{ steps.image-build.outputs.image }}
|
||||||
|
tags: ${{ steps.image-build.outputs.tags }}
|
||||||
|
registry: ${{ env.REGISTRY }}
|
||||||
|
username: ${{ env.REGISTRY_USER }}
|
||||||
|
password: ${{ env.REGISTRY_PASSWORD }}
|
||||||
|
|
||||||
|
# The path the image was pushed to is now stored in ${{ steps.push-to-registry.outputs.registry-path }}
|
||||||
|
|
||||||
|
# oc-login works on all platforms, but oc must be installed first.
|
||||||
|
# The GitHub Ubuntu runner already includes oc.
|
||||||
|
# Otherwise, https://github.com/redhat-actions/openshift-tools-installer can be used to install oc,
|
||||||
|
# as well as many other tools.
|
||||||
|
|
||||||
|
# https://github.com/redhat-actions/oc-login#readme
|
||||||
|
- name: Log in to OpenShift
|
||||||
|
uses: redhat-actions/oc-login@v1
|
||||||
|
with:
|
||||||
|
openshift_server_url: ${{ env.OPENSHIFT_SERVER }}
|
||||||
|
openshift_token: ${{ env.OPENSHIFT_TOKEN }}
|
||||||
|
insecure_skip_tls_verify: true
|
||||||
|
namespace: ${{ env.OPENSHIFT_NAMESPACE }}
|
||||||
|
|
||||||
|
# This step should create a deployment, service, and route to run your app and expose it to the internet.
|
||||||
|
# https://github.com/redhat-actions/oc-new-app#readme
|
||||||
|
- name: Create and expose app
|
||||||
|
id: deploy-and-expose
|
||||||
|
uses: redhat-actions/oc-new-app@v1
|
||||||
|
with:
|
||||||
|
app_name: ${{ env.APP_NAME }}
|
||||||
|
image: ${{ steps.push-to-registry.outputs.registry-path }}
|
||||||
|
namespace: ${{ env.OPENSHIFT_NAMESPACE }}
|
||||||
|
port: ${{ env.APP_PORT }}
|
||||||
|
|
||||||
|
- name: View application route
|
||||||
|
run: |
|
||||||
|
[[ -n ${{ env.ROUTE }} ]] || (echo "Determining application route failed in previous step"; exit 1)
|
||||||
|
echo "======================== Your application is available at: ========================"
|
||||||
|
echo ${{ env.ROUTE }}
|
||||||
|
echo "==================================================================================="
|
||||||
|
echo
|
||||||
|
echo "Your app can be taken down with: \"oc delete all --selector='${{ env.SELECTOR }}'\""
|
||||||
|
env:
|
||||||
|
ROUTE: ${{ steps.deploy-and-expose.outputs.route }}
|
||||||
|
SELECTOR: ${{ steps.deploy-and-expose.outputs.selector }}
|
||||||
+2
-3
@@ -15,7 +15,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Validate composer.json and composer.lock
|
- name: Validate composer.json and composer.lock
|
||||||
run: composer validate
|
run: composer validate --strict
|
||||||
|
|
||||||
- name: Cache Composer packages
|
- name: Cache Composer packages
|
||||||
id: composer-cache
|
id: composer-cache
|
||||||
@@ -27,8 +27,7 @@ jobs:
|
|||||||
${{ runner.os }}-php-
|
${{ runner.os }}-php-
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
if: steps.composer-cache.outputs.cache-hit != 'true'
|
run: composer install --prefer-dist --no-progress
|
||||||
run: composer install --prefer-dist --no-progress --no-suggest
|
|
||||||
|
|
||||||
# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
|
# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
|
||||||
# Docs: https://getcomposer.org/doc/articles/scripts.md
|
# Docs: https://getcomposer.org/doc/articles/scripts.md
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"name": "Ada",
|
||||||
|
"description": "Build Ada project with GPRbuild.",
|
||||||
|
"iconName": "ada",
|
||||||
|
"categories": ["Continuous integration", "Ada"]
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"name": "Deploy to Alibaba Cloud ACK",
|
||||||
|
"description": "Deploy a container to Alibaba Cloud Container Service for Kubernetes (ACK).",
|
||||||
|
"creator": "Alibaba Cloud",
|
||||||
|
"iconName": "alibabacloud",
|
||||||
|
"categories": ["Deployment"]
|
||||||
|
}
|
||||||
@@ -2,5 +2,5 @@
|
|||||||
"name": "Android CI",
|
"name": "Android CI",
|
||||||
"description": "Build an Android project with Gradle.",
|
"description": "Build an Android project with Gradle.",
|
||||||
"iconName": "android",
|
"iconName": "android",
|
||||||
"categories": ["Java", "Mobile"]
|
"categories": ["Continuous integration", "Java", "Mobile"]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,5 +2,5 @@
|
|||||||
"name": "Java with Ant",
|
"name": "Java with Ant",
|
||||||
"description": "Build and test a Java project with Apache Ant.",
|
"description": "Build and test a Java project with Apache Ant.",
|
||||||
"iconName": "ant",
|
"iconName": "ant",
|
||||||
"categories": ["Ant", "Java"]
|
"categories": ["Continuous integration", "Ant", "Java"]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,5 +3,5 @@
|
|||||||
"description": "Deploy a container to an Amazon ECS service powered by AWS Fargate or Amazon EC2.",
|
"description": "Deploy a container to an Amazon ECS service powered by AWS Fargate or Amazon EC2.",
|
||||||
"creator": "Amazon Web Services",
|
"creator": "Amazon Web Services",
|
||||||
"iconName": "aws",
|
"iconName": "aws",
|
||||||
"categories": null
|
"categories": ["Deployment"]
|
||||||
}
|
}
|
||||||
@@ -3,5 +3,5 @@
|
|||||||
"description": "Build a Node.js project and deploy it to an Azure Web App.",
|
"description": "Build a Node.js project and deploy it to an Azure Web App.",
|
||||||
"creator": "Microsoft Azure",
|
"creator": "Microsoft Azure",
|
||||||
"iconName": "azure",
|
"iconName": "azure",
|
||||||
"categories": null
|
"categories": ["Deployment"]
|
||||||
}
|
}
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "Simple workflow",
|
"name": "Simple workflow",
|
||||||
"description": "Start with a file with the minimum necessary structure.",
|
"description": "Start with a file with the minimum necessary structure.",
|
||||||
|
"creator": "GitHub",
|
||||||
"iconName": "blank",
|
"iconName": "blank",
|
||||||
"categories": null
|
"categories": null
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,5 +2,5 @@
|
|||||||
"name": "C/C++ with Make",
|
"name": "C/C++ with Make",
|
||||||
"description": "Build and test a C/C++ project using Make.",
|
"description": "Build and test a C/C++ project using Make.",
|
||||||
"iconName": "c-cpp",
|
"iconName": "c-cpp",
|
||||||
"categories": ["C", "C++"]
|
"categories": ["Continuous integration", "C", "C++"]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,5 +2,5 @@
|
|||||||
"name": "Clojure",
|
"name": "Clojure",
|
||||||
"description": "Build and test a Clojure project with Leiningen.",
|
"description": "Build and test a Clojure project with Leiningen.",
|
||||||
"iconName": "clojure",
|
"iconName": "clojure",
|
||||||
"categories": ["Clojure", "Java"]
|
"categories": ["Continuous integration", "Clojure", "Java"]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"name": "CMake based projects",
|
||||||
|
"description": "Build and test a CMake based project.",
|
||||||
|
"iconName": "cmake",
|
||||||
|
"categories": ["Continuous integration", "C", "C++"]
|
||||||
|
}
|
||||||
@@ -2,5 +2,5 @@
|
|||||||
"name": "Crystal",
|
"name": "Crystal",
|
||||||
"description": "Build and test a Crystal project.",
|
"description": "Build and test a Crystal project.",
|
||||||
"iconName": "crystal",
|
"iconName": "crystal",
|
||||||
"categories": ["Crystal"]
|
"categories": ["Continuous integration", "Crystal"]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"name": "D",
|
||||||
|
"description": "Build and test a D project with dub.",
|
||||||
|
"iconName": "d",
|
||||||
|
"categories": ["Continuous integration", "D" ]
|
||||||
|
}
|
||||||
@@ -2,5 +2,5 @@
|
|||||||
"name": "Dart",
|
"name": "Dart",
|
||||||
"description": "Build and test a Dart project with Pub.",
|
"description": "Build and test a Dart project with Pub.",
|
||||||
"iconName": "dart",
|
"iconName": "dart",
|
||||||
"categories": ["Dart"]
|
"categories": ["Continuous integration", "Dart"]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"name": "Deno",
|
||||||
|
"description": "Test your Deno project",
|
||||||
|
"iconName": "deno",
|
||||||
|
"categories": ["Continuous integration", "JavaScript", "TypeScript", "Deno"]
|
||||||
|
}
|
||||||
@@ -2,5 +2,5 @@
|
|||||||
"name": "Django",
|
"name": "Django",
|
||||||
"description": "Build and Test a Django Project",
|
"description": "Build and Test a Django Project",
|
||||||
"iconName": "django",
|
"iconName": "django",
|
||||||
"categories": ["Python", "Django"]
|
"categories": ["Continuous integration", "Python", "Django"]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,5 +2,5 @@
|
|||||||
"name": "Docker image",
|
"name": "Docker image",
|
||||||
"description": "Build a Docker image to deploy, run, or push to a registry.",
|
"description": "Build a Docker image to deploy, run, or push to a registry.",
|
||||||
"iconName": "docker",
|
"iconName": "docker",
|
||||||
"categories": ["Dockerfile"]
|
"categories": ["Continuous integration", "Dockerfile"]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,5 +2,5 @@
|
|||||||
"name": "Publish Docker Container",
|
"name": "Publish Docker Container",
|
||||||
"description": "Build, test and push Docker image to GitHub Packages.",
|
"description": "Build, test and push Docker image to GitHub Packages.",
|
||||||
"iconName": "docker",
|
"iconName": "docker",
|
||||||
"categories": ["Dockerfile"]
|
"categories": ["Continuous integration", "Dockerfile"]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"name": ".NET Core Desktop",
|
|
||||||
"description": "Build, test, sign and publish a desktop application built on .NET Core.",
|
|
||||||
"iconName": "dotnetcore",
|
|
||||||
"categories": ["C#", "Visual Basic", "WPF", ".NET"]
|
|
||||||
}
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"name": ".NET Core",
|
|
||||||
"description": "Build and test a .NET Core or ASP.NET Core project.",
|
|
||||||
"iconName": "dotnetcore",
|
|
||||||
"categories": ["C#", "F#", "Visual Basic", "ASP", "ASP.NET", ".NET"]
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"name": ".NET Desktop",
|
||||||
|
"description": "Build, test, sign and publish a desktop application built on .NET.",
|
||||||
|
"iconName": "dotnet",
|
||||||
|
"categories": ["Continuous integration", "C#", "Visual Basic", "WPF", ".NET"]
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"name": ".NET",
|
||||||
|
"description": "Build and test a .NET or ASP.NET Core project.",
|
||||||
|
"iconName": "dotnet",
|
||||||
|
"categories": ["Continuous integration", "C#", "F#", "Visual Basic", "ASP", "ASP.NET", ".NET"]
|
||||||
|
}
|
||||||
@@ -2,5 +2,5 @@
|
|||||||
"name": "Elixir",
|
"name": "Elixir",
|
||||||
"description": "Build and test an Elixir project with Mix.",
|
"description": "Build and test an Elixir project with Mix.",
|
||||||
"iconName": "elixir",
|
"iconName": "elixir",
|
||||||
"categories": ["Elixir", "Erlang"]
|
"categories": ["Continuous integration", "Elixir", "Erlang"]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,5 +2,5 @@
|
|||||||
"name": "Erlang",
|
"name": "Erlang",
|
||||||
"description": "Build and test an Erlang project with rebar.",
|
"description": "Build and test an Erlang project with rebar.",
|
||||||
"iconName": "erlang",
|
"iconName": "erlang",
|
||||||
"categories": ["Erlang"]
|
"categories": ["Continuous integration", "Erlang"]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,5 +2,5 @@
|
|||||||
"name": "Ruby Gem",
|
"name": "Ruby Gem",
|
||||||
"description": "Pushes a Ruby Gem to RubyGems and GitHub Package Registry.",
|
"description": "Pushes a Ruby Gem to RubyGems and GitHub Package Registry.",
|
||||||
"iconName": "ruby-gems",
|
"iconName": "ruby-gems",
|
||||||
"categories": ["Ruby", "SDLC"]
|
"categories": ["Continuous integration", "Ruby"]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,5 +2,5 @@
|
|||||||
"name": "Go",
|
"name": "Go",
|
||||||
"description": "Build a Go project.",
|
"description": "Build a Go project.",
|
||||||
"iconName": "go",
|
"iconName": "go",
|
||||||
"categories": ["Go"]
|
"categories": ["Continuous integration", "Go"]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,5 +3,5 @@
|
|||||||
"description": "Build a docker container, publish it to Google Container Registry, and deploy to GKE.",
|
"description": "Build a docker container, publish it to Google Container Registry, and deploy to GKE.",
|
||||||
"creator": "Google Cloud",
|
"creator": "Google Cloud",
|
||||||
"iconName": "googlegke",
|
"iconName": "googlegke",
|
||||||
"categories": null
|
"categories": ["Deployment"]
|
||||||
}
|
}
|
||||||
@@ -2,5 +2,5 @@
|
|||||||
"name": "Publish Java Package with Gradle",
|
"name": "Publish Java Package with Gradle",
|
||||||
"description": "Build a Java Package using Gradle and publish to GitHub Packages.",
|
"description": "Build a Java Package using Gradle and publish to GitHub Packages.",
|
||||||
"iconName": "gradle",
|
"iconName": "gradle",
|
||||||
"categories": ["Java", "Gradle"]
|
"categories": ["Continuous integration", "Java", "Gradle"]
|
||||||
}
|
}
|
||||||
@@ -2,5 +2,5 @@
|
|||||||
"name": "Java with Gradle",
|
"name": "Java with Gradle",
|
||||||
"description": "Build and test a Java project using a Gradle wrapper script.",
|
"description": "Build and test a Java project using a Gradle wrapper script.",
|
||||||
"iconName": "gradle",
|
"iconName": "gradle",
|
||||||
"categories": ["Java", "Gradle"]
|
"categories": ["Continuous integration", "Java", "Gradle"]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"name": "Grunt",
|
||||||
|
"description": "Build a NodeJS project with npm and grunt.",
|
||||||
|
"iconName": "grunt",
|
||||||
|
"categories": ["Continuous integration", "JavaScript", "TypeScript", "npm", "Grunt"]
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"name": "Gulp",
|
||||||
|
"description": "Build a NodeJS project with npm and gulp.",
|
||||||
|
"iconName": "gulp",
|
||||||
|
"categories": ["Continuous integration", "JavaScript", "TypeScript", "npm", "Gulp"]
|
||||||
|
}
|
||||||
@@ -2,5 +2,5 @@
|
|||||||
"name": "Haskell",
|
"name": "Haskell",
|
||||||
"description": "Build and test a Haskell project with Cabal.",
|
"description": "Build and test a Haskell project with Cabal.",
|
||||||
"iconName": "haskell",
|
"iconName": "haskell",
|
||||||
"categories": ["Haskell"]
|
"categories": ["Continuous integration", "Haskell"]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,5 +3,5 @@
|
|||||||
"description": "Build a docker container, publish it to IBM Cloud Container Registry, and deploy to IBM Cloud Kubernetes Service.",
|
"description": "Build a docker container, publish it to IBM Cloud Container Registry, and deploy to IBM Cloud Kubernetes Service.",
|
||||||
"creator": "IBM",
|
"creator": "IBM",
|
||||||
"iconName": "ibm",
|
"iconName": "ibm",
|
||||||
"categories": null
|
"categories": ["Deployment"]
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"name": "iOS",
|
||||||
|
"description": "Build and test an iOS application using xcodebuild and any available iPhone simulator.",
|
||||||
|
"iconName": "xcode",
|
||||||
|
"categories": [
|
||||||
|
"Continuous integration",
|
||||||
|
"iOS",
|
||||||
|
"Xcode"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -2,5 +2,5 @@
|
|||||||
"name": "Jekyll",
|
"name": "Jekyll",
|
||||||
"description": "Package a Jekyll site using the jekyll/builder Docker image.",
|
"description": "Package a Jekyll site using the jekyll/builder Docker image.",
|
||||||
"iconName": "jekyll",
|
"iconName": "jekyll",
|
||||||
"categories": ["HTML"]
|
"categories": ["Continuous integration", "HTML"]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"description": "Test a Laravel project.",
|
"description": "Test a Laravel project.",
|
||||||
"iconName": "php",
|
"iconName": "php",
|
||||||
"categories": [
|
"categories": [
|
||||||
|
"Continuous integration",
|
||||||
"PHP",
|
"PHP",
|
||||||
"Laravel"
|
"Laravel"
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -2,5 +2,5 @@
|
|||||||
"name": "Publish Java Package with Maven",
|
"name": "Publish Java Package with Maven",
|
||||||
"description": "Build a Java Package using Maven and publish to GitHub Packages.",
|
"description": "Build a Java Package using Maven and publish to GitHub Packages.",
|
||||||
"iconName": "maven",
|
"iconName": "maven",
|
||||||
"categories": ["Java", "Maven"]
|
"categories": ["Continuous integration", "Java", "Maven"]
|
||||||
}
|
}
|
||||||
@@ -2,5 +2,5 @@
|
|||||||
"name": "Java with Maven",
|
"name": "Java with Maven",
|
||||||
"description": "Build and test a Java project with Apache Maven.",
|
"description": "Build and test a Java project with Apache Maven.",
|
||||||
"iconName": "maven",
|
"iconName": "maven",
|
||||||
"categories": ["Java", "Maven"]
|
"categories": ["Continuous integration", "Java", "Maven"]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"name": "MSBuild based projects",
|
||||||
|
"description": "Build a MSBuild based project.",
|
||||||
|
"iconName": "c-cpp",
|
||||||
|
"categories": ["Continuous integration", "C", "C++"]
|
||||||
|
}
|
||||||
@@ -2,5 +2,5 @@
|
|||||||
"name": "Node.js",
|
"name": "Node.js",
|
||||||
"description": "Build and test a Node.js project with npm.",
|
"description": "Build and test a Node.js project with npm.",
|
||||||
"iconName": "nodejs",
|
"iconName": "nodejs",
|
||||||
"categories": ["JavaScript", "Node", "Npm"]
|
"categories": ["Continuous integration", "JavaScript", "npm"]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,5 +2,5 @@
|
|||||||
"name": "Publish Node.js Package",
|
"name": "Publish Node.js Package",
|
||||||
"description": "Publishes a Node.js package to npm and GitHub Packages.",
|
"description": "Publishes a Node.js package to npm and GitHub Packages.",
|
||||||
"iconName": "node-package-transparent",
|
"iconName": "node-package-transparent",
|
||||||
"categories": ["JavaScript", "SDLC"]
|
"categories": ["Continuous integration", "JavaScript", "npm"]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"name": "OpenShift",
|
||||||
|
"description": "Build a Docker-based project and deploy it to OpenShift.",
|
||||||
|
"creator": "Red Hat",
|
||||||
|
"iconName": "openshift",
|
||||||
|
"categories": ["Deployment", "Dockerfile"]
|
||||||
|
}
|
||||||
@@ -2,5 +2,5 @@
|
|||||||
"name": "PHP",
|
"name": "PHP",
|
||||||
"description": "Build and test a PHP application using Composer",
|
"description": "Build and test a PHP application using Composer",
|
||||||
"iconName": "php",
|
"iconName": "php",
|
||||||
"categories": ["PHP", "Composer"]
|
"categories": ["Continuous integration", "PHP", "Composer"]
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"name": "Pylint",
|
||||||
|
"description": "Lint a Python application with pylint.",
|
||||||
|
"iconName": "python",
|
||||||
|
"categories": ["Continuous integration", "Python"]
|
||||||
|
}
|
||||||
@@ -2,5 +2,5 @@
|
|||||||
"name": "Python application",
|
"name": "Python application",
|
||||||
"description": "Create and test a Python application.",
|
"description": "Create and test a Python application.",
|
||||||
"iconName": "python",
|
"iconName": "python",
|
||||||
"categories": ["Python"]
|
"categories": ["Continuous integration", "Python"]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"name": "Python Package using Anaconda",
|
||||||
|
"description": "Create and test a Python package on multiple Python versions using Anaconda for package management.",
|
||||||
|
"iconName": "python",
|
||||||
|
"categories": ["Continuous integration", "Python"]
|
||||||
|
}
|
||||||
@@ -2,5 +2,5 @@
|
|||||||
"name": "Python package",
|
"name": "Python package",
|
||||||
"description": "Create and test a Python package on multiple Python versions.",
|
"description": "Create and test a Python package on multiple Python versions.",
|
||||||
"iconName": "python",
|
"iconName": "python",
|
||||||
"categories": ["Python"]
|
"categories": ["Continuous integration", "Python"]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,5 +2,5 @@
|
|||||||
"name": "Publish Python Package",
|
"name": "Publish Python Package",
|
||||||
"description": "Publish a Python Package to PyPI on release.",
|
"description": "Publish a Python Package to PyPI on release.",
|
||||||
"iconName": "python",
|
"iconName": "python",
|
||||||
"categories": ["Python"]
|
"categories": ["Continuous integration", "Python"]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"name": "R package",
|
||||||
|
"description": "Create and test an R package on multiple R versions.",
|
||||||
|
"iconName": "r",
|
||||||
|
"categories": ["Continuous integration", "R"]
|
||||||
|
}
|
||||||
@@ -2,5 +2,5 @@
|
|||||||
"name": "Ruby",
|
"name": "Ruby",
|
||||||
"description": "Build and test a Ruby project with Rake.",
|
"description": "Build and test a Ruby project with Rake.",
|
||||||
"iconName": "ruby",
|
"iconName": "ruby",
|
||||||
"categories": ["Ruby"]
|
"categories": ["Continuous integration", "Ruby"]
|
||||||
}
|
}
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user