Compare commits

...

510 Commits

Author SHA1 Message Date
Steve Winton 8da6f2ecd8 Add new issue template for Code Scanning partners
Validate Data / validate-data (push) Has been cancelled
2021-02-09 16:13:45 -06:00
Chris Patterson c59b62dee0 Adding new environment tag (#784) 2021-01-20 11:34:18 -05:00
litetex 5760418d4f dotnet-Workflows: Use latest channel version (#723)
* Use latest channel-version

* Use latest channel-version
2021-01-15 15:20:42 -05:00
John Bohannon 97cad8dbc7 Merge pull request #742 from ljinging/main
Create alibabacloud.yml
2021-01-12 13:35:45 -05:00
Andy McKay 2c71fd3721 Merge branch 'main' into main 2021-01-07 15:00:00 -08:00
arnu515 b20b76eb79 Fix grammar error (#773)
In the comment on line `1`, it says "This workflows", but I think that "This workflow" makes more sense.
2021-01-07 10:46:24 -05:00
chenrui ef1224c284 go: update starter (#768)
Signed-off-by: Rui Chen <rui@chenrui.dev>

Co-authored-by: Josh Gross <joshmgross@github.com>
2021-01-05 11:47:18 -05:00
chenrui d36b72e889 ruby: add ruby 2.7 and 3.0 into bootstrap script (#766)
sync with main branch

quote versions

remove redundant bundle install

Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-01-05 11:11:06 -05:00
Benoit Daloze d644b9852c Update ruby.yml to use the latest release of ruby/setup-ruby (#758)
https://github.com/ruby/setup-ruby/releases/tag/v1.61.0

Co-authored-by: Josh Gross <joshmgross@github.com>
2021-01-04 15:24:14 -05:00
Andrew Marshall c17ea6bad7 fix context references in cmake template (#762)
Co-authored-by: Josh Gross <joshmgross@github.com>
2021-01-04 13:52:34 -05:00
Jan Jurzitza 3b047441fd update setup-dlang to v1.0.2 (#763)
This fixes the previous version using the outdated `::set-env` command which is disabled now. (See https://github.com/dlang-community/setup-dlang/issues/34)

Co-authored-by: Andy McKay <andymckay@github.com>
Co-authored-by: Josh Gross <joshmgross@github.com>
2021-01-04 13:44:59 -05:00
Andy McKay e402d2478e Merge pull request #685 from Sheeri/main
Get rid of quoting that breaks by default.
2021-01-04 08:41:45 -08:00
Andy McKay 2e8181996a Merge branch 'main' into main 2021-01-04 08:41:14 -08:00
Andy McKay f631f1f2a9 Update automation/greetings.yml 2021-01-04 08:40:18 -08:00
Andy McKay 25beec943d Merge pull request #764 from chenrui333/ghc-8.10-cabal-3.2
haskell: ghc 8.10 and cabal 3.2
2021-01-04 08:35:45 -08:00
Andy McKay 6c0603b492 Merge branch 'main' into ghc-8.10-cabal-3.2 2021-01-04 08:33:47 -08:00
Andy McKay db98e7bafe Merge pull request #765 from chenrui333/python-3.9
python: include python 3.9 for the build
2021-01-04 08:33:23 -08:00
Andy McKay 9959a5d8cd Merge branch 'main' into python-3.9 2021-01-04 08:32:40 -08:00
William Entriken ebda693bc0 Add every version of Node.js that is supported upstream (#754) 2021-01-04 11:16:33 -05:00
Rui Chen d5de0a136a python: include python 3.9 for the build 2021-01-02 16:26:06 -05:00
Rui Chen f9cb2aceea haskell: ghc 8.10 and cabal 3.2
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-01-02 16:06:19 -05:00
ljing 95adc26526 Merge branch 'main' into main 2020-12-19 10:12:28 +08:00
Andy McKay e9e00b0177 Merge pull request #748 from TheBikramLama/main
Added PHP version (default 8.0)
2020-12-18 12:58:24 -08:00
Andy McKay 26b1c798c4 Merge branch 'main' into main 2020-12-18 12:57:36 -08:00
Andy McKay 1611798954 Update ci/laravel.yml 2020-12-18 12:54:48 -08:00
Yashovardhan Dhanania 916f29234a Android: Granting execute permission for gradlew (#70)
* Granting execute permission for gradlew

In https://github.com/yashovardhan99/HealersDiary, while testing this action, I noticed `./gradlew build` fails because it does not have execute permissions. Adding the execute permissions using `chmod` fixes this issue.

* fixing line endings

This should fix it

* Renormalizing changes
2020-12-18 15:01:28 -05:00
Bikram Lama 038c492e5d Added PHP version (default 8.0) 2020-12-17 01:57:39 +05:45
ljing 2cce108822 Merge branch 'main' into main 2020-12-16 13:39:48 +08:00
John Bohannon cefd62c81b Merge pull request #743 from bharathkkb/bharathkkb-patch-1
Updates for new google org and actions
2020-12-15 09:50:48 -05:00
John Bohannon 59b02379ec Merge branch 'main' into bharathkkb-patch-1 2020-12-15 09:50:04 -05:00
ljing 5adbc985bb Merge branch 'main' into main 2020-12-15 15:06:36 +08:00
Andy McKay f3f093bce8 Merge pull request #740 from rainersigwald/dotnet-updates
Dotnet updates
2020-12-14 17:08:00 -08:00
Bharath KKB ab930e94bf fix cluster var 2020-12-14 18:59:18 -06:00
Bharath KKB c5e7bc70b5 use GKE action for credentials 2020-12-14 18:49:58 -06:00
Bharath KKB 14acff1f1e fix: switch to new google actions org 2020-12-14 18:38:42 -06:00
ljing 14547bfc79 Delete alibabacloud.properties.json 2020-12-11 23:40:14 +08:00
ljing 90f8fd731d Add icon 2020-12-11 23:39:46 +08:00
ljing 08c2049aed Create alibabacloud.properties.json 2020-12-11 23:26:26 +08:00
ljing b3f8b48094 Create alibabacloud.properties.json 2020-12-11 23:17:45 +08:00
ljing a921a9e19d Update alibabacloud.yml 2020-12-11 23:02:57 +08:00
ljing a88b31b693 Create alibabacloud.yml
This workflow will build and push a new container image to Alibaba Cloud Container Reigstry (ACR),
and then will deploy it to Alibaba Cloud Container Service for Kubernetes (ACK), when a release is created.
2020-12-11 22:49:36 +08:00
Rainer Sigwald 2c1a53ec93 Don't build when running tests
If the workflow is going to split restore, build, and test into separate
steps, each should use the result of the prior. Build was invoked with
`--no-restore` but test was restoring, building, and then testing.
2020-12-10 17:45:12 +00:00
Rainer Sigwald 0c4ccab691 Don't specify configuration for dotnet build
Since `dotnet test` below didn't specify the Release configuration,
it used the default configuration (generally Debug).
2020-12-10 17:45:12 +00:00
Rainer Sigwald b05136d6b3 Nit: Title restore step with "restore"
This is more like how folks generally refer to it in .NET-land.
2020-12-10 17:41:44 +00:00
Rainer Sigwald 4dae3bbf12 Update .NET Core branding to .NET
Per the branding that .NET 5.0 is the next release after .NET Core 3.1.
2020-12-10 17:40:37 +00:00
Andy McKay a571f2981a Merge pull request #737 from actions/add-manual-icon
Add in a person icon
2020-12-07 10:16:02 -08:00
Andy McKay 32294ec235 add in a person icon 2020-12-07 10:11:02 -08:00
Andy McKay 93dbc9b111 Merge pull request #731 from davidar/patch-1
Add conda to system path
2020-12-07 09:56:42 -08:00
David A Roberts 778f6e55ec Add conda to system path 2020-12-05 09:30:21 +10:00
Andy McKay 1098e119bf Merge pull request #708 from benmcmorran/add-msbuild-cpp-workflow
Add MSBuild C/C++ starter workflow
2020-12-04 13:29:10 -08:00
Ben McMorran c4f8fd37a9 Merge branch 'main' into add-msbuild-cpp-workflow 2020-12-04 13:09:44 -08:00
Josh Gross b247fc6998 Fix CODEOWNERS (#730) 2020-12-04 15:45:26 -05:00
Ben McMorran 5df85a656f Merge branch 'main' into add-msbuild-cpp-workflow 2020-12-02 09:28:27 -08:00
Andy McKay edab906081 Merge pull request #727 from actions/bump/setup-ruby
Update ruby.yml
2020-12-01 14:01:35 -08:00
Andy McKay 04faecd243 Update ruby.yml
Noticed that this version of setup-ruby causes problems with the `set-env` deprecation. This just bumps it up to the latest commit on https://github.com/ruby/setup-ruby/
2020-12-01 13:40:54 -08:00
John Bohannon 1121235708 Merge pull request #726 from redhat-actions/openshiftCategories
Add Dockerfile category to openshift workflow
2020-11-30 13:08:38 -05:00
Tim Etchells cfbd40a9c2 Add Dockerfile category to openshift workflow
Signed-off-by: Tim Etchells <tetchell@redhat.com>
2020-11-30 13:03:33 -05:00
John Bohannon 33f788c27e Merge pull request #725 from redhat-actions/openshift
Update OpenShift starter with new actions
2020-11-30 12:02:24 -05:00
Tim Etchells 443491da63 Add GitHub disclaimer
Signed-off-by: Tim Etchells <tetchell@redhat.com>
2020-11-30 11:17:47 -05:00
Tim Etchells 6a074bcdf6 Update OpenShift starter with new actions
Signed-off-by: Tim Etchells <tetchell@redhat.com>
2020-11-30 11:15:59 -05:00
Ben McMorran 3f9a0a4044 Merge branch 'main' into add-msbuild-cpp-workflow 2020-11-25 12:25:48 -08:00
Andy McKay 8c0ca1f934 Merge pull request #721 from actions/add-in-stale
Create stale.yml
2020-11-24 14:52:49 -08:00
Andy McKay b38e80f939 Merge branch 'main' into add-in-stale 2020-11-24 14:51:24 -08:00
Andy McKay 8ca17cdb3e Merge pull request #722 from actions/add-in-codeowners
Add in codeowners for this repo
2020-11-24 14:51:15 -08:00
Andy McKay d41b5571e7 Add in codeowners for this repo 2020-11-24 14:43:12 -08:00
Andy McKay bb39041a60 Create stale.yml 2020-11-24 13:52:32 -08:00
Andy McKay ff9e5d1209 Merge pull request #658 from actions/dependabot/npm_and_yarn/script/validate-data/actions/core-1.2.6
Bump @actions/core from 1.2.4 to 1.2.6 in /script/validate-data
2020-11-24 13:46:17 -08:00
Andy McKay 66d8b02dfe Merge branch 'main' into dependabot/npm_and_yarn/script/validate-data/actions/core-1.2.6 2020-11-24 13:43:24 -08:00
Andy McKay 4e1a218f3b Merge pull request #659 from damccorm/patch-1
Update stale to most recent version
2020-11-24 13:42:56 -08:00
Andy McKay 019eff621a Merge branch 'main' into patch-1 2020-11-24 13:42:21 -08:00
Andy McKay 6999ba1689 Merge pull request #682 from abc52090241/patch-1
更新許可
2020-11-24 13:40:31 -08:00
Andy McKay a50e787c3d Merge branch 'main' into patch-1 2020-11-24 13:39:40 -08:00
Andy McKay eab784e4cf Merge pull request #703 from boxed/patch-1
Prepare python-package.yml for python 3.10
2020-11-24 13:38:11 -08:00
Andy McKay 54c9648f3b Merge branch 'main' into patch-1 2020-11-24 13:37:06 -08:00
Andy McKay 9f124372e3 Merge pull request #717 from RobertRosca/patch-1
Use consistent calls to pip
2020-11-24 13:23:55 -08:00
Andy McKay 6ff9ab42eb Merge branch 'main' into patch-1 2020-11-24 13:23:26 -08:00
Andy McKay decb3a996a Merge pull request #720 from ostaebler/go_build_all
Build/Test all go packages
2020-11-24 13:21:49 -08:00
Oliver Stäbler 64f653a809 Build/Test all go packages
Use the "..." pattern to build/test all go packages in a repository.
2020-11-24 21:16:36 +01:00
Robert Rosca 0e2cd77dc8 Use consistent calls to pip
`pip` was called in two different ways which is a bit inconsistent, this change just makes it so that it is called in the same way both times.
2020-11-23 11:13:06 +01:00
Christopher Schleiden 2d3a2e57d3 Merge pull request #713 from actions/cschleiden/add-workflow-dispatch
Add workflow_dispatch trigger to the default empty workflow
2020-11-19 14:27:14 -08:00
Christopher Schleiden bfb45aec41 Shorten the description 2020-11-19 14:21:12 -08:00
Christopher Schleiden ef7878c3e6 Add workflow_dispatch trigger to the default empty workflow 2020-11-19 14:07:15 -08:00
Nick Fyson b2e55d25f2 Merge pull request #704 from nickfyson/update_terms
update terms and guidelines to account for code scanning workflows
2020-11-16 14:58:21 +00:00
Nick Fyson cf9a85beec Merge branch 'main' into update_terms 2020-11-16 14:56:30 +00:00
Ben McMorran 92d9a2c433 Add MSBuild C/C++ starter workflow 2020-11-13 13:53:37 -08:00
Nick Fyson aa9d3bc6cc Merge pull request #702 from nickfyson/add-codeql-workflow
add codeql workflow
2020-11-13 16:45:58 +00:00
Nick Fyson 44c50acb70 amend link in codeql workflow 2020-11-13 16:33:01 +00:00
Nick Fyson 500534878c update doc link in codeql template 2020-11-12 12:46:34 +00:00
Nick Fyson 545a711d57 Merge branch 'main' into add-codeql-workflow 2020-11-11 11:26:31 +00:00
Nick Fyson 85739b01da update terms and guidelines to account for code scanning workflows 2020-11-11 09:30:58 +00:00
Anders Hovmöller 33c4d0afcb Prepare python-package.yml for python 3.10
Python 3.10 is coming soon, and this will cause problems with the code as currently written. The python versions are written as floats and not strings, which will mean that 3.10 == 3.1, which is going to be very surprising.
2020-11-10 13:57:09 +01:00
Andy McKay 6e6b7a3a65 Merge pull request #690 from devoncarew/patch-1
Update dart.yml
2020-11-09 12:32:02 -08:00
Andy McKay 07d00868c1 Merge branch 'main' into patch-1 2020-11-09 12:31:19 -08:00
Devon Carew 1e97b0eba7 Update dart.yml
Change to sentence fragment case for the step names
2020-11-09 09:54:52 -08:00
Andy McKay 1e1b67d2e3 Merge pull request #697 from xiongnemo/patch-1
remove misleading info
2020-11-09 09:42:21 -08:00
Andy McKay 90f04bcdca Merge branch 'main' into patch-1 2020-11-09 09:41:33 -08:00
Nick Fyson 33e4b7e557 add codeql workflow 2020-11-09 11:08:35 +00:00
Andy McKay d9b22d32d2 Merge pull request #698 from actions/revert-639-kaylangan-publish-docker-to-ghcr
Revert "Update Publish Docker template to publish to GitHub Container Registry"
2020-11-06 10:26:13 -08:00
Kayla Ngan cfb65e2931 Merge branch 'main' into revert-639-kaylangan-publish-docker-to-ghcr 2020-11-06 11:08:22 -05:00
Devon Carew 6566b994c5 Merge branch 'main' into patch-1 2020-11-05 14:50:13 -08:00
Andy McKay b74ba94525 Merge pull request #699 from N-Usha/patch-4
Update azure.yml
2020-11-05 09:07:01 -08:00
Usha N 5aeeb19100 Update azure.yml 2020-11-05 22:32:30 +05:30
Andy McKay 6802e0bb22 Merge pull request #696 from N-Usha/patch-3
Updating the pre-req configuration steps for Azure workflow
2020-11-05 08:35:31 -08:00
Kayla Ngan f75012de65 Revert "Update Publish Docker template to publish to GitHub Container Registry" 2020-11-04 16:32:58 -05:00
Nemo Xiong dfaa4e420b remove misleading info
python-django.* has renamed to django.*, while the doc remains the same
2020-11-05 01:57:31 +08:00
Usha N e2510e2a62 Updating the pre-req configuration steps
For Linux Apps, Developers need to set a new app setting called WEBSITE_WEBDEPLOY_USE_SCM and set to `true` before downloading the publish profile.
2020-11-03 18:21:34 +05:30
Devon Carew 17e1df2111 Update dart.yml
Review comments from @mit-mit.
2020-11-02 09:07:53 -08:00
Devon Carew f938476d14 Update dart.yml 2020-10-30 12:46:33 -07:00
Andy McKay d7ac62140f Create label-feature.yml 2020-10-27 15:47:43 -07:00
Andy McKay fecbb32bb8 Rename label-close.yml to label-support.yml 2020-10-27 15:44:22 -07:00
Sheeri Cabral 5699eea8b2 Get rid of quoting that breaks by default.
it looks like someone tried to use '' to make a ' happen for the possessive tense of users. But that messes up the quoting:
issue-message: 'Message that will be displayed on users'' first issue'
pr-message: 'Message that will be displayed on users'' first pr'

It should be:
issue-message: 'Message that will be displayed on the first issue for that user'
pr-message: 'Message that will be displayed on the first pr for that user'

(this gets rid of the spurious quotes, but also doesn't introduce any grammatical errors)

It was a very bad impression to have a simple script designed to welcome folks be broken by default.
2020-10-27 12:25:47 -04:00
Andy McKay b4fa2522d2 Merge pull request #683 from nickfyson/code-scanning-placeholder
add code scanning placeholder readme
2020-10-23 08:22:34 -07:00
Nick Fyson 8d7b3c7bb7 add code scanning readme 2020-10-23 15:30:48 +01:00
Tang wiki fbdaed8a1c 更新許可 2020-10-23 05:20:15 +08:00
Andy McKay 48d91f58fd Merge pull request #673 from kszonek/fix-cmake-docs
Fix docs link in cmake CI file
2020-10-21 13:28:42 -07:00
Andy McKay 93e3710ab0 Merge branch 'main' into fix-cmake-docs 2020-10-21 13:27:46 -07:00
Andy McKay e3365944ac Merge pull request #674 from nschonni/patch-1
chore: Remove id for go install
2020-10-21 13:25:17 -07:00
Nick Schonning b1cd56fafa chore: Remove id for go install
The ID isn't used in other steps of the script
2020-10-19 20:26:29 -04:00
kszonek e24322bcc0 Fix docs link in cmake CI file 2020-10-19 21:30:11 +02:00
Andy McKay 08ff79c7b9 Merge pull request #657 from lstocchi/openshift_action_ci
Add support for OpenShift
2020-10-14 08:02:17 -07:00
Danny McCormick ca7b1e42d8 Update stale to most recent version 2020-10-01 15:06:20 -04:00
dependabot[bot] 7828f6c354 Bump @actions/core from 1.2.4 to 1.2.6 in /script/validate-data
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.2.4 to 1.2.6.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-01 17:38:26 +00:00
Luca Stocchi 12319ff7de update branch
Signed-off-by: Luca Stocchi <lstocchi@redhat.com>
2020-09-28 17:10:57 +02:00
Luca Stocchi 545967cef7 Add support for OpenShift Action
Signed-off-by: Luca Stocchi <lstocchi@redhat.com>
2020-09-28 16:59:32 +02:00
Mike Coutermarsh dacfd0a22a Merge pull request #645 from simonini/patch-1
Fix rubygems step
2020-09-21 14:24:59 -07:00
Alessandro 732e5a4fed Fix rubygems step
With GitHub Packages everything is ok, but we had a problem with "bearer" in the RubyGems step.
We solved when we removed the bearer in the ruby gem step.
Is it ok?

Repo with our test (https://github.com/rubynetti/amico-db)
2020-09-17 17:11:19 +02:00
Andy McKay 6933b58bfe Merge pull request #644 from hharutyunyan/main
Fix on step name for pylint action
2020-09-16 06:49:26 -07:00
Henry Harutyunyan 4fc839617b Fix on step name for pylint action
On analyzing the code with `pylint`, the name of the step is `Test with pytest`, which is certainly not what it does.
2020-09-16 14:49:17 +04:00
Cameron Booth 60765e8490 Merge pull request #641 from actions/cdb/npm-registry-url
Update to use the $registry-url() token
2020-09-09 17:20:59 -07:00
Cameron Booth c6ccc6f609 Update to use the $registry-url() token 2020-09-09 15:42:40 -07:00
Andy McKay 188a1b0995 Merge pull request #639 from actions/kaylangan-publish-docker-to-ghcr
Update Publish Docker template to publish to GitHub Container Registry
2020-09-01 09:43:20 -07:00
Kayla Ngan 01816c2943 Add in account path part 2020-08-31 16:40:03 -04:00
Kayla Ngan b54b703ab1 Update docker-publish.yml 2020-08-31 16:21:54 -04:00
Andy McKay 8e9dd416eb Merge pull request #624 from mohd-akram/blank-indentation
blank.yml: fix indentation
2020-08-26 15:05:31 -07:00
Andy McKay 3ba9eeb432 Merge pull request #493 from mosteo/master
Ada starter workflow, icon and properties
2020-08-25 09:17:05 -07:00
Andy McKay ac0f10b559 Merge pull request #604 from maximousblk/add-setup-deno
Add Deno
2020-08-25 09:13:19 -07:00
Maximous Black 4c50c2463d Update deno.yml 2020-08-25 13:24:46 +05:30
Andy McKay af51c4b131 Merge pull request #47 from jherico/master
Add a starter cmake workflow
2020-08-24 09:58:27 -07:00
Andy McKay 7170aed588 Merge pull request #460 from jai/ios-starter-workflow
Add iOS Starter Workflow
2020-08-24 09:56:49 -07:00
Andy McKay 5524770ebc Merge pull request #197 from ben-heil/conda
Python package unit testing using Anaconda
2020-08-24 09:54:58 -07:00
Andy McKay 556dbfef74 Merge branch 'master' into master 2020-08-24 08:37:18 -07:00
Alejandro R. Mosteo 0e05d2e2d5 Updated Ada logo (Public Domain) 2020-08-24 13:04:54 +02:00
Alejandro R Mosteo d9ef0c9fa9 s/master/$default-branch/ in workflow
Co-authored-by: Andy McKay <andymckay@github.com>
2020-08-24 11:10:05 +02:00
Ben Heil 781ae15668 Corrected the name: the action uses Conda but not Anaconda 2020-08-23 22:21:14 -04:00
Ben Heil e6a92cdf5e Update with requested changes from @andymckay 2020-08-22 09:09:50 -04:00
Ben Heil 9d5fc9a9d5 Get up to date with actions:main 2020-08-22 08:38:27 -04:00
Maximous Black b2a9ff937c Update Deno Workflow
- Use 40 char SHA string for action's version
- Add nightly testing
- Add cross platform testing
2020-08-22 17:26:46 +05:30
Jai Govindani d344ceca32 fix(icon): remove ios icon
Signed-off-by: Jai Govindani <jai@honestbank.com>
2020-08-22 15:07:17 +07:00
Jai Govindani cd6c492b58 fix(icon): use xcode icon
Signed-off-by: Jai Govindani <jai@honestbank.com>
2020-08-22 15:06:08 +07:00
Jai Govindani 1d9faa8666 fix(triggers): use $default-branch instead of hard-coding
Co-authored-by: Andy McKay <andymckay@github.com>
2020-08-22 15:06:07 +07:00
Jai Govindani 8b99b795cd fix: incorrect capitalization of iOS icon name
Signed-off-by: Jai Govindani <jai@honestbank.com>
2020-08-22 15:06:05 +07:00
Jai Govindani a7d5e843be fix: add newline to end of file ios.properties.json
Signed-off-by: Jai Govindani <jai@honestbank.com>
2020-08-22 15:06:04 +07:00
Jai Govindani 044885a132 fix: add iOS icon
Signed-off-by: Jai Govindani <jai@honestbank.com>
2020-08-22 15:06:02 +07:00
Jai Govindani f5834be4a7 Add ios.properties.json
Signed-off-by: Jai Govindani <jai@honestbank.com>
2020-08-22 15:06:01 +07:00
Jai Govindani 8086b89ce1 Set name of workflow to sentence case
Signed-off-by: Jai Govindani <jai@honestbank.com>
2020-08-22 15:05:59 +07:00
Jai Govindani eb30c1ee37 Add iOS Starter Workflow
Signed-off-by: Jai Govindani <jai@honestbank.com>
2020-08-22 15:05:58 +07:00
Bradley Austin Davis 917a8740ae Merge remote-tracking branch 'upstream/master' 2020-08-21 18:39:57 -07:00
Bradley Austin Davis 9ca8884216 Switching to single-platform build per PR comments 2020-08-21 18:39:05 -07:00
Bradley Austin Davis 760d91097a Update ci/cmake.yml
Co-authored-by: Andy McKay <andymckay@github.com>
2020-08-21 18:35:36 -07:00
Andy McKay 60a9e86952 Merge pull request #633 from actions/revert-311-add-cypress-workflow
Revert "add Cypress starter workflow"
2020-08-21 15:00:45 -07:00
Andy McKay 1dc9bda71d Revert "add Cypress starter workflow" 2020-08-21 15:00:23 -07:00
Andy McKay 55d2f670aa Merge pull request #311 from bahmutov/add-cypress-workflow
add Cypress starter workflow
2020-08-21 15:00:18 -07:00
Andy McKay c7007251e8 Merge pull request #298 from fjy202/pylint
Pylint
2020-08-21 12:02:06 -07:00
Andy McKay acf5f6e3fc Merge pull request #166 from jimhester/r-starter-workflow
Add R starter workflow
2020-08-21 12:00:18 -07:00
Andy McKay 94759fc6c5 Update d.yml 2020-08-21 11:57:09 -07:00
Andy McKay e6715401a9 Merge pull request #166 from jimhester/r-starter-workflow
Add R starter workflow
2020-08-21 08:27:29 -07:00
Andy McKay a4513263ef Merge branch 'master' into r-starter-workflow 2020-08-21 08:26:40 -07:00
Andy McKay dc7a645261 Update ci/properties/r.properties.json 2020-08-21 08:25:55 -07:00
Jim Hester fae2392dd2 Update ci/r.yml
Co-authored-by: Andy McKay <andymckay@github.com>
2020-08-21 09:24:31 -04:00
Andy McKay e06cc27dea Merge pull request #632 from actions/hold-starter-workflows
updates to starter workflows
2020-08-20 18:09:56 -07:00
Andy McKay e29f776785 updates to starter workflows 2020-08-20 18:09:12 -07:00
Andy McKay 4085d2783b Merge pull request #546 from Geod24/dlang-workflow
Add D workflow
2020-08-20 17:27:47 -07:00
Ernesto Castellotti ccf96281e9 Add D workflow
D is a statically and strongly typed, multi-paradigm, general-purpose native programming language.
D is fully open-source and maintained by a volunteer community.
For more information, see https://dlang.org

This patch adds a minimal workflow that allows users to compile D projects that use DUB,
the official D package manager and build tool.

The workflow uses the community-maintained `setup-dlang` action,
which can install any version of `dmd` (the reference compiler),
or `ldc` (the LLVM-based, performance oriented compiler,
on any of the three platforms currently supported by Github free runners.
Support for GDC is not yet implemented.

The logo used (d.svg) originates from
https://github.com/dlang/dlang.org/blob/master/images/dlogo_2015.svg
and is available under the BSL-1.0 license
(https://github.com/dlang/dlang.org/blob/master/LICENSE.txt)

Co-Authored-By: Mathias Lang <pro.mathias.lang@gmail.com>
2020-08-19 13:20:57 +09:00
John Bohannon 9ddf3f1e08 Merge pull request #611 from ktoor-google/update-gke
Updated google gke workflow(https://github.com/GoogleCloudPlatform/github-actions/blob/master/example-workflows/gke/.github/workflows/gke.yml)
2020-08-18 08:58:01 -04:00
ktoor-google bfe353443a Update ci/google.yml
Co-authored-by: John Bohannon <imjohnbo@github.com>
2020-08-13 11:52:11 -07:00
Mohamed Akram ebe6a9d913 blank.yml: fix indentation 2020-08-12 18:56:23 +04:00
Kunwar Toor ee064c5e4b updated gcloud action to latest 2020-08-10 17:07:34 -07:00
ktoor-google 0ec52ad66b Update ci/google.yml
Co-authored-by: John Bohannon <imjohnbo@github.com>
2020-08-10 16:43:03 -07:00
ktoor-google 27c4cec0db Update ci/google.yml
Co-authored-by: John Bohannon <imjohnbo@github.com>
2020-08-10 16:42:41 -07:00
Kunwar Toor 96d4d9913c updated google.yml to reflect the more recent gke workflow action given by google in https://github.com/GoogleCloudPlatform/github-actions 2020-08-03 10:55:35 -07:00
Kunwar Toor e0507e673c updated google.yml to reflect the more recent gke workflow action given by google in https://github.com/GoogleCloudPlatform/github-actions 2020-08-03 10:47:03 -07:00
Andy McKay 948df6a3d0 Merge pull request #608 from simonw/patch-1
Use actions/setup-python@v2
2020-07-31 10:35:12 -07:00
Simon Willison 8f334e85aa Use actions/setup-python@v2 2020-07-31 10:21:41 -07:00
Ben Heil fb3fd40c90 Merge branch 'master' into conda 2020-07-31 08:37:26 -04:00
Maximous Black 5a6d7fe48f fix typo 2020-07-24 01:33:30 +05:30
Maximous Black e0b4d1e49e added warning 2020-07-24 01:31:50 +05:30
Maximous Black 96bdc687f4 made it as simple as possible 2020-07-24 01:30:01 +05:30
Maximous Black 125b38d041 Create deno.svg 2020-07-24 01:18:56 +05:30
Maximous Black 613f51fa51 Create deno.properties.json 2020-07-24 01:16:06 +05:30
Maximous Black 860fdf02bf Create deno.yml 2020-07-24 01:13:53 +05:30
Konrad Pabjan e11672e5a9 Merge pull request #600 from actions/konradpabjan/artifact-v2
Update artifact actions from v1 to v2
2020-07-22 15:44:05 +02:00
Konrad Pabjan 3c570179b7 Update artifact actions from v1 to v2 2020-07-22 13:44:29 +02:00
Andy McKay 02575c8e91 Merge pull request #594 from robatron/patch-1
Move "checkout" comment adjacent to its step
2020-07-20 08:14:13 -07:00
Andy McKay 94b77c19d0 Merge pull request #595 from stevedesmond-ca/patch-1
Update .NET Core SDK version
2020-07-20 08:13:19 -07:00
Steve Desmond 318a078faf Update .NET Core SDK version
Blazor projects fail to build in 3.1.101 due to a bug in the .NET Core SDK. Updating the SDK to the latest version fixes this bug.
2020-07-18 16:17:03 -04:00
Rob McGuire 2740936be4 Move "checkout" comment adjacent to its step 2020-07-17 19:54:48 -07:00
Andy McKay a98cc94869 Merge pull request #593 from actions/rename-to-main
Rename to main
2020-07-15 16:41:33 -07:00
Andy McKay aa2ec78d14 rename to main 2020-07-15 16:21:25 -07:00
Andy McKay eeaa6d60cd Merge pull request #575 from koshilife/feature/573_update_deprecated_ruby_version
Update deprecated for actions/setup-ruby to on gem-push.yml
2020-07-15 11:01:59 -07:00
Andy McKay 84197f1cbe Merge branch 'master' into feature/573_update_deprecated_ruby_version 2020-07-15 11:01:05 -07:00
Andy McKay a4013e698d Merge pull request #584 from jcansdale/patch-1
Include Bearer in GEM_HOST_API_KEY
2020-07-15 09:10:38 -07:00
Christopher Schleiden 930a2cac2b Update PR template to refer to $default-branch 2020-07-14 12:57:43 -07:00
Christopher Schleiden 920aa0286c Merge pull request #590 from actions/cschleiden/use-default-branch-token
Use $default-branch token
2020-07-14 11:11:20 -07:00
Christopher Schleiden 7ed78293f7 Use repository link 2020-07-13 12:13:03 -07:00
Christopher Schleiden abf7f258d1 Use $default-branch token 2020-07-13 12:12:41 -07:00
Jamie Cansdale bd169be472 Use ruby-version instead of version
This fixes warning:
Input 'version' has been deprecated with message: The version property will not be supported after October 1, 2019. Use ruby-version instead
2020-07-10 11:25:05 +01:00
Jamie Cansdale 0ca3f2a990 Remove Bearer from printf .gem/credentials 2020-07-10 11:15:29 +01:00
Jamie Cansdale 9e8735b0e6 Use ${{ github.repository_owner }} as OWNER 2020-07-10 11:12:02 +01:00
Jamie Cansdale 15e1039f3f Include Bearer in GEM_HOST_API_KEY 2020-07-10 10:55:13 +01:00
Christopher Schleiden 7e9fc80858 Merge pull request #583 from actions/cschleiden/move-manual-to-automation
Move manual workflow template to automation category
2020-07-09 11:07:19 -07:00
Christopher Schleiden d84eed709f Move manual workflow template to automation category 2020-07-09 08:32:58 -07:00
Christopher Schleiden 4aa38dfed2 Merge pull request #579 from actions/cschleiden/add-manual-template
Add manually triggered workflow template
2020-07-08 12:03:22 -07:00
Christopher Schleiden b79be1ea1a Add manually triggered workflow template 2020-07-07 14:07:47 -07:00
Jonathan Clem be562a7239 Merge pull request #185 from iangreenleaf/elixir-caching
Add caching to Elixir workflow
2020-07-01 17:06:52 -04:00
Jonathan Clem 9995e35e75 Cache only Elixir dependencies, not build 2020-07-01 17:06:09 -04:00
Bradley Austin Davis c85b474fcc Merge branch 'master' into master 2020-07-01 13:16:54 -07:00
Jonathan Clem cb6cee5157 Update elixir.yml 2020-07-01 14:14:45 -04:00
Jonathan Clem 97ae763335 Merge branch 'master' into elixir-caching 2020-07-01 14:13:53 -04:00
Jonathan Clem b4f1aae32f Use sentence casing 2020-07-01 14:09:21 -04:00
Jonathan Clem 3dc05114be Merge pull request #571 from henrik/patch-3
elixir.yml: Specify latest Elixir/OTP versions
2020-07-01 14:08:36 -04:00
Jonathan Clem ac240939ca Merge branch 'master' into patch-3 2020-07-01 14:06:15 -04:00
Kenji Koshikawa dabe11f6f7 refs #573 Update deprecated for actions/setup-ruby to on gem-push.yml 2020-07-02 00:48:02 +09:00
Jonathan Clem b0521d7270 Merge pull request #570 from henrik/patch-1
elixir.yml: More consistent case
2020-06-30 10:46:45 -04:00
Henrik Nyh 0159b6df78 elixir.yml: Specify latest Elixir/OTP versions
There is an OTP 23.0 but 22.3 is the max that latest Elixir supports currently.
2020-06-29 17:20:56 +01:00
Henrik Nyh e4f46dac76 elixir.yml: More consistent case
When running this action, it will show steps like "Set up job", "Initialize containers" and "Complete job", which are not in Title Case. Nor is "Set up Elixir".

(Some steps like "Post Restore cache" are some sort of half-Title Case, but they seem to be in the minority.)
2020-06-29 17:13:20 +01:00
Konrad Pabjan 7ce8ea570d Merge pull request #569 from actions/jclem-patch-1
Improve name of "Setup elixir" step in Elixir workflow
2020-06-29 18:04:30 +02:00
Jonathan Clem f1fa7ed328 Improve name of "Setup elixir" step in Elixir workflow 2020-06-29 11:44:45 -04:00
Andy McKay 3c3736f598 Merge pull request #552 from MasterOdin/patch-1
Update php cache key to use php in its name
2020-06-17 16:12:09 -07:00
Matthew Peveler 330ca7d1bd Update php cache key to use php in its name
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
2020-06-16 18:44:47 -04:00
Andy McKay 0170fa5239 Merge pull request #544 from actions/andymckay-patch-2
Change the cron for stale
2020-06-08 08:35:02 -07:00
Andy McKay b4362decc9 Change the cron for stale
Let's move the recommended stale cron tab away from 00:00 UTC
2020-06-08 08:30:24 -07:00
Cameron Booth 2ffdd0654e Merge pull request #537 from actions/cdb/creator
Add creator field and populate for partner templates
2020-06-03 09:42:59 -07:00
Cameron Booth 4ad3f70666 Fix creator name
Co-authored-by: Christopher Schleiden <cschleiden@live.de>
2020-06-02 21:57:58 -07:00
Cameron Booth ef82cf1b1a Add creator to validation schema 2020-06-02 13:40:45 -07:00
Cameron Booth b7eff1ebe9 Add creator to partner workflows 2020-06-02 13:40:33 -07:00
Ben Heil 3d33354a89 Merge branch 'master' into conda 2020-05-29 08:39:34 -04:00
Bradley Austin Davis ef7fa950a5 Merge branch 'master' into master 2020-05-27 17:21:37 -07:00
Chris Patterson 87a8d83e30 Merge pull request #194 from christeredvartsen/feature/cache-composer-packages
PHP: Use actions/cache for the Composer packages
2020-05-27 10:59:05 -04:00
Chris Patterson 9fd65b230c Merge branch 'master' into feature/cache-composer-packages 2020-05-27 10:51:16 -04:00
Chris Patterson 297af984ba Update ci/php.yml 2020-05-27 10:49:51 -04:00
Andy McKay acf744fba2 Merge pull request #495 from ChristophDietrich/patch-1
Update docker-publish.yml
2020-05-25 13:20:05 -07:00
Andy McKay a6347ae487 Merge branch 'master' into patch-1 2020-05-25 13:19:11 -07:00
Andy McKay 95df65269a Merge pull request #501 from HonkingGoose/patch-1
Remove deprecated '--no-suggest' flag
2020-05-25 13:16:57 -07:00
Andy McKay e99fd3f99c Merge pull request #496 from bjornstar/add-node-14
Add node v14
2020-05-25 13:13:33 -07:00
Andy McKay 74d3867049 Merge branch 'master' into add-node-14 2020-05-25 13:12:59 -07:00
Andy McKay 54a75270fc Update pull_request_template.md 2020-05-25 13:10:00 -07:00
Andy McKay 0195d47eee Update pull_request_template.md 2020-05-25 13:09:29 -07:00
Andy McKay 5f92f1fdcc Merge pull request #436 from jakejarvis/docs-properties-file
docs: Correct location of corresponding properties.json files
2020-05-25 13:03:54 -07:00
Andy McKay 26cd848b53 Merge branch 'master' into docs-properties-file 2020-05-25 13:02:46 -07:00
Andy McKay 861a79590c Rename main.yml to label-close.yml 2020-05-25 12:57:07 -07:00
Andy McKay 9d886e00f9 Create main.yml 2020-05-25 12:55:49 -07:00
Andy McKay b188e5bd5b Merge pull request #515 from stevemar/cleanup-iks
clean up IBM title and icon
2020-05-25 12:52:14 -07:00
Andy McKay c36e34100d Merge branch 'master' into cleanup-iks 2020-05-25 12:51:37 -07:00
Andy McKay 9171a83a7a Merge pull request #527 from shesek/patch-1
Rust: Enable cargo colors for prettier output
2020-05-25 12:48:55 -07:00
Alejandro R. Mosteo 90ace1f9e2 Review: updated description in ada.properties.json 2020-05-25 12:28:05 +02:00
Nadav Ivgi 15d943af34 Rust: Enable cargo colors for prettier output 2020-05-24 08:21:13 +03:00
Edward Thomson b109c5bb93 Merge pull request #494 from edwardskrod/dev/edskrod/master/UpdateName
Update workflow name from "WPF .NET Core" to ".NET Core Desktop"
2020-05-22 20:48:12 +01:00
Edward Skrod f7188c3581 Resolved merge conflict. 2020-05-22 14:58:35 -04:00
Christopher Schleiden 05c6db96ec Merge pull request #520 from actions/cschleiden/reduce-ghes-workflows
Do not sync workflows without categories to GHES
2020-05-22 08:44:20 -07:00
Steve Martinelli 958d73b16f Merge branch 'master' into cleanup-iks 2020-05-21 18:24:17 -04:00
Christopher Schleiden de4411e097 Ensure "blank" template is available 2020-05-21 14:34:44 -07:00
Edward Skrod 0ac0954673 Remove WindowsForms 2020-05-21 17:33:37 -04:00
Christopher Schleiden bf6f0d9476 Merge branch 'master' into cschleiden/reduce-ghes-workflows 2020-05-21 14:16:48 -07:00
Cameron Booth 4828a683d0 Merge pull request #522 from actions/cdb/job-name
Update workflow job name
2020-05-21 14:16:04 -07:00
Cameron Booth 249441a642 Update job name 2020-05-21 13:55:36 -07:00
Christopher Schleiden 75ab82ca92 Merge pull request #521 from actions/jclem-patch-1
Define OTP/Elixir versions as strings
2020-05-21 13:35:46 -07:00
Jonathan Clem ec3fe32d43 Define OTP/Elixir versions as strings
As now [recommended](https://github.com/actions/setup-elixir/tree/2071beb570a53fb599fbd638d0a4f4577d57143d#usage) in the action's README, the configuration versions should be strings so that YAML parsing doesn't truncate something like `23.0` to `23`, which isn't equivalent.
2020-05-21 16:32:47 -04:00
Cameron Booth c63b77dfb3 Merge pull request #488 from edwardskrod/patch-1
Update the description with the proper case
2020-05-21 12:07:13 -07:00
Cameron Booth 727a831173 Merge pull request #492 from timdorr/patch-1
Fix source image name on docker tag
2020-05-21 11:54:55 -07:00
Christopher Schleiden 15c78f8802 Do not sync workflows without categories to GHES 2020-05-21 11:09:51 -07:00
Cameron Booth 60749c6653 Merge pull request #518 from cdb/cdb/dont-fail-on-no-changes
Don't fail GHES workflow if nothing changed
2020-05-20 16:43:49 -07:00
Cameron Booth 9a0a11423d Name the workflow 2020-05-20 16:31:33 -07:00
Cameron Booth 74c1e87c6b Don’t fail if no changes 2020-05-20 16:31:20 -07:00
Cameron Booth 9ea914b370 Merge pull request #517 from cdb/cdb/validate-data
Workflow to validate starter-workflows data is setup correctly
2020-05-20 16:03:12 -07:00
Cameron Booth 1bb7228652 Report success as well for visibility 2020-05-20 13:28:55 -07:00
Cameron Booth 3dd92068cf Add missing icons 2020-05-20 13:28:44 -07:00
Cameron Booth a83abcc872 Script to validate the main parts of workflow data 2020-05-20 13:28:25 -07:00
Christopher Schleiden 70c22e93a3 Name GHES sync workflow 2020-05-20 11:39:30 -07:00
Christopher Schleiden 8f45305178 Merge pull request #512 from cschleiden/cschleiden/ghes
Add script and workflow to sync the set of starter-workflows for GHES
2020-05-20 11:30:13 -07:00
Christopher Schleiden af4b66354b Only sync svg icons 2020-05-20 10:54:19 -07:00
Christopher Schleiden 88d425bbe7 Sync icons only for supported workflows 2020-05-20 10:40:26 -07:00
Christopher Schleiden 62f6872b4e Move ghes-sync into subfolder 2020-05-20 10:00:39 -07:00
Steve Martinelli e16f45a27f Update ibm.properties.json
one last tweak on official name
2020-05-18 23:13:25 -04:00
Steve Martinelli 641db8990d clean up IBM title and icon
using a different icon for IBM Cloud, ran svgo on it, too.
2020-05-17 22:16:47 -04:00
Christopher Schleiden 5802cb7302 Add script and workflow to sync the set of starter-workflows for GHES 2020-05-15 16:49:20 -07:00
Chris Patterson e3d245e1f3 Merge pull request #478 from stevemar/iks
Add support for IBM Kuberenetes Service (IKS)
2020-05-14 14:26:59 -04:00
Konrad Pabjan 4f09f99149 Merge pull request #506 from actions/konradpabjan/python-v2
Bump setup-python from v1 to v2
2020-05-12 14:57:06 +02:00
Konrad Pabjan 4e9268c2d3 Bump setup-python from v1 to v2 2020-05-12 10:49:36 +02:00
Edward Thomson 0dc4b20ce6 Merge pull request #503 from ankitpopli1891/patch-1
fix: use the IMAGE_NAME variable
2020-05-11 08:50:59 +01:00
Ankit Popli 72408e6c62 fix: use the IMAGE_NAME variable
current behavior:
changing the IMAGE_NAME variable breaks the build

expected behavior:
changing the IMAGE_NAME should not break the build
2020-05-10 13:47:21 +05:30
HonkingGoose 6eb7d7ec62 Remove deprecated '--no-suggest' flag
From the upgrade guide for Composer v2.0:
> Deprecated --no-suggest flag as it is not needed anymore

https://github.com/composer/composer/blob/master/UPGRADE-2.0.md#for-composer-cli-users
2020-05-08 10:48:15 +02:00
Bjorn Stromberg e4d7e16da8 Add node v14 2020-05-05 11:33:35 +09:00
Christoph Dietrich 7176a039ba Update docker-publish.yml
If you change the IMAGE_NAME to something which is not "image" it will fail, because at the bottom was a hard fix "image" inside. 

Now its running.
2020-05-04 12:42:34 +02:00
Edward Skrod fc935ad052 Added 'sign' to the workflow description. 2020-05-03 08:12:18 -04:00
Edward Skrod 6ea0e1fa16 Reword the description. 2020-05-03 08:04:10 -04:00
Edward Skrod dd7519f49e Rename the workflow files and properties files from WPF to Desktop. 2020-05-03 07:57:14 -04:00
Alejandro R. Mosteo 427f63ab83 Ada starter workflow, icon and properties 2020-05-02 13:14:19 +02:00
Tim Dorr f543db49db Fix source image name on docker tag
This resolves an issue created by #472
2020-05-01 18:53:57 -04:00
Mike Coutermarsh 6adb515f32 Merge pull request #490 from Ayesh/composer-no-suggest
PHP: Remove deprectated composer --no-suggest
2020-05-01 14:48:52 -07:00
Ayesh Karunaratne 4931fda2f6 PHP: Remove deprectated composer --no-suggest
From Composer v2, `--no-suggest` option is removed: https://php.watch/articles/composer-2
2020-05-01 23:46:53 +07:00
Edward Skrod 951dfd0da3 Update the description with the proper case
Update the "Wpf" in the description  to "WPF" to reflect the proper case.
2020-05-01 06:56:47 -04:00
Edward Thomson 6ed18cebdc Merge pull request #486 from Coding/master
Update tencentcloud icon
2020-05-01 09:58:43 +01:00
Edward Thomson 7e8254e985 Merge pull request #487 from actions/cschleiden/categories
Set categories to `null` to be in sync with other workflows
2020-05-01 09:57:44 +01:00
Christopher Schleiden 89ffdad115 Set categories to null to be in sync with other workflows 2020-04-30 16:31:20 -07:00
mingshun 782ef79256 Update tencentcloud icon 2020-04-30 11:08:09 +08:00
Cameron Booth ffa1f65c2b Merge pull request #370 from Coding/master
Add Tencent Kubernetes Engine starter workflow
2020-04-29 10:52:12 -07:00
Edward Thomson a5c8a8223e Merge pull request #482 from edwardskrod/dev/edskrod/master/UpdateIcon
Updated the Wpf dotnetcore workflow icon to dotnetcore
2020-04-29 13:03:22 +01:00
mingshun c411e74e23 Modify workflow description 2020-04-29 10:02:53 +08:00
mingshun e5ca822488 Change the event that the workflow 2020-04-29 10:00:35 +08:00
mingshun 03bcd68379 Rename workflow to be the platform 2020-04-29 09:49:34 +08:00
mingshun d5e8e87192 Add Tencent Cloud icon 2020-04-29 09:43:42 +08:00
Cameron Booth 3556cc2d57 Merge pull request #483 from actions/terraform
Add Terraform
2020-04-28 12:55:49 -07:00
John Bohannon adc9b70b37 Add files via upload 2020-04-28 14:59:11 -04:00
Edward Skrod ad5ca30863 Updated the Wpf dotnetcore icon to dotnetcore 2020-04-28 14:50:43 -04:00
John Bohannon 20e3ada188 Create terraform.properties.json 2020-04-28 14:28:36 -04:00
John Bohannon 3c5440479d Create terraform.yml 2020-04-28 14:11:34 -04:00
Mike Coutermarsh f685e29caa Merge pull request #472 from sineverba/fix-docker-publish
Fix image name as env var
2020-04-27 14:56:06 -07:00
Steve Martinelli 0254a244d2 Add support for IBM Kuberenetes Service (IKS)
This patch adds support for deploying an application to IKS
by performing the following steps:

1. Downloading and installing the IBM Cloud CLI,
2. Building locally with Docker,
3. Pushing to ICR (IBM Container Registry), and
4. Deploying with kubectl to IKS

Co-authored-by: JJ Asghar <jjasghar@gmail.com>

Signed-off-by: Steve Martinelli <s.martinelli@gmail.com>
2020-04-27 14:04:36 -04:00
Mike Coutermarsh 58a75f1304 Merge pull request #477 from actions/ethomson/nodeci
node: remove CI=true environment variable
2020-04-26 11:05:00 -07:00
Edward Thomson 9bc2c5c75e node: remove CI=true environment variable
The CI environment variable is now set by GitHub Actions directly.
No need to set it in the workflow.
2020-04-26 19:01:56 +01:00
Edward Thomson 8c4fc57de8 Merge pull request #454 from edwardskrod/dev/edskrod/master/AddStarterWorkflowForDesktopApps
Added starter workflow for WPF .NET Core Desktop apps.
2020-04-21 10:02:14 +01:00
Edward Thomson e29256ca8d Merge pull request #457 from actions/ethomson/python
python: gracefully handle no requirements.txt
2020-04-21 10:00:50 +01:00
sineverba 8dc9fb3b3a Fix image name as env var 2020-04-20 08:54:47 +02:00
Edward Thomson 947661542c Merge pull request #448 from eregon/add-ruby-setup-ruby
Add starter workflow for ruby/setup-ruby
2020-04-17 11:19:00 +01:00
Edward Thomson eef30f852e Merge pull request #463 from seblm/scala-icon
Add Scala icon
2020-04-17 11:14:49 +01:00
Edward Thomson ddb0b367ee Merge pull request #469 from actions/update-go
update setup-go to v2
2020-04-17 11:13:34 +01:00
Bryan MacFarlane 2720260ff7 update setup-go to v2 2020-04-16 19:01:39 -04:00
Jim Hester 1c2ed214e0 Update R workflow based on review feedback 2020-04-16 13:31:59 -04:00
Iheanyi Ekechukwu db703268d3 Merge pull request #464 from jai/add-go-test
Add `Test` step to `go.yml` (Golang starter workflow)
2020-04-14 17:02:31 -04:00
Jai Govindani 6c7202a657 Add Test step
Testing in Go is a first-class citizen, any starter workflow should also have a Test step.
2020-04-14 18:10:05 +07:00
Sébastian Le Merdy acc6dd8232 Add Scala icon 2020-04-13 22:04:41 +02:00
Benoit Daloze 9dd8f4e44a Use a full commit sha as required by GitHub for 3rd-party actions 2020-04-10 23:09:51 +02:00
Edward Thomson 06b21b84fd python: gracefully handle no requirements.txt
If there's no requirements.txt then there's no need to `pip install`
them.
2020-04-09 08:41:42 +01:00
Edward Skrod 29e8a67beb Fixed case of wpf 2020-04-08 14:50:15 -04:00
Edward Skrod a3f957729c Responded to PR feedback. Added commit hash to microsoft setup action. 2020-04-08 10:17:52 -04:00
Edward Skrod 703084fb8c Renamed files and addressed PR feedback. 2020-04-07 12:24:02 -04:00
Edward Thomson 93e77af4c0 Merge pull request #451 from actions/ethomson/template_template
Update pull_request_template.md
2020-04-06 19:28:49 +01:00
Benoit Daloze 67ffe1ea7a Use ruby/setup-ruby for the Ruby starter workflow 2020-04-06 18:14:17 +02:00
Edward Skrod a2adc6fc73 Updated files with name that conforms to PR recommendations. 2020-04-06 10:32:56 -04:00
Edward Skrod 0c7710ef26 Added the properties file and updated the workflow file to conform to PR specifications. 2020-04-06 10:29:23 -04:00
Edward Skrod 2ac9c51b54 Added starter workflow for desktop apps. 2020-04-06 10:12:17 -04:00
Edward Thomson 51163e4853 Update pull_request_template.md 2020-04-06 13:02:13 +01:00
Edward Thomson ccaa3fe168 Update pull_request_template.md
Formatting updates.
2020-04-03 15:20:55 +01:00
Edward Thomson 20088f9456 Update pull_request_template.md 2020-04-03 15:14:18 +01:00
Edward Thomson 0bba821a5d Merge pull request #341 from fumieval/master
ci/haskell.yml: properly build dependencies, tests and benchmarks
2020-04-03 14:46:20 +01:00
Konrad Pabjan 1cd6633355 Merge pull request #444 from berndverst/patch-1
Adds App Service documentation references
2020-04-03 10:14:13 +02:00
Fumiaki Kinoshita 8635fcacca ci/haskell.yml: cache dependencies 2020-04-02 16:31:01 +09:00
Fumiaki Kinoshita 89a7d6d6fd ci/haskell.yml: properly build dependencies, tests and benchmarks 2020-04-02 16:30:38 +09:00
Bernd Verst 1355c6f439 Adds App Service documentation references
This workflow assumes an App Service web app has already been created and that a user knows how to obtain the desired input values. This cannot be assumed. Therefore I have included references to the relevant documentation.
2020-03-31 11:26:59 -07:00
Jake Jarvis 4411c79d20 docs: Correct location of corresponding properties.json files
These *.properties.json files need to go in the properties/ subfolder of ci/ or automation/, not the root. Fixed example accordingly.
2020-03-24 11:38:16 -04:00
Mike Coutermarsh ecc93c42b3 Merge pull request #430 from Licsber/master
Bug fix :  repository name must be lowercase
2020-03-21 13:20:31 -07:00
Mike Coutermarsh 07d1cc9bfb Merge pull request #418 from wysohn/patch-1
Inconsistent environmental variable name
2020-03-21 08:47:04 -07:00
Mike Coutermarsh cfe11139ad Merge pull request #428 from actions/ethomson/line_endings
Use consistent line endings
2020-03-21 08:45:29 -07:00
Edward Thomson 8beb802437 Renormalize line endings
We should have consistent line endings in our repository; now that we
have a .gitattributes file, update the repository contents to match
expectations.
2020-03-21 14:55:11 +00:00
Edward Thomson ed5cb0096e Include a .gitattributes
Every good git repository should have a .gitattributes file.
2020-03-21 14:53:31 +00:00
Mike Coutermarsh bffa6f39fb Merge pull request #432 from actions/ethomson/npm-publish
npm-publish: remove explicit scope
2020-03-20 08:44:05 -07:00
Mike Coutermarsh 287e743d09 Merge pull request #427 from actions/ethomson/dotnet
Update .NET Core CI template
2020-03-20 08:42:43 -07:00
Edward Thomson 391c5961e9 npm-publish: remove explicit scope
The setup-node action will default the scope to the correct user (the repo owner), so we do not need to explicitly include it in the workflow.  Removing it ensures that the starter template is easier for people to use; now there are no changes necessary to get started.  https://github.com/actions/setup-node/blob/master/src/authutil.ts#L26
2020-03-20 12:17:18 +00:00
Jiale Liu efb9b58902 Bug fix : repository name must be lowercase
https://github.com/Licsber/opencv-docker/runs/514244582?check_suite_focus=true
 Push image: 
Error parsing reference: "docker.pkg.github.com/Licsber/opencv-docker/opencv:latest" is not a valid repository/tag: invalid reference format: repository name must be lowercase
My username contains uppercase characters, this make push failed.
So fix the bug by change all uppercase in IMAGE_ID to lowercase.
2020-03-18 12:08:46 +08:00
Edward Thomson 781776c228 Update .NET Core CI template
Run a `dotnet restore` step, run tests.
2020-03-17 11:08:17 +00:00
wysohn 514247182a Inconsistent environmental variable name
https://help.github.com/en/packages/using-github-packages-with-your-projects-ecosystem/configuring-gradle-for-use-with-github-packages

In the example above, the Gradle code tries to get the token value from the `TOKEN`, yet this workflow saves the token in the `PASSWORD`.

Easy fix yet can save lots of time for newcomers.
2020-03-15 03:47:21 -07:00
Konrad Pabjan c934669ce2 Merge pull request #390 from N-Usha/patch-1
Updated template to use azure/webapps-deploy@v2
2020-03-09 14:31:38 +01:00
Usha N cb7f7926da Updated template to use azure/webapps-deploy@v2 2020-03-09 15:57:09 +05:30
Mike Coutermarsh a87d9c70b6 Merge pull request #380 from konradpabjan/revert-347-add-categories
Revert "Add missing categories"
2020-03-03 08:12:56 -08:00
Konrad Pabjan 1af242240f Revert "Add missing categories" 2020-03-03 17:06:43 +01:00
Mike Coutermarsh 223033b681 Merge pull request #375 from actions/ethomson/readme_suggestion
Update README with guidance
2020-02-29 17:05:06 -08:00
Mike Coutermarsh 32e42a51fb Update README.md 2020-02-29 17:04:55 -08:00
Andy McKay 66cdd92799 Merge pull request #355 from chenrui333/patch-2
Update ghc to v8.8.2
2020-02-28 10:46:35 -08:00
Edward Thomson 63d39d990b Update README with guidance
Tell people how to use these starter workflows.
2020-02-28 15:24:15 +00:00
Edward Thomson 20613d6143 Merge pull request #320 from timheuer/patch-1
Updating .NET Core SDK version to LTS
2020-02-28 14:50:35 +00:00
Mike Coutermarsh 94b39f136f Merge pull request #358 from konradpabjan/master
Update Starter Workflows
2020-02-27 07:26:10 -08:00
mingshun 90e0057b61 Add Tencent Cloud starter workflow 2020-02-27 10:57:33 +08:00
Konrad Pabjan 4e1cbdb464 PR feedback 2020-02-21 12:55:06 -05:00
Konrad Pabjan 5ce12321a2 Documentation for the basic workflow 2020-02-20 13:59:41 -05:00
Konrad Pabjan 5d2c37103a Misc updates 2020-02-20 13:11:39 -05:00
Konrad Pabjan 0c0e0c1a33 Update gradle 2020-02-20 12:54:19 -05:00
Konrad Pabjan b0d776c678 Documentation 2020-02-20 12:44:22 -05:00
Konrad Pabjan 325e76073b Add new starter workflows 2020-02-20 11:33:16 -05:00
Konrad Pabjan 2ecb907f13 More updates to starter workflows 2020-02-20 10:01:16 -05:00
chenrui 71225d47f5 Update ghc to v8.8.2 2020-02-19 21:07:29 -05:00
Mike Coutermarsh 48ae89ff98 Merge pull request #347 from actions/add-categories
Add missing categories
2020-02-15 18:48:21 -08:00
Patrick Marsceill e6a211ee2a Update ci/properties/aws.properties.json 2020-02-14 15:10:10 -05:00
Patrick Marsceill d932133378 Update google.properties.json 2020-02-14 15:09:41 -05:00
Patrick Marsceill 8088828c39 Update google.properties.json 2020-02-14 15:09:04 -05:00
Patrick Marsceill 4d107f13f7 Update azure.properties.json 2020-02-14 15:08:30 -05:00
Patrick Marsceill d8d2171b12 Update aws.properties.json 2020-02-14 15:07:00 -05:00
Konrad Pabjan d037e97e82 Update starter workflows 2020-02-12 13:26:01 -05:00
Andy McKay e5a3a0e112 Merge pull request #317 from Bhupesh-V/django-workflow
Django workflow
2020-02-07 08:14:00 -08:00
Bhupesh Varshney b1cd1732eb remove additional config
Removed Additional setup for reading SECRET_KEYs
2020-02-07 18:37:20 +05:30
Bhupesh Varshney 43b0ff3ed0 use actions v2 2020-02-04 14:05:26 +05:30
Mike Coutermarsh 450e791e65 Merge pull request #315 from endolith/patch-1
Remove Python 2.7 from default tests
2020-01-30 16:11:07 -08:00
Edward Thomson d81f56295b Merge pull request #325 from mkj-is/patch-1
Fix macOS virtual machine case in Swift workflow
2020-01-30 14:13:02 +00:00
Matěj Kašpar Jirásek a93d98e2ef Fix macOS virtual machine case in Swift workflow 2020-01-30 14:52:55 +01:00
Chris Sidi 708e95bab1 Switch back to npm ci (#214)
Switch back to using `npm ci`, which is more efficient than `npm install`
2020-01-29 16:34:28 -05:00
Tim Heuer c19bd5e378 Updating .NET Core SDK version to LTS
2.2 is no longer supported, so moving to latest SDK released for .NET core which supports and encourages LTS runtime version as well as down-level building.
2020-01-28 15:23:17 -08:00
Mike Coutermarsh 3f617a9e90 Merge pull request #307 from richardlau/patch-1
Remove End-of-Life Node.js 8.x
2020-01-28 09:03:37 -08:00
Bhupesh Varshney e1de33dd71 Update django.yml 2020-01-23 20:02:46 +05:30
Bhupesh Varshney 533b24eb42 Update django.properties.json 2020-01-23 19:58:58 +05:30
Bhupesh Varshney 966381e246 Create django.properties.json 2020-01-23 19:50:34 +05:30
Bhupesh Varshney 0312cce503 create django.yml 2020-01-23 19:47:58 +05:30
John Bohannon e82b9dd7b2 Merge pull request #304 from remyoudemans/patch-1
Remove hardcoded values from google.yml
2020-01-21 15:07:40 -08:00
endolith f2cf5bdb47 Remove Python 2.7 from default tests
Python 2 is deprecated: https://www.python.org/doc/sunset-python-2/
2020-01-18 20:34:03 -05:00
Gleb Bahmutov 17d9115a99 add comment about cypress gh action 2020-01-15 16:29:35 -05:00
Gleb Bahmutov 99a3541086 add Cypress starter workflow 2020-01-15 16:18:25 -05:00
Richard Lau 595b40510a Remove End-of-Life Node.js 8.x
Node.js 8 went End-of-Life at the end of 2019 and should not be used in new workflows.
2020-01-12 08:33:58 +00:00
Rémy Oudemans 0de7b7f1ae Make registry hostname and deployment name vars
The google.yml deployment workflow starter hardcoded the registry hostname as `gcr.io` even though there are other possible registry hostnames. It also hardcoded the deployment name. This puts them in env variables and adds to the comments that they need to be adjusted by the user.
2020-01-10 17:11:21 +01:00
Jonathan Clem 121d2ab7ff Merge pull request #219 from mijailr/actions/elixir
Use actions/setup-elixir
2020-01-08 15:34:16 -05:00
Jonathan Clem 1f997e9a87 Use specific versions, remove rebar/hex
Rebar and hex are installed by the action already
2020-01-08 15:29:10 -05:00
fjy202 f30fb6cf24 pylint 2020-01-08 21:41:28 +08:00
fjy202 4d60a5fb72 Create pylint.yml 2020-01-08 21:39:31 +08:00
fjy202 36ead1ae0d Delete pylint.yml 2020-01-08 21:38:25 +08:00
fjy202 44de3f55de Pylint 2020-01-08 21:36:19 +08:00
Mike Coutermarsh 48b117b9d3 Update elixir.yml 2020-01-05 14:29:49 -08:00
Mike Coutermarsh 70678a442f Merge branch 'master' into actions/elixir 2020-01-05 14:28:22 -08:00
Mike Coutermarsh 14ce72202c Merge pull request #281 from Kristories/patch-1
Add Directory Permissions
2020-01-05 14:21:37 -08:00
Mike Coutermarsh ae04f367cd Merge pull request #284 from sullis/checkout-v1-v2
GitHub Actions checkout v1 -> v2
2020-01-05 14:17:16 -08:00
Sean C. Sullivan ca86544176 GitHub Actions checkout v1 -> v2 2019-12-24 14:22:22 -08:00
Wahyu Kristianto e675aed815 Add Directory Permissions 2019-12-24 19:57:16 +07:00
Chris Patterson b7bbd0d61b Merge pull request #278 from rachmari/patch-2
Use product name
2019-12-21 09:09:40 -05:00
Rachael Sewell 04e15fb463 Use product name 2019-12-20 14:55:35 -08:00
Andy McKay 02907c3386 Merge pull request #276 from rachmari/patch-2
Remove max-parallel
2019-12-20 13:04:53 -08:00
Rachael Sewell 3216c40dc6 Remove max-parallel 2019-12-20 09:00:05 -08:00
Mike Coutermarsh 8919cfd5e6 Merge pull request #250 from actions/ethomson/npmpublish
GitHub Package Registry is now GitHub Packages
2019-12-10 18:16:28 -08:00
Edward Thomson 69953a434c GitHub Package Registry is now GitHub Packages 2019-12-08 09:58:56 +11:00
Chris Sidi b8c1015cb2 Don't use actions/checkout@master (#240)
See https://github.com/actions/toolkit/blob/master/docs/action-versioning.md
2019-12-04 09:13:48 -05:00
Mike Coutermarsh d675ee1249 Merge pull request #207 from Twonki/patch-1
Fixed Broken Links
2019-11-29 18:16:04 -05:00
Mike Coutermarsh c01d4fce64 Merge pull request #217 from actions/docs/google-starter-workflow
Update google.yml
2019-11-29 18:15:04 -05:00
Mijail Rondon 3ec148162c Add comments to required arguments 2019-11-23 06:27:05 -05:00
Mijail Rondon 6939f3ae6d Use actions/setup-elixir 2019-11-23 06:16:37 -05:00
John Bohannon 6150fb4632 Update google.yml 2019-11-21 08:47:27 -05:00
John Bohannon 481a0913ef Update google.yml 2019-11-20 21:29:34 -05:00
L. Applis 611aeebdf7 Fixed Broken Links
There was no Code of Conduct in this Repository, so it points to the one given as proposal in the Issue Template. 

There is a Licence, however the link was broken for me too.
2019-11-19 11:56:51 +00:00
Andy McKay c8833c3887 Merge pull request #202 from sclaire-1/master
Edit CONTRIBUTING.md
2019-11-18 10:57:33 -08:00
sclaire-1 7b17fb7a4b Edit CONTRIBUTING.md
The sentence introducing the requirements before merging has been edited to improve flow
2019-11-17 16:44:11 -08:00
Ben Heil 2697ad6a58 Changed name to be more descriptive 2019-11-15 13:27:03 -05:00
Ben Heil 2287251421 Improved description and fixed name 2019-11-15 13:26:42 -05:00
Ben Heil 5ce3567640 Added properties.json file 2019-11-15 13:23:52 -05:00
Ben Heil e5854d803d Add a workflow for managing packages with miniconda 2019-11-15 13:21:28 -05:00
Edward Thomson bf76e89bff Merge pull request #195 from ethomson/cloud
Add cloud starter workflows
2019-11-14 06:42:11 -08:00
Trey 05a16cf675 Add partner workflows 2019-11-14 06:37:06 -08:00
Christer Edvartsen f1662044f7 Use actions/cache for the Composer packages 2019-11-14 15:24:32 +01:00
Chris Sidi a33d16cad6 Use separate steps for install, build and test (#192)
* Use separate steps for install, build and test

Having separate steps makes it easier to determine what failed.

Switching from `npm ci` to `npm install` because the Windows image uses node v8.10.0 and npm v5.6.0. `ci` was introduced in npm v5.7.0.

See https://github.com/actions/virtual-environments/issues/88

* Remove `name`
2019-11-12 11:06:49 -05:00
Mike Coutermarsh 2ce3a0ec1a Merge pull request #179 from josh/docker
Add Docker push to GitHub Package Registry
2019-11-07 17:34:45 -08:00
Ian Young 1a5f94bc68 Add caching to Elixir workflow 2019-11-07 12:47:49 -06:00
Mike Coutermarsh 00e9f4c09e Merge pull request #181 from cclauss/patch-1
Upgrade from Python 3.7 to 3.8
2019-11-04 16:54:56 -08:00
Mike Coutermarsh ec1515576f Merge pull request #182 from cclauss/patch-2
Add Python 3.8 to the tests
2019-11-04 16:54:24 -08:00
Mike Coutermarsh d905e1a4db Merge pull request #183 from danielpclin/patch-1
Gradle: Granting execute permission for gradlew
2019-11-04 16:49:13 -08:00
Joshua Peek 8c3d01f201 Add Docker push to GitHub Package Registry
Co-authored-by: Nathan Herald <me@nathanherald.com>
2019-11-04 12:35:20 -08:00
Andy McKay a8bbec5200 Merge pull request #164 from jdkelley/jdkelley/brokenLink
Fix broken link. CONTRIBUTING.md is not in the same directory as pull…
2019-11-04 08:21:40 -08:00
林柏臣 30640b57f2 Gradle: Granting execute permission for gradlew
`./gradlew` build fails because it does not have execute permissions. Adding the execute permissions using chmod fixes this issue.
See https://github.com/actions/starter-workflows/pull/70
2019-11-04 10:46:50 +08:00
Christian Clauss c174991b14 Add Python 3.8 to the tests 2019-11-03 14:43:52 +01:00
Christian Clauss e9d34e43e5 Upgrade from Python 3.7 to 3.8 2019-11-03 14:41:39 +01:00
Joshua Kelley a4dd230e64 Change relative link to fully qualified link. 2019-11-01 22:57:48 -04:00
Mike Coutermarsh a8be2ef60a Merge pull request #173 from actions/ethomson/dotnetcore
Rename "ASP.NET Core" to ".NET Core", add language identifiers.
2019-10-23 17:16:20 -07:00
Edward Thomson c7129d8fd7 Properties: Rename "ASP.NET Core" to ".NET Core", add language categories
Add language categories matching linguist identifiers so that .NET Core template is recommended.
2019-10-23 14:03:00 +01:00
Edward Thomson b1a374cb86 Rename "ASP.NET Core" to ".NET Core"
The .NET Core template is not ASP specific.  Change the name to ".NET Core".
2019-10-23 13:45:35 +01:00
Brad Davis 9342fc5f27 Fix workflow name to drop 'CI' 2019-10-18 09:27:36 -07:00
Brad Davis d78d85f6c7 Applying naming feedback, adding comments and expanding target platforms 2019-10-18 09:24:35 -07:00
Hayden Faulds bf9694e89a Merge pull request #170 from carlosbuenosvinos/patch-1
Fix TYPO in the comment block
2019-10-18 14:54:42 +01:00
Carlos Buenosvinos 0ce39950d6 Fix TYPO in the comment block 2019-10-18 15:51:16 +02:00
Mike Coutermarsh 254c11de8a Merge pull request #167 from actions/ethomson/label_instructions
Pull Request Labeler: add instructions
2019-10-16 18:44:40 -07:00
Mike Coutermarsh 272bf3b441 Merge pull request #168 from josh/ws
Trim trailing whitespace
2019-10-16 18:44:08 -07:00
Joshua Peek 24f2f86d00 Trim trailing whitespace 2019-10-16 12:40:14 -07:00
Edward Thomson fbda5df60b Pull Request Labeler: add instructions
It was pointed out (https://github.com/actions/labeler/issues/18) that when using the labeler from the starter-workflow, it's not clear that there is more work to do to configure the action.  Add information and link to the action's README.
2019-10-16 18:30:34 +01:00
Jim Hester 99de2a93da Add R starter workflow
This adds a workflow for [R packages](https://www.r-project.org/). It
uses a [setup-r](https://github.com/r-lib/actions/tree/master/setup-r) action and two R packages
  - [remotes](https://remotes.r-lib.org/) - to install the R package dependencies
  - [rcmdcheck](https://github.com/r-lib/rcmdcheck) - to run and format the output of the package checking tool used in the R ecosystem.
2019-10-16 13:17:56 -04:00
Joshua Kelley 62b675a84c Fix broken link. CONTRIBUTING.md is not in the same directory as pull_request_template.md. 2019-10-11 12:22:25 -04:00
Andy McKay c7da5a7e80 Merge pull request #61 from leafac/patch-1
Use npm ci instead of npm install
2019-10-08 08:23:04 -07:00
Leandro Facchinetti f761ff73ad Keep the name the same 2019-10-08 09:45:07 -04:00
Andy McKay fa623365b4 Merge pull request #56 from zachguo/patch-1
fix npm-publish.yml
2019-10-07 13:55:19 -07:00
Andy McKay 87b9b0ca12 Merge pull request #54 from JackTreble/master
Add Scala workflow
2019-10-07 13:47:21 -07:00
Andy McKay 36419cb342 Merge pull request #88 from christeredvartsen/issue/15-php-template
Initial commit of PHP template
2019-10-07 13:43:34 -07:00
Andy McKay 4529f67135 Merge pull request #138 from roberto-butti/issue/116-laravel-template
Added Laravel template
2019-10-07 13:42:47 -07:00
Mike Coutermarsh f2e7da9712 Merge pull request #160 from mjhoy/use-haskell-setup
add setup-haskell action to haskell starter workflow
2019-10-05 13:10:05 -07:00
Jack Treble 28e1d85265 change iconName to blank 2019-10-04 17:50:53 +01:00
Michael Hoy 8a8e98dcfe add setup-haskell action to haskell starter workflow 2019-10-04 05:48:05 -04:00
Andy McKay 2b82d4e930 Delete CODE_OF_CONDUCT.md
As per idea from @okuryu there's now an org wide CODE_OF_CONDUCT, so let's just remove this.
2019-10-03 15:15:16 -07:00
Andy McKay ad93884ba3 Merge pull request #156 from actions/add-in-contributing
Add in guidelines for contributing
2019-10-03 14:14:25 -07:00
Roberto B 9f247c9a93 updating due review feedback about following the guidelines 2019-10-03 10:08:25 +02:00
Roberto B f83534a553 Merge branch 'master' into issue/116-laravel-template 2019-10-03 10:00:59 +02:00
Christer Edvartsen 01383c3f3f Change name and add comment regarding test script 2019-10-03 07:08:21 +02:00
Andy McKay 23fb7443be Merge pull request #81 from khoi/swift
Add Swift starter template
2019-10-02 16:51:24 -07:00
Andy McKay e53ea0147d rewrite the pull request template based on feedback 2019-10-02 08:26:13 -07:00
Andy McKay 8b9421c5a8 Update CONTRIBUTING.md
Co-Authored-By: Mike Coutermarsh <mscoutermarsh@github.com>
2019-10-01 13:57:51 -07:00
Andy McKay 59e90d901f Update CONTRIBUTING.md
Co-Authored-By: Mike Coutermarsh <mscoutermarsh@github.com>
2019-10-01 13:57:44 -07:00
Andy McKay 039ac063c2 Update .github/pull_request_template.md
Co-Authored-By: Mike Coutermarsh <mscoutermarsh@github.com>
2019-10-01 13:57:34 -07:00
Andy McKay f2431fbcb0 add in guidelines for contributing 2019-10-01 13:36:41 -07:00
Mike Coutermarsh 9f464a7c99 Merge pull request #113 from nono/patch-1
Update go version to 1.13
2019-09-24 16:50:28 -07:00
Mike Coutermarsh 7ef22763e7 Merge pull request #139 from aibaars/maven-batch
maven.yml: add `-B` to the maven command line
2019-09-24 16:47:41 -07:00
Arthur Baars 117a695161 maven.yml: add -B to the maven command line
Add the `-B` (batch mode) to the `mvn` command line. In interactive mode maven prints many lines of download progress output filling the console output with thousands of useless lines. Ideally the github-actions console would interpret `\r' as carriage return (go back to the beginning of the current line and overwrite it). As long as that is not the case using `-B` is a good workaround.
2019-09-20 12:41:36 -07:00
Roberto B 8365b9ecb2 Added Laravel template 2019-09-20 18:44:58 +02:00
Brad Davis d01030b5b8 Switch to out-of-source builds 2019-09-19 14:39:49 -07:00
Zach Guo 7f515b734a only trigger npm publish on release creation event 2019-09-17 12:31:43 -07:00
Bruno Michel 65acb4a192 Update go version to 1.13 2019-09-10 08:48:48 +02:00
Jack Treble b0a460212d add JDK setup & add scala.properties.json 2019-09-09 11:12:23 +01:00
Jonathan Clem dcaa948ed3 Merge pull request #55 from tsloughter/erlang-rebar3
update Erlang workflow to rebar3
2019-09-06 15:19:13 -04:00
Mike Coutermarsh 57d97826a2 Merge pull request #69 from montudor-forks/ci/python-pypi
Publish Python package to PyPI workflow
2019-09-06 11:52:00 -07:00
Monte Hellawell 03063e080a Only trigger workflow on release created event action 2019-09-05 12:10:28 +01:00
Chris Patterson 13af371169 Adding python application template 2019-09-04 13:32:35 -04:00
Mike Coutermarsh 239b6d1b96 Merge pull request #94 from VincentTam/patch-1
Used absolute path for '/srv/jekyll'
2019-09-03 09:58:53 -07:00
Vincent Tam 93f235a08a Used absolute path for '/srv/jekyll'
To avoid error "chmod: srv/jekyll: No such file or directory", see https://github.com/VincentTam/beautiful-jekyll/commit/2d0370a1f93818a8a8e19dc364e8906ee76aedd7/checks#step:3:6.
2019-09-02 23:21:23 +02:00
Christer Edvartsen c2600f2e02 Initial commit of PHP template
Resolves #15
2019-09-01 13:36:46 +02:00
Jeremy Epling 77cce53687 Merge pull request #82 from actions/kaylangan-patch-1
Run daily not hourly
2019-08-29 14:53:36 -04:00
Kayla Ngan bb1f3bb0b8 Run daily not hourly 2019-08-29 14:52:56 -04:00
khoi 941b3de36e Add Swift starter template 2019-08-29 14:21:24 +07:00
Monte Hellawell aef55ffd4b Add publish python workflow 2019-08-25 01:13:29 +01:00
Leandro Facchinetti bc65c241ed Use npm ci instead of npm install
https://docs.npmjs.com/cli/ci.html
2019-08-21 11:12:54 -04:00
Zach Guo 654b83e0f3 fix absent node_modules for npm publish 2019-08-20 15:00:38 -07:00
Tristan Sloughter e74b1236d2 update Erlang workflow to rebar3
rebar3 no longer has a separate step for fetching dependencies so
this step is removed. Common Test is enabled in the test run so it
will run all tests.

The Erlang docker image is used instead of ubuntu because ubuntu
has no package for rebar3.
2019-08-20 14:38:08 -06:00
Jack Treble 3eb436ecce Add Scala template 2019-08-20 15:12:26 +01:00
Brad Davis 9de067fdf0 Add a starter cmake workflow 2019-08-16 10:21:30 -07:00
150 changed files with 4418 additions and 528 deletions
+1
View File
@@ -0,0 +1 @@
* text=auto
@@ -0,0 +1,30 @@
---
name: Code Scanning onboarding
about: Captures all the information and tasks required to onboard a 3rd party project into Code Scanning
title: 'Code Scanning Partner: '
labels: 'code scanning'
assignees: ''
---
:wave: Thanks for your interest in integrating with Code Scanning! To ensure a swift onboarding of your integration, please provide the following `Requested information` and complete the `Action items` below:
## Requested information
- [ ] Name of your integration:
- [ ] Name of your product / company:
- [ ] Description of your integration:
- [ ] Languages supported by your integration:
- [ ] [For integrations leveraging GitHub Actions] PR for your proposed workflow:
- [ ] URL to an SVG logo representing your integration / product / company:
## Action items
- [ ] Apply to join the GitHub Technology Partner Program: [partner.github.com/apply](https://partner.github.com/apply?partnershipType=Technology+Partner)
- [ ] Develop your integration, by _either_ [following this guide for GitHub Actions](https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/uploading-a-sarif-file-to-github#uploading-a-code-scanning-analysis-with-github-actions), or [integrating directly with the REST API](https://docs.github.com/en/rest/reference/code-scanning#upload-a-sarif-file)
- [ ] [For integrations leveraging GitHub Actions] Submit a PR in this repo for your proposed starter workflow. The workflow should:
- [ ] Live in [the `code-scanning` directory](https://github.com/actions/starter-workflows/tree/main/code-scanning)
- [ ] Have a filename that is in accordance with your product / service / business name, in [_kebab-cased_ format](https://en.wikipedia.org/wiki/Kebab_case), with a `.yml` file extension
- [ ] Include comments describing the workflows behavior ([example](https://github.com/actions/starter-workflows/blob/c59b62dee0eae1f9f368b7011cf05c2fc42cf084/code-scanning/codeql.yml#L1-L11))
- [ ] Trigger on push, pull_request, and schedule events ([example](https://github.com/actions/starter-workflows/blob/c59b62dee0eae1f9f368b7011cf05c2fc42cf084/code-scanning/codeql.yml#L14-L21))
- [ ] Reference your GitHub Action using a 40-char commit SHA (e.g. `uses: github/codeql-action@a3a8231e64d3db0e7da0f3b56b9521dcccdfe412`)
- [ ] Update the `Requested information` above, ensuring all details are correct
- [ ] When ready, please ping `@actions/advanced-security-code-scanning` in a comment below, for a review :bow:
+37
View File
@@ -0,0 +1,37 @@
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:
* A playground to try out scripts
* A place for you to create a workflow for your repository
---
**Please note that at this time we are only accepting new starter workflows for Code Scanning. Updates to existing starter workflows are fine.**
---
In the workflow and properties files:
- [ ] 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").
The workflow filename of publishing workflows should be the name of the language or platform, in lower case, followed by "-publish".
- [ ] Includes a matching `ci/properties/*.properties.json` file.
- [ ] Use sentence case for the names of workflows and steps, for example "Run tests".
- [ ] The name of CI workflows should only be the name of the language or platform: for example "Go" (not "Go CI" or "Go Build")
- [ ] Include comments in the workflow for any parts that are not obvious or could use clarification.
- [ ] CI workflows should run on `push` to `branches: [ $default-branch ]` and `pull_request` to `branches: [ $default-branch ]`.
- [ ] Packaging workflows should run on `release` with `types: [ created ]`.
- [ ] Code Scanning workflows 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`.
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 recommend 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.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
```
- [ ] Automation and CI workflows should not send data to any 3rd party service except for the purposes of installing dependencies.
- [ ] Automation and CI workflows cannot be dependent on a paid service or product.
+19
View File
@@ -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.
+19
View File
@@ -0,0 +1,19 @@
name: Close as a support issue
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, 'support')
with:
comment: |
Sorry, but we'd like to keep issues related to code in this repository. Thank you 🙇
If you have questions about writing workflows or action files, then please [visit the GitHub Community Forum's Actions Board](https://github.community/t5/GitHub-Actions/bd-p/actions)
If you are having an issue or question about GitHub Actions then please [contact customer support](https://help.github.com/en/articles/about-github-actions#contacting-support)
+20
View File
@@ -0,0 +1,20 @@
name: Mark stale issues and pull requests
on:
schedule:
- cron: "21 4 * * *"
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
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
+32
View File
@@ -0,0 +1,32 @@
name: Sync workflows for GHES
on:
push:
branches:
- main
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: |
git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
git config user.email "cschleiden@github.com"
git config user.name "GitHub Actions"
- uses: actions/setup-node@v1
with:
node-version: '12'
- name: Check starter workflows for GHES compat
run: |
npm ci
npx ts-node-script ./index.ts
working-directory: ./script/sync-ghes
- run: |
git add -A
if [ -z "$(git status --porcelain)" ]; then
echo "No changes to commit"
else
git commit -m "Updating GHES workflows"
fi
- run: git push
+21
View File
@@ -0,0 +1,21 @@
name: Validate Data
on:
push:
pull_request:
jobs:
validate-data:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12"
- name: Validate workflows
run: |
npm ci
npx ts-node-script ./index.ts
working-directory: ./script/validate-data
+1
View File
@@ -0,0 +1 @@
script/**/node_modules
+21
View File
@@ -0,0 +1,21 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"args": ["${workspaceRoot}/script/index.ts"],
"runtimeArgs": ["-r", "ts-node/register"],
"cwd": "${workspaceRoot}/script",
"protocol": "inspector",
"internalConsoleOptions": "openOnSessionStart",
"env": {
"TS_NODE_IGNORE": "false"
}
}
]
}
+3
View File
@@ -0,0 +1,3 @@
* @actions/actions-experience
/code-scanning/ @actions/advanced-security-code-scanning
+24
View File
@@ -0,0 +1,24 @@
## Contributing
[code-of-conduct]: CODE_OF_CONDUCT.md
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/main/LICENSE).
Please note that this project is released with a [Contributor Code of Conduct](
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:
- 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.
- Automation and CI workflows should not send data to any 3rd party service except for the purposes of installing dependencies.
- Automation and CI workflows cannot be dependent on a paid service or product.
- We recommend that Actions outside of the `actions` organization be pinned to a specific SHA.
Thank you
+3 -2
View File
@@ -1,6 +1,6 @@
MIT License
Copyright (c) 2019 GitHub
Copyright (c) 2020 GitHub
Permission is hereby granted, free of charge, to any person obtaining a copy
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
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
SOFTWARE.
SOFTWARE. THIS LICENSE DOES NOT GRANT YOU RIGHTS TO USE ANY CONTRIBUTORS'
NAME, LOGO, OR TRADEMARKS.
+6 -3
View File
@@ -4,18 +4,21 @@
## Starter Workflows
<img src="https://d3vv6lp55qjaqc.cloudfront.net/items/353A3p3Y2x3c2t2N0c01/Image%202019-08-27%20at%203.25.07%20PM.png" max-width="75%"/>
These are the workflow files for helping people get started with GitHub Actions. They're presented whenever you start to create a new GitHub Actions workflow.
These are the workflow files for helping people get started with GitHub Actions.
**If you want to get started with GitHub Actions, you can use these starter workflows by clicking the "Actions" tab in the repository where you want to create a workflow.**
<img src="https://d3vv6lp55qjaqc.cloudfront.net/items/353A3p3Y2x3c2t2N0c01/Image%202019-08-27%20at%203.25.07%20PM.png" max-width="75%"/>
**Directory structure:**
* [ci](ci): solutions for Continuous Integration
* [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
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/python-django.properties.json`.
For example: `ci/django.yml` and `ci/properties/django.properties.json`.
**Valid properties:**
* `name`: the name shown in onboarding
+2 -2
View File
@@ -9,5 +9,5 @@ jobs:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: 'Message that will be displayed on users'' first issue'
pr-message: 'Message that will be displayed on users'' first pr'
issue-message: 'Message that will be displayed on users first issue'
pr-message: 'Message that will be displayed on users first pull request'
+8 -1
View File
@@ -1,3 +1,10 @@
# This workflow will triage pull requests and apply a label based on the
# paths that are modified in the pull request.
#
# To use this workflow, you will need to set up a .github/labeler.yml
# file with configuration. For more information, see:
# https://github.com/actions/labeler
name: Labeler
on: [pull_request]
@@ -9,4 +16,4 @@ jobs:
steps:
- uses: actions/labeler@v2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
repo-token: "${{ secrets.GITHUB_TOKEN }}"
+30
View File
@@ -0,0 +1,30 @@
# This is a basic workflow that is manually triggered
name: Manual workflow
# Controls when the action will run. Workflow runs when manually triggered using the UI
# or API.
on:
workflow_dispatch:
# Inputs the workflow accepts.
inputs:
name:
# Friendly description to be shown in the UI instead of 'name'
description: 'Person to greet'
# Default value if no value is explicitly provided
default: 'World'
# Input has to be provided for the workflow to run
required: true
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "greet"
greet:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Runs a single command using the runners shell
- name: Send greeting
run: echo "Hello ${{ github.event.inputs.name }}"
@@ -0,0 +1,6 @@
{
"name": "Manual workflow",
"description": "Simple workflow that is manually triggered.",
"iconName": "octicon person",
"categories": ["Automation"]
}
+3 -3
View File
@@ -2,15 +2,15 @@ name: Mark stale issues and pull requests
on:
schedule:
- cron: "0 * * * *"
- cron: "30 1 * * *"
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v1
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'Stale issue message'
+24
View File
@@ -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
+118
View File
@@ -0,0 +1,118 @@
# 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
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
+23 -17
View File
@@ -1,17 +1,23 @@
name: Android CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Gradle
run: ./gradlew build
name: Android CI
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
+24 -17
View File
@@ -1,17 +1,24 @@
name: Java CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Ant
run: ant -noinput -buildfile build.xml
# This workflow will build a Java project with Ant
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-ant
name: Java CI
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Ant
run: ant -noinput -buildfile build.xml
-17
View File
@@ -1,17 +0,0 @@
name: ASP.NET Core CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 2.2.108
- name: Build with dotnet
run: dotnet build --configuration Release
+80
View File
@@ -0,0 +1,80 @@
# This workflow will build and push a new container image to Amazon ECR,
# and then will deploy a new task definition to Amazon ECS, when a release is created
#
# To use this workflow, you will need to complete the following set-up steps:
#
# 1. Create an ECR repository to store your images.
# For example: `aws ecr create-repository --repository-name my-ecr-repo --region us-east-2`.
# Replace the value of `ECR_REPOSITORY` in the workflow below with your repository's name.
# Replace the value of `aws-region` in the workflow below with your repository's region.
#
# 2. Create an ECS task definition, an ECS cluster, and an ECS service.
# For example, follow the Getting Started guide on the ECS console:
# https://us-east-2.console.aws.amazon.com/ecs/home?region=us-east-2#/firstRun
# Replace the values for `service` and `cluster` in the workflow below with your service and cluster names.
#
# 3. Store your ECS task definition as a JSON file in your repository.
# The format should follow the output of `aws ecs register-task-definition --generate-cli-skeleton`.
# Replace the value of `task-definition` in the workflow below with your JSON file's name.
# Replace the value of `container-name` in the workflow below with the name of the container
# in the `containerDefinitions` section of the task definition.
#
# 4. Store an IAM user access key in GitHub Actions secrets named `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY`.
# See the documentation for each action used below for the recommended IAM policies for this IAM user,
# and best practices on handling the access key credentials.
on:
release:
types: [created]
name: Deploy to Amazon ECS
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-2
- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1
- name: Build, tag, and push image to Amazon ECR
id: build-image
env:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
ECR_REPOSITORY: my-ecr-repo
IMAGE_TAG: ${{ github.sha }}
run: |
# Build a docker container and
# push it to ECR so that it can
# be deployed to ECS.
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
echo "::set-output name=image::$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG"
- name: Fill in the new image ID in the Amazon ECS task definition
id: task-def
uses: aws-actions/amazon-ecs-render-task-definition@v1
with:
task-definition: task-definition.json
container-name: sample-app
image: ${{ steps.build-image.outputs.image }}
- name: Deploy Amazon ECS task definition
uses: aws-actions/amazon-ecs-deploy-task-definition@v1
with:
task-definition: ${{ steps.task-def.outputs.task-definition }}
service: sample-app-service
cluster: default
wait-for-service-stability: true
+50
View File
@@ -0,0 +1,50 @@
# This workflow will build and push a node.js application to an Azure Web App when a release is created.
#
# This workflow assumes you have already created the target Azure App Service web app.
# For instructions see https://docs.microsoft.com/azure/app-service/app-service-plan-manage#create-an-app-service-plan
#
# To configure this workflow:
#
# 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
#
# 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 samples to get started with GitHub Action workflows to deploy to Azure, refer to https://github.com/Azure/actions-workflow-samples
on:
release:
types: [created]
env:
AZURE_WEBAPP_NAME: your-app-name # set this to your application's name
AZURE_WEBAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root
NODE_VERSION: '10.x' # set this to the node version to use
jobs:
build-and-deploy:
name: Build and Deploy
runs-on: ubuntu-latest
environment: production
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v1
with:
node-version: ${{ env.NODE_VERSION }}
- name: npm install, build, and test
run: |
# Build and test the project, then
# deploy to Azure Web App.
npm install
npm run build --if-present
npm run test --if-present
- name: 'Deploy to Azure WebApp'
uses: azure/webapps-deploy@v2
with:
app-name: ${{ env.AZURE_WEBAPP_NAME }}
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
package: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }}
+36 -17
View File
@@ -1,17 +1,36 @@
name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Run a one-line script
run: echo Hello, world!
- name: Run a multi-line script
run: |
echo Add other actions to build,
echo test, and deploy your project.
# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the $default-branch branch
push:
branches: [ $default-branch ]
pull_request:
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
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# Runs a single command using the runners shell
- name: Run a one-line script
run: echo Hello, world!
# Runs a set of commands using the runners shell
- name: Run a multi-line script
run: |
echo Add other actions to build,
echo test, and deploy your project.
+23 -19
View File
@@ -1,19 +1,23 @@
name: C/C++ CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: configure
run: ./configure
- name: make
run: make
- name: make check
run: make check
- name: make distcheck
run: make distcheck
name: C/C++ CI
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: configure
run: ./configure
- name: make
run: make
- name: make check
run: make check
- name: make distcheck
run: make distcheck
+19 -15
View File
@@ -1,15 +1,19 @@
name: Clojure CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install dependencies
run: lein deps
- name: Run tests
run: lein test
name: Clojure CI
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: lein deps
- name: Run tests
run: lein test
+46
View File
@@ -0,0 +1,46 @@
name: CMake
on: [push]
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: Create Build Environment
# Some projects don't allow in-source building, so create a separate build directory
# We'll use this as our working directory for all subsequent commands
run: cmake -E make_directory ${{github.workspace}}/build
- name: Configure CMake
# Use a bash shell so we can use the same syntax for environment variable
# access regardless of the host operating system
shell: bash
working-directory: ${{github.workspace}}/build
# Note the current convention is to use the -S and -B options here to specify source
# and build directories, but this is only available with CMake 3.13 and higher.
# The CMake binaries on the Github Actions machines are (as of this writing) 3.12
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE
- name: Build
working-directory: ${{github.workspace}}/build
shell: bash
# Execute the build. You can specify a specific target with "--target <NAME>"
run: cmake --build . --config $BUILD_TYPE
- name: Test
working-directory: ${{github.workspace}}/build
shell: bash
# Execute tests defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: ctest -C $BUILD_TYPE
+22 -18
View File
@@ -1,18 +1,22 @@
name: Crystal CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
container:
image: crystallang/crystal
steps:
- uses: actions/checkout@v1
- name: Install dependencies
run: shards install
- name: Run tests
run: crystal spec
name: Crystal CI
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
runs-on: ubuntu-latest
container:
image: crystallang/crystal
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: shards install
- name: Run tests
run: crystal spec
+29
View File
@@ -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
+41 -18
View File
@@ -1,18 +1,41 @@
name: Dart CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
container:
image: google/dart:latest
steps:
- uses: actions/checkout@v1
- name: Install dependencies
run: pub get
- name: Run tests
run: pub run test
name: Dart
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
runs-on: ubuntu-latest
# Note that this workflow uses the latest stable version of the Dart SDK.
# Docker images for other release channels - like dev and beta - are also
# available. See https://hub.docker.com/r/google/dart/ for the available
# images.
container:
image: google/dart:latest
steps:
- uses: actions/checkout@v2
- name: Print Dart SDK version
run: dart --version
- 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
View File
@@ -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 and run tests across stable and nightly builds on Windows, Ubuntu and macOS.
# For more information see: https://github.com/denolib/setup-deno
name: Deno
on:
push:
branches: [$default-branch]
pull_request:
branches: [$default-branch]
jobs:
test:
runs-on: ${{ matrix.os }} # runs a test on Ubuntu, Windows and macOS
strategy:
matrix:
deno: ["v1.x", "nightly"]
os: [macOS-latest, windows-latest, ubuntu-latest]
steps:
- name: Setup repo
uses: actions/checkout@v2
- name: Setup Deno
uses: denolib/setup-deno@c7d7968ad4a59c159a777f79adddad6872ee8d96
with:
deno-version: ${{ matrix.deno }} # tests across multiple Deno versions
- name: Cache Dependencies
run: deno cache deps.ts
- name: Run Tests
run: deno test -A --unstable
+30
View File
@@ -0,0 +1,30 @@
name: Django CI
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Tests
run: |
python manage.py test
+18 -14
View File
@@ -1,14 +1,18 @@
name: Docker Image CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Build the Docker image
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)
name: Docker Image CI
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the Docker image
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)
+76
View File
@@ -0,0 +1,76 @@
name: Docker
on:
push:
# Publish `$default-branch` as Docker `latest` image.
branches:
- $default-branch
# Publish `v1.2.3` tags as releases.
tags:
- v*
# Run tests for any PRs.
pull_request:
env:
# TODO: Change variable to your image's name.
IMAGE_NAME: image
jobs:
# Run tests.
# 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
if: github.event_name == 'push'
steps:
- uses: actions/checkout@v2
- name: Build image
run: docker build . --file Dockerfile --tag $IMAGE_NAME
- name: Log into registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin
- name: Push image
run: |
IMAGE_ID=docker.pkg.github.com/${{ github.repository }}/$IMAGE_NAME
# Change all uppercase to lowercase
IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')
# Strip git ref prefix from version
VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')
# 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
+115
View File
@@ -0,0 +1,115 @@
# 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 build, test, sign and package a WPF or Windows Forms desktop application
# built on .NET Core.
# To learn how to migrate your existing application to .NET Core,
# refer to https://docs.microsoft.com/en-us/dotnet/desktop-wpf/migration/convert-project-from-net-framework
#
# To configure this workflow:
#
# 1. Configure environment variables
# GitHub sets default environment variables for every workflow run.
# Replace the variables relative to your project in the "env" section below.
#
# 2. Signing
# Generate a signing certificate in the Windows Application
# Packaging Project or add an existing signing certificate to the project.
# Next, use PowerShell to encode the .pfx file using Base64 encoding
# by running the following Powershell script to generate the output string:
#
# $pfx_cert = Get-Content '.\SigningCertificate.pfx' -Encoding Byte
# [System.Convert]::ToBase64String($pfx_cert) | Out-File 'SigningCertificate_Encoded.txt'
#
# Open the output file, SigningCertificate_Encoded.txt, and copy the
# string inside. Then, add the string to the repo as a GitHub secret
# and name it "Base64_Encoded_Pfx."
# For more information on how to configure your signing certificate for
# this workflow, refer to https://github.com/microsoft/github-actions-for-desktop-apps#signing
#
# Finally, add the signing certificate password to the repo as a secret and name it "Pfx_Key".
# See "Build the Windows Application Packaging project" below to see how the secret is used.
#
# For more information on GitHub Actions, refer to https://github.com/features/actions
# For a complete CI/CD sample to get started with GitHub Action workflows for Desktop Applications,
# refer to https://github.com/microsoft/github-actions-for-desktop-apps
name: .NET Core Desktop
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
strategy:
matrix:
configuration: [Debug, Release]
runs-on: windows-latest # For a list of available runner types, refer to
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on
env:
Solution_Name: your-solution-name # Replace with your solution name, i.e. MyWpfApp.sln.
Test_Project_Path: your-test-project-path # Replace with the path to your test project, i.e. MyWpfApp.Tests\MyWpfApp.Tests.csproj.
Wap_Project_Directory: your-wap-project-directory-name # Replace with the Wap project directory relative to the solution, i.e. MyWpfApp.Package.
Wap_Project_Path: your-wap-project-path # Replace with the path to your Wap project, i.e. MyWpf.App.Package\MyWpfApp.Package.wapproj.
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
# Install the .NET Core workload
- name: Install .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
- name: Setup MSBuild.exe
uses: microsoft/setup-msbuild@2008f912f56e61277eefaac6d1888b750582aa16
# Execute all unit tests in the solution
- name: Execute unit tests
run: dotnet test
# Restore the application to populate the obj folder with RuntimeIdentifiers
- name: Restore the application
run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration
env:
Configuration: ${{ matrix.configuration }}
# Decode the base 64 encoded pfx and save the Signing_Certificate
- name: Decode the pfx
run: |
$pfx_cert_byte = [System.Convert]::FromBase64String("${{ secrets.Base64_Encoded_Pfx }}")
$certificatePath = Join-Path -Path $env:Wap_Project_Directory -ChildPath GitHubActionsWorkflow.pfx
[IO.File]::WriteAllBytes("$certificatePath", $pfx_cert_byte)
# Create the app package by building and packaging the Windows Application Packaging project
- name: Create the app package
run: msbuild $env:Wap_Project_Path /p:Configuration=$env:Configuration /p:UapAppxPackageBuildMode=$env:Appx_Package_Build_Mode /p:AppxBundle=$env:Appx_Bundle /p:PackageCertificateKeyFile=GitHubActionsWorkflow.pfx /p:PackageCertificatePassword=${{ secrets.Pfx_Key }}
env:
Appx_Bundle: Always
Appx_Bundle_Platforms: x86|x64
Appx_Package_Build_Mode: StoreUpload
Configuration: ${{ matrix.configuration }}
# Remove the pfx
- name: Remove the pfx
run: Remove-Item -path $env:Wap_Project_Directory\$env:Signing_Certificate
# Upload the MSIX package: https://github.com/marketplace/actions/upload-artifact
- name: Upload build artifacts
uses: actions/upload-artifact@v2
with:
name: MSIX Package
path: ${{ env.Wap_Project_Directory }}\AppPackages
+25
View File
@@ -0,0 +1,25 @@
name: .NET
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
+21 -11
View File
@@ -1,21 +1,31 @@
name: Elixir CI
on: push
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
name: Build and test
runs-on: ubuntu-latest
container:
image: elixir:1.9.1-slim
steps:
- uses: actions/checkout@v1
- name: Install Dependencies
run: |
mix local.rebar --force
mix local.hex --force
mix deps.get
- name: Run Tests
- uses: actions/checkout@v2
- name: Set up Elixir
uses: actions/setup-elixir@v1
with:
elixir-version: '1.10.3' # Define the elixir version [required]
otp-version: '22.3' # Define the OTP version [required]
- name: Restore dependencies cache
uses: actions/cache@v2
with:
path: deps
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: ${{ runner.os }}-mix-
- name: Install dependencies
run: mix deps.get
- name: Run tests
run: mix test
+23 -18
View File
@@ -1,18 +1,23 @@
name: Erlang CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install dependencies
run: rebar get-deps
- name: Compile
run: rebar compile
- name: Run tests
run: rebar skip_deps=true eunit
name: Erlang CI
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
runs-on: ubuntu-latest
container:
image: erlang:22.0.7
steps:
- uses: actions/checkout@v2
- name: Compile
run: rebar3 compile
- name: Run tests
run: rebar3 do eunit, ct
+9 -11
View File
@@ -1,12 +1,10 @@
name: Ruby Gem
on:
pull_request:
branches:
- master
push:
branches:
- master
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
@@ -14,23 +12,23 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2
- name: Set up Ruby 2.6
uses: actions/setup-ruby@v1
with:
version: 2.6.x
ruby-version: 2.6.x
- name: Publish to GPR
run: |
mkdir -p $HOME/.gem
touch $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 push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem
env:
GEM_HOST_API_KEY: ${{secrets.GPR_AUTH_TOKEN}}
OWNER: username
GEM_HOST_API_KEY: "Bearer ${{secrets.GITHUB_TOKEN}}"
OWNER: ${{ github.repository_owner }}
- name: Publish to RubyGems
run: |
@@ -41,4 +39,4 @@ jobs:
gem build *.gemspec
gem push *.gem
env:
GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_AUTH_TOKEN}}
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
+25 -28
View File
@@ -1,28 +1,25 @@
name: Go
on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.12
uses: actions/setup-go@v1
with:
go-version: 1.12
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v1
- 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
run: go build -v .
name: Go
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...
+79
View File
@@ -0,0 +1,79 @@
# This workflow will build a docker container, publish it to Google Container Registry, and deploy it to GKE when a release is created
#
# To configure this workflow:
#
# 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 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, 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
on:
release:
types: [created]
env:
PROJECT_ID: ${{ secrets.GKE_PROJECT }}
GKE_CLUSTER: cluster-1 # TODO: update to cluster name
GKE_ZONE: us-central1-c # TODO: update to cluster zone
DEPLOYMENT_NAME: gke-test # TODO: update to deployment name
IMAGE: static-site
jobs:
setup-build-publish-deploy:
name: Setup, Build, Publish, and Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
# Setup gcloud CLI
- uses: google-github-actions/setup-gcloud@v0.2.0
with:
service_account_key: ${{ secrets.GKE_SA_KEY }}
project_id: ${{ secrets.GKE_PROJECT }}
# Configure Docker to use the gcloud command-line tool as a credential
# helper for authentication
- run: |-
gcloud --quiet auth configure-docker
# Get the GKE credentials so we can deploy to the cluster
- uses: google-github-actions/get-gke-credentials@v0.2.1
with:
cluster_name: ${{ env.GKE_CLUSTER }}
location: ${{ env.GKE_ZONE }}
credentials: ${{ secrets.GKE_SA_KEY }}
# Build the Docker image
- name: Build
run: |-
docker build \
--tag "gcr.io/$PROJECT_ID/$IMAGE:$GITHUB_SHA" \
--build-arg GITHUB_SHA="$GITHUB_SHA" \
--build-arg GITHUB_REF="$GITHUB_REF" \
.
# Push the Docker image to Google Container Registry
- name: Publish
run: |-
docker push "gcr.io/$PROJECT_ID/$IMAGE:$GITHUB_SHA"
# Set up kustomize
- name: Set up Kustomize
run: |-
curl -sfLo kustomize https://github.com/kubernetes-sigs/kustomize/releases/download/v3.1.0/kustomize_3.1.0_linux_amd64
chmod u+x ./kustomize
# Deploy the Docker image to the GKE cluster
- name: Deploy
run: |-
./kustomize edit set image gcr.io/PROJECT_ID/IMAGE:TAG=gcr.io/$PROJECT_ID/$IMAGE:$GITHUB_SHA
./kustomize build . | kubectl apply -f -
kubectl rollout status deployment/$DEPLOYMENT_NAME
kubectl get services -o wide
+33
View File
@@ -0,0 +1,33 @@
# 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
name: Gradle Package
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file
- name: Build with Gradle
run: gradle build
# The USERNAME and TOKEN need to correspond to the credentials environment variables used in
# the publishing section of your build.gradle
- name: Publish to GitHub Packages
run: gradle publish
env:
USERNAME: ${{ github.actor }}
TOKEN: ${{ secrets.GITHUB_TOKEN }}
+26 -17
View File
@@ -1,17 +1,26 @@
name: Java CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Gradle
run: ./gradlew build
# This workflow will build a Java project 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
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
+40 -19
View File
@@ -1,19 +1,40 @@
name: Haskell CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install dependencies
run: cabal install --only-dependencies --enable-tests
- name: Build
run: |
cabal configure --enable-tests
cabal build
- name: Run tests
run: cabal test
name: Haskell CI
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-haskell@v1
with:
ghc-version: '8.10.3'
cabal-version: '3.2'
- name: Cache
uses: actions/cache@v1
env:
cache-name: cache-cabal
with:
path: ~/.cabal
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/*.cabal') }}-${{ hashFiles('**/cabal.project') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install dependencies
run: |
cabal update
cabal build --only-dependencies --enable-tests --enable-benchmarks
- name: Build
run: cabal build --enable-tests --enable-benchmarks all
- name: Run tests
run: cabal test all
+74
View File
@@ -0,0 +1,74 @@
# This workflow will build a docker container, publish it to IBM Container Registry, and deploy it to IKS when a release is created
#
# To configure this workflow:
#
# 1. Ensure that your repository contains a Dockerfile
# 2. Setup secrets in your repository by going to settings: Create ICR_NAMESPACE and IBM_CLOUD_API_KEY
# 3. Change the values for the IBM_CLOUD_REGION, REGISTRY_HOSTNAME, IMAGE_NAME, IKS_CLUSTER, DEPLOYMENT_NAME, and PORT
name: Build and Deploy to IKS
on:
release:
types: [created]
# Environment variables available to all jobs and steps in this workflow
env:
GITHUB_SHA: ${{ github.sha }}
IBM_CLOUD_API_KEY: ${{ secrets.IBM_CLOUD_API_KEY }}
IBM_CLOUD_REGION: us-south
ICR_NAMESPACE: ${{ secrets.ICR_NAMESPACE }}
REGISTRY_HOSTNAME: us.icr.io
IMAGE_NAME: iks-test
IKS_CLUSTER: example-iks-cluster-name-or-id
DEPLOYMENT_NAME: iks-test
PORT: 5001
jobs:
setup-build-publish-deploy:
name: Setup, Build, Publish, and Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
# Download and Install IBM Cloud CLI
- name: Install IBM Cloud CLI
run: |
curl -fsSL https://clis.cloud.ibm.com/install/linux | sh
ibmcloud --version
ibmcloud config --check-version=false
ibmcloud plugin install -f kubernetes-service
ibmcloud plugin install -f container-registry
# Authenticate with IBM Cloud CLI
- name: Authenticate with IBM Cloud CLI
run: |
ibmcloud login --apikey "${IBM_CLOUD_API_KEY}" -r "${IBM_CLOUD_REGION}" -g default
ibmcloud cr region-set "${IBM_CLOUD_REGION}"
ibmcloud cr login
# Build the Docker image
- name: Build with Docker
run: |
docker build -t "$REGISTRY_HOSTNAME"/"$ICR_NAMESPACE"/"$IMAGE_NAME":"$GITHUB_SHA" \
--build-arg GITHUB_SHA="$GITHUB_SHA" \
--build-arg GITHUB_REF="$GITHUB_REF" .
# Push the image to IBM Container Registry
- name: Push the image to ICR
run: |
docker push $REGISTRY_HOSTNAME/$ICR_NAMESPACE/$IMAGE_NAME:$GITHUB_SHA
# Deploy the Docker image to the IKS cluster
- name: Deploy to IKS
run: |
ibmcloud ks cluster config --cluster $IKS_CLUSTER
kubectl config current-context
kubectl create deployment $DEPLOYMENT_NAME --image=$REGISTRY_HOSTNAME/$ICR_NAMESPACE/$IMAGE_NAME:$GITHUB_SHA --dry-run -o yaml > deployment.yaml
kubectl apply -f deployment.yaml
kubectl rollout status deployment/$DEPLOYMENT_NAME
kubectl create service loadbalancer $DEPLOYMENT_NAME --tcp=80:$PORT --dry-run -o yaml > service.yaml
kubectl apply -f service.yaml
kubectl get services -o wide
+42
View File
@@ -0,0 +1,42 @@
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: |
device=`instruments -s -devices | 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: |
device=`instruments -s -devices | 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"
+20 -16
View File
@@ -1,16 +1,20 @@
name: Jekyll site CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Build the site in the jekyll/builder container
run: |
docker run \
-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"
name: Jekyll site CI
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the site in the jekyll/builder container
run: |
docker run \
-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"
+35
View File
@@ -0,0 +1,35 @@
name: Laravel
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
laravel-tests:
runs-on: ubuntu-latest
steps:
- uses: shivammathur/setup-php@b7d1d9c9a92d8d8463ce36d7f60da34d461724f8
with:
php-version: '8.0'
- uses: actions/checkout@v2
- name: Copy .env
run: php -r "file_exists('.env') || copy('.env.example', '.env');"
- name: Install Dependencies
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
- name: Generate key
run: php artisan key:generate
- name: Directory Permissions
run: chmod -R 777 storage bootstrap/cache
- name: Create Database
run: |
mkdir -p database
touch database/database.sqlite
- name: Execute tests (Unit and Feature tests) via PHPUnit
env:
DB_CONNECTION: sqlite
DB_DATABASE: database/database.sqlite
run: vendor/bin/phpunit
+30
View File
@@ -0,0 +1,30 @@
# 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
name: Maven Package
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Publish to GitHub Packages Apache Maven
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml
env:
GITHUB_TOKEN: ${{ github.token }}
+24 -17
View File
@@ -1,17 +1,24 @@
name: Java CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Maven
run: mvn package --file pom.xml
# This workflow will build a Java project 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
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Maven
run: mvn -B package --file pom.xml
+32
View File
@@ -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/setup-msbuild@v1
- 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}}
+30 -26
View File
@@ -1,26 +1,30 @@
name: Node CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [8.x, 10.x, 12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
run: |
npm install
npm run build --if-present
npm test
env:
CI: true
# This workflow will do a clean install of node dependencies, 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
name: Node.js CI
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x, 14.x, 15.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm test
+11 -11
View File
@@ -1,18 +1,17 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
name: Node.js Package
on:
pull_request:
branches:
- master
push:
branches:
- master
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
@@ -23,11 +22,12 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
@@ -36,12 +36,12 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://npm.pkg.github.com/
scope: '@your-github-username'
registry-url: $registry-url(npm)
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
+152
View File
@@ -0,0 +1,152 @@
# 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/
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 the port your application should be accessible on.
APP_PORT: 8080
# ⬇️ 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-20.04
steps:
- 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
uses: redhat-actions/buildah-build@v1
with:
image: ${{ env.APP_NAME }}
tag: ${{ env.TAG }}
# If you don't have a dockerfile, see:
# https://github.com/redhat-actions/buildah-build#building-from-scratch
# 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@v1
with:
image: ${{ env.APP_NAME }}
tag: ${{ env.TAG }}
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/oc-installer#readme is available.
# 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.
# Feel free to replace this with 'oc apply', 'helm install', or however you like to deploy your app.
- name: Create and expose app
run: |
export IMAGE="${{ steps.push-to-registry.outputs.registry-path }}"
export PORT=${{ env.APP_PORT }}
export SELECTOR="app=${{ env.APP_NAME }}"
echo "SELECTOR=$SELECTOR" >> $GITHUB_ENV
set -x
# Take down any old deployment
oc delete all --selector="$SELECTOR"
oc new-app --name $APP_NAME --docker-image="$IMAGE"
# Make sure the app port is exposed
oc patch svc $APP_NAME -p "{ \"spec\": { \"ports\": [{ \"name\": \"$PORT-tcp\", \"port\": $PORT }] } }"
oc expose service $APP_NAME --port=$PORT
oc get all --selector="$SELECTOR"
set +x
export ROUTE="$(oc get route $APP_NAME -o jsonpath='{.spec.host}')"
echo "$APP_NAME is exposed at $ROUTE"
echo "ROUTE=$ROUTE" >> $GITHUB_ENV
- 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 }}'\""
+37
View File
@@ -0,0 +1,37 @@
name: PHP Composer
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Validate composer.json and composer.lock
run: composer validate
- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: Install dependencies
if: steps.composer-cache.outputs.cache-hit != 'true'
run: composer install --prefer-dist --no-progress --no-suggest
# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
# Docs: https://getcomposer.org/doc/articles/scripts.md
# - name: Run test suite
# run: composer run-script test
+6
View File
@@ -0,0 +1,6 @@
{
"name": "Ada",
"description": "Build Ada project with GPRbuild.",
"iconName": "ada",
"categories": ["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": null
}
+6 -6
View File
@@ -1,6 +1,6 @@
{
"name": "Android CI",
"description": "Build an Android project with Gradle.",
"iconName": "android",
"categories": ["Java", "Mobile"]
}
{
"name": "Android CI",
"description": "Build an Android project with Gradle.",
"iconName": "android",
"categories": ["Java", "Mobile"]
}
+6 -6
View File
@@ -1,6 +1,6 @@
{
"name": "Java with Ant",
"description": "Build and test a Java project with Apache Ant.",
"iconName": "ant",
"categories": ["Ant", "Java"]
}
{
"name": "Java with Ant",
"description": "Build and test a Java project with Apache Ant.",
"iconName": "ant",
"categories": ["Ant", "Java"]
}
@@ -1,6 +0,0 @@
{
"name": "ASP.NET Core",
"description": "Build and test an ASP.NET Core project targeting .NET Core.",
"iconName": "dotnetcore",
"categories": ["ASP", "ASP.NET", ".NET"]
}
+7
View File
@@ -0,0 +1,7 @@
{
"name": "Deploy to Amazon ECS",
"description": "Deploy a container to an Amazon ECS service powered by AWS Fargate or Amazon EC2.",
"creator": "Amazon Web Services",
"iconName": "aws",
"categories": null
}
+7
View File
@@ -0,0 +1,7 @@
{
"name": "Deploy Node.js to Azure Web App",
"description": "Build a Node.js project and deploy it to an Azure Web App.",
"creator": "Microsoft Azure",
"iconName": "azure",
"categories": null
}
+6 -6
View File
@@ -1,6 +1,6 @@
{
"name": "Simple workflow",
"description": "Start with a file with the minimum necessary structure.",
"iconName": "blank",
"categories": null
}
{
"name": "Simple workflow",
"description": "Start with a file with the minimum necessary structure.",
"iconName": "blank",
"categories": null
}
+6 -6
View File
@@ -1,6 +1,6 @@
{
"name": "C/C++ with Make",
"description": "Build and test a C/C++ project using Make.",
"iconName": "c-cpp",
"categories": ["C", "C++"]
}
{
"name": "C/C++ with Make",
"description": "Build and test a C/C++ project using Make.",
"iconName": "c-cpp",
"categories": ["C", "C++"]
}
+6 -6
View File
@@ -1,6 +1,6 @@
{
"name": "Clojure",
"description": "Build and test a Clojure project with Leiningen.",
"iconName": "clojure",
"categories": ["Clojure", "Java"]
}
{
"name": "Clojure",
"description": "Build and test a Clojure project with Leiningen.",
"iconName": "clojure",
"categories": ["Clojure", "Java"]
}
+6
View File
@@ -0,0 +1,6 @@
{
"name": "CMake based projects",
"description": "Build and test a CMake based project.",
"iconName": "cmake",
"categories": ["C", "C++"]
}
+6 -6
View File
@@ -1,6 +1,6 @@
{
"name": "Crystal",
"description": "Build and test a Crystal project.",
"iconName": "crystal",
"categories": ["Crystal"]
}
{
"name": "Crystal",
"description": "Build and test a Crystal project.",
"iconName": "crystal",
"categories": ["Crystal"]
}
+6
View File
@@ -0,0 +1,6 @@
{
"name": "D",
"description": "Build and test a D project with dub.",
"iconName": "d",
"categories": [ "D" ]
}
+6 -6
View File
@@ -1,6 +1,6 @@
{
"name": "Dart",
"description": "Build and test a Dart project with Pub.",
"iconName": "dart",
"categories": ["Dart"]
}
{
"name": "Dart",
"description": "Build and test a Dart project with Pub.",
"iconName": "dart",
"categories": ["Dart"]
}
+6
View File
@@ -0,0 +1,6 @@
{
"name": "Deno",
"description": "Test your Deno project",
"iconName": "deno",
"categories": ["JavaScript", "TypeScript", "Deno"]
}
+6
View File
@@ -0,0 +1,6 @@
{
"name": "Django",
"description": "Build and Test a Django Project",
"iconName": "django",
"categories": ["Python", "Django"]
}
+6 -6
View File
@@ -1,6 +1,6 @@
{
"name": "Docker image",
"description": "Build a Docker image to deploy, run, or push to a registry.",
"iconName": "docker",
"categories": ["Dockerfile"]
}
{
"name": "Docker image",
"description": "Build a Docker image to deploy, run, or push to a registry.",
"iconName": "docker",
"categories": ["Dockerfile"]
}
@@ -0,0 +1,6 @@
{
"name": "Publish Docker Container",
"description": "Build, test and push Docker image to GitHub Packages.",
"iconName": "docker",
"categories": ["Dockerfile"]
}
@@ -0,0 +1,6 @@
{
"name": ".NET Desktop",
"description": "Build, test, sign and publish a desktop application built on .NET.",
"iconName": "dotnet",
"categories": ["C#", "Visual Basic", "WPF", ".NET"]
}
+6
View File
@@ -0,0 +1,6 @@
{
"name": ".NET",
"description": "Build and test a .NET or ASP.NET Core project.",
"iconName": "dotnet",
"categories": ["C#", "F#", "Visual Basic", "ASP", "ASP.NET", ".NET"]
}
+6 -6
View File
@@ -1,6 +1,6 @@
{
"name": "Elixir",
"description": "Build and test an Elixir project with Mix.",
"iconName": "elixir",
"categories": ["Elixir", "Erlang"]
}
{
"name": "Elixir",
"description": "Build and test an Elixir project with Mix.",
"iconName": "elixir",
"categories": ["Elixir", "Erlang"]
}
+6 -6
View File
@@ -1,6 +1,6 @@
{
"name": "Erlang",
"description": "Build and test an Erlang project with rebar.",
"iconName": "erlang",
"categories": ["Erlang"]
}
{
"name": "Erlang",
"description": "Build and test an Erlang project with rebar.",
"iconName": "erlang",
"categories": ["Erlang"]
}
+6 -6
View File
@@ -1,6 +1,6 @@
{
"name": "Go",
"description": "Build a Go project.",
"iconName": "go",
"categories": ["Go"]
}
{
"name": "Go",
"description": "Build a Go project.",
"iconName": "go",
"categories": ["Go"]
}
+7
View File
@@ -0,0 +1,7 @@
{
"name": "Build and Deploy to GKE",
"description": "Build a docker container, publish it to Google Container Registry, and deploy to GKE.",
"creator": "Google Cloud",
"iconName": "googlegke",
"categories": null
}
@@ -0,0 +1,6 @@
{
"name": "Publish Java Package with Gradle",
"description": "Build a Java Package using Gradle and publish to GitHub Packages.",
"iconName": "gradle",
"categories": ["Java", "Gradle"]
}
+6 -6
View File
@@ -1,6 +1,6 @@
{
"name": "Gradle",
"description": "Build and test a Java project using a Gradle wrapper script.",
"iconName": "gradle",
"categories": ["Java", "Gradle"]
}
{
"name": "Java with Gradle",
"description": "Build and test a Java project using a Gradle wrapper script.",
"iconName": "gradle",
"categories": ["Java", "Gradle"]
}
+6 -6
View File
@@ -1,6 +1,6 @@
{
"name": "Haskell",
"description": "Build and test a Haskell project with Cabal.",
"iconName": "haskell",
"categories": ["Haskell"]
}
{
"name": "Haskell",
"description": "Build and test a Haskell project with Cabal.",
"iconName": "haskell",
"categories": ["Haskell"]
}
+7
View File
@@ -0,0 +1,7 @@
{
"name": "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",
"iconName": "ibm",
"categories": null
}
+9
View File
@@ -0,0 +1,9 @@
{
"name": "iOS",
"description": "Build and test an iOS application using xcodebuild and any available iPhone simulator.",
"iconName": "xcode",
"categories": [
"iOS",
"Xcode"
]
}
+6 -6
View File
@@ -1,6 +1,6 @@
{
"name": "Jekyll",
"description": "Package a Jekyll site using the jekyll/builder Docker image.",
"iconName": "jekyll",
"categories": ["HTML"]
}
{
"name": "Jekyll",
"description": "Package a Jekyll site using the jekyll/builder Docker image.",
"iconName": "jekyll",
"categories": ["HTML"]
}
+9
View File
@@ -0,0 +1,9 @@
{
"name": "Laravel",
"description": "Test a Laravel project.",
"iconName": "php",
"categories": [
"PHP",
"Laravel"
]
}
@@ -0,0 +1,6 @@
{
"name": "Publish Java Package with Maven",
"description": "Build a Java Package using Maven and publish to GitHub Packages.",
"iconName": "maven",
"categories": ["Java", "Maven"]
}
+6 -6
View File
@@ -1,6 +1,6 @@
{
"name": "Maven",
"description": "Build and test a Java project with Apache Maven.",
"iconName": "maven",
"categories": ["Java", "Maven"]
}
{
"name": "Java with Maven",
"description": "Build and test a Java project with Apache Maven.",
"iconName": "maven",
"categories": ["Java", "Maven"]
}
+6
View File
@@ -0,0 +1,6 @@
{
"name": "MSBuild based projects",
"description": "Build a MSBuild based project.",
"iconName": "c-cpp",
"categories": ["C", "C++"]
}
+6 -6
View File
@@ -1,6 +1,6 @@
{
"name": "Node.js",
"description": "Build and test a Node.js project with npm.",
"iconName": "nodejs",
"categories": ["JavaScript", "Node", "Npm"]
}
{
"name": "Node.js",
"description": "Build and test a Node.js project with npm.",
"iconName": "nodejs",
"categories": ["JavaScript", "Node", "Npm"]
}
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "Node.js Package",
"description": "Publishes a Node.js package to npm and GitHub Package Registry.",
"name": "Publish Node.js Package",
"description": "Publishes a Node.js package to npm and GitHub Packages.",
"iconName": "node-package-transparent",
"categories": ["JavaScript", "SDLC"]
}
+7
View File
@@ -0,0 +1,7 @@
{
"name": "OpenShift",
"description": "Build a Docker-based project and deploy it to OpenShift.",
"creator": "Red Hat",
"iconName": "openshift",
"categories": [ "Dockerfile" ]
}
+6
View File
@@ -0,0 +1,6 @@
{
"name": "PHP",
"description": "Build and test a PHP application using Composer",
"iconName": "php",
"categories": ["PHP", "Composer"]
}
+6
View File
@@ -0,0 +1,6 @@
{
"name": "Pylint",
"description": "Lint a Python application with pylint.",
"iconName": "python",
"categories": ["Python"]
}
+6
View File
@@ -0,0 +1,6 @@
{
"name": "Python application",
"description": "Create and test a Python application.",
"iconName": "python",
"categories": ["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": ["Python"]
}
+6 -6
View File
@@ -1,6 +1,6 @@
{
"name": "Python package",
"description": "Create and test a Python package on multiple Python versions.",
"iconName": "python",
"categories": ["Python"]
}
{
"name": "Python package",
"description": "Create and test a Python package on multiple Python versions.",
"iconName": "python",
"categories": ["Python"]
}

Some files were not shown because too many files have changed in this diff Show More