20 ms·
GitHub Actions now supports CI/CD, free for public repositories
- sytse 7y agoThis is great news for developers. The trend has been to combine version control and CI for years now. For a timeline see https://about.gitlab.com/2019/08/08/built-in-ci-cd-version-control-secret/ https://about.gitlab.com/2019/08/08/built-in-ci-cd-version-c... This is bad news for the CI providers that depend on GitHub, in particular CircleCI. Luckily for them (or maybe they saw this coming) they recently raised a series D https://circleci.com/blog/we-raised-a-56m-series-d-what-s-next-for-circleci-customers/ https://circleci.com/blog/we-raised-a-56m-series-d-what-s-ne... and are already looking to add support for more platforms. It is hard to depend on a marketplace when it starts competing with you, from planning (Waffle.io), to dependency scanning (Gemnasium acquired by us), to CI (Travis CI layoff where especially sad). It is interesting that a lot of the things GitHub is shipping is already part of Azure DevOps https://docs.microsoft.com/en-us/azure/architecture/example-scenario/apps/devops-dotnet-webapp https://docs.microsoft.com/en-us/azure/architecture/example-... The overlap between Azure DevOps and GitHub seems to increase instead of to be reduced. I wonder what the integration story is and what will happen to Azure DevOps.
- deleted 7y ago[deleted]
- Axsuul 7y agoI don't think it's that bad for CircleCI. CircleCI's focus is CI/CD and it's highly unlikely GitHub is going to do it as well as them. It's hardly commoditized technology. Their current customers are already heavily integrated with them and their orbs offering is further solidifying that relationship. Also, GitHub is expanding the CI/CD market with Actions so competitors in this space are likely to benefit. Furthermore: - waffle.io was acquired and shutdown by the acquiree - TravisCI was sold to a private equity firm and lost their way
- rumanator 7y ago> it's highly unlikely GitHub is going to do it as well as them. They don't need to. They only need to be able to run tasks in sequence when triggered by some event, and the rest just builds itself. An integrated solution that bundles issue tracking, CICD pipelines, and package/container repository always beats spreading each feature throughout multiple separate service providers.
- Axsuul 7y ago> An integrated solution that bundles issue tracking, CICD pipelines, and package/container repository always beats spreading each feature throughout multiple separate service providers. I agree but with GitHub actions, it's also possible for CircleCI to build a tight integration. When it comes down to it, each CI system has its idiosyncracies so choosing a CI system isn't as simple as how tightly integrated it is (e.g. how flexible it is with Docker, or the way it builds containers, or running multi-container setups)
- lbotos 7y ago> I don't think it's that bad for CircleCI. CircleCI's focus is CI/CD and it's highly unlikely GitHub is going to do it as well as them. I don't think it's bad for entrenched CircleCI users, sure, but I do think it's bad for prospective CircleCI users, who, are likely using GitHub already, so why would they not use something tightly integrated? If you don't think GitHub is going to try and increase adoption of this tool then why did they build it? (Work at GitLab; Opinions are my own)
- rmetzler 7y agoI think a good strategy for Microsoft would be to reuse as much as possible CI/CD code from github in Azure devops. Azure devops probably doesn’t need to be as flexible as long as it is robust and just works. Github will probably be the place where experiments can happen.
- pas 7y agoAzure Pipelines is currently considered the best CI/CD solution. (For example see GitLab issues about how users would like GitLab to improve theirs.)
- twalla 7y ago[citation needed]
- Guillaume86 7y agoI'm in the process of replacing TeamCity with Azure Pipelines (not my choice). It's ok but I also doubt it's best in class, TeamCity is far better IMO (more flexible, more informations/actions on one screen, less clicks, better logs display, better tests results display, live tests results, etc). I wish they had an hosted offer, and yaml configuration.
- pas 7y agoCan't find the discussion now on GitLab, but I recall comments claiming that Azure Pipelines is very flexible, and GitLab CI's new task DAG should be modeled after that.
- kkapelon 7y agoLast time I checked Azure Pipelines still doesn't have build caching https://developercommunity.visualstudio.com/content/idea/365799/improve-hosted-build-agent-performance-with-build.html https://developercommunity.visualstudio.com/content/idea/365... F.S. I work for Codefresh a CI/CD solution
- 7y ago
- snitko 7y agoIt's a horrible trend. CI should not be tied to version control. I mean we all have to deal with it now, but I'd much rather have my CI agnostic and not have config files for it checked into the repo. I've browsed through the article you linked to, one of the subtitles was "Realizing the future of DevOps is a single application". Also a horrible idea: I think it locks developers into a certain workflow which is hard to escape. You have an issue with your setup you can't figure out - happened to me with Gitlab CI - sorry, you're out of luck. Every application is different, DevOps processes is something to be carefully crafted for each particular case with many considerations: large/small company, platform, development cycle, people preferred workflow etc. What I like to do is to have small well tested parts constitute my devops. It's a bad idea to adopt something just because everyone is doing this. To sum it up, code should be separate from testing, deployment etc. On our team, I make sure developers don't have to think about devops. They know how to deploy and test and they know the workflow and commands. But that's about it.
- clinta 7y agoI'm an operations guy, but I think I have a different perspective. The developers I work with don't have to think about CI/CD, but the configuration still lives in the repo, I'm just a contributer to that repo like they are. Having CI configuration separate from the code sounds like a nightmare when a code change requires CI configurations to be updated. A new version of code requires a new dependency for instance, there needs to be a way to tie the CI configuration change with a commit that introduced that dependency. That comes automatically when they're in the same repo.
- triceratops 7y agoAny reason CI providers couldn't start adding repo hosting?
- acjohnson55 7y agoSure! This is how Heroku works. Although, if you also mean change management (issues, code review, browsing, etc), that's a much bigger lift, especially if your intention is to outdo GitHub.
- enlyth 7y agoI've been on the wait list for many months and still haven't gotten a chance to join the limited public beta.
- the_duke 7y agoMeanwhile, I still haven't been invited to the beta...
- dubcanada 7y agoI really want to try GitHub Actions but I signed up as soon as it was released and I am still waiting for an invite. I am mostly just excited for it to be released so I can try it.
- ZeroCool2u 7y agoVery excited to use this for deployment to AppEngine!
- saagarjha 7y agoIf you're curious about the platforms they have: https://help.github.com/en/articles/software-in-virtual-environments-for-github-actions https://help.github.com/en/articles/software-in-virtual-envi...
- marceloabsousa 7y agoIs it official now that Github is becoming Gitlab? Does anyone know how they are going to bill for the compute used in the CI?
- dubcanada 7y agohttps://github.com/features/actions https://github.com/features/actions near the bottom explains the pricing scheme.
- NathanKP 7y agoThe features page has a pricing table: https://github.com/features/actions https://github.com/features/actions It is totally free for public repos. For private repos: - Free accounts get 2000 free minutes - Pro accounts get 3000 free minutes - Team accounts get 10k free minutes - Enterprise accounts get 50k free minutes Additional runner minutes are: - Linux: $0.008 per min - Windows: $0.016 per min - macOS: $0.08 per min (yeah that's not a typo, it is copied straight from the page, macOS is mad expensive)
- marceloabsousa 7y agoThanks! I'm not sure if for large open source projects, these machines will be nearly enough to run the CI jobs. The price for Linux seems quite steep when you compare with for example what you pay with GCP. It will be interesting to see the Github security teams catching those "public" repos doing nasty stuff like mining crypto - even with hard timeouts on each job it will be cool to see how this plays out!
- abalaji 7y agoReally interesting. My project just migrated to Azure DevOps and I noticed that their configuration file looks really similar. My suspicion is that Azure DevOps is backing GitHub CI/CD.
- myself-or-not 7y agoIt’s not backed by Azure DevOps, the infrastructure is different and maintained by GitHub. However, the underlying technology is based on the Azure Pipelines technology (a sort of fork).
- abalaji 7y agoNot sure I understand. From my understanding Azure Pipelines is a service offered as part of Azure DevOps. Does this make the offerings of Azure Pipelines redundant?
- myself-or-not 7y agoNot really. Azure Pipelines remains available and it offers extra features that won’t be in GH Actions - like support for repos outside of GitHub (BitBucket, or Git anywhere)... it also supports SVN and TFVC. Pipelines is also tightly integrated with Azure and has a richer CD experience (eg the K8s integration)
- abalaji 7y agoThanks for clearing that up. Does this mean that GH Actions will support installation caching out of the box?
- wdroz 7y agoIn azure DevOps CI, docker build steps aren't cached, so I hope they use something else.
- abalaji 7y ago
- scanr 7y agoI wonder what they'll offer for Github Enterprise. Especially for organisations that are using it on prem and would prefer not to use Azure for builds. Anyone know?
- myself-or-not 7y agoThere are self-hosted Build agents and eventually this will become available inside GitHub Enterprise Server too (after it GA’s)
- wyldfire 7y ago> (after it GA’s) What's the typical latency for these kinds of features to arrive?
- myself-or-not 7y agoNat just said on stage Nov 13 for GA (for GHES it will be later)
- deleted 7y ago[deleted]
- jeanleplar 7y agohttps://twitter.com/anoff_io/status/1159512381728407552 https://twitter.com/anoff_io/status/1159512381728407552 True? microsoft person on stage https://devblogs.microsoft.com/devops/author/jeremy-eplingoutlook-com/ https://devblogs.microsoft.com/devops/author/jeremy-eplingou... Sorry Github! Not good!
- libria 7y agoGithub blog https://github.blog/2019-08-08-github-actions-now-supports-ci-cd/ https://github.blog/2019-08-08-github-actions-now-supports-c...
- sctb 7y agoThanks! We've updated the link from https://help.github.com/en/categories/automating-your-workflow-with-github-actions https://help.github.com/en/categories/automating-your-workfl....
- paulcarroty 7y agoFree 2,000 minutes per month, not bad. No info about ssh debug - top feature for any CI service.
- marceloabsousa 7y agoI also find the ability to process the logs with some other platform like Kibana to be a top feature; I suppose there will be apps on top of this soon enough to meet the demand.
- enricosada 7y agoAppveyor also support stop and RDP in the windows build agents for 60 minutes each build. really nice for diagnose the issues
- theptip 7y agoAs a Gitlab user that's not strongly committed to the platform, this looks like a pretty interesting option. Anyone have thoughts on how this compares to e.g. Google Cloud Builder in terms of functionality? Being integrated into the GH backend seems like a big perk, rather than having to use webhooks for everything. Seems like you can do things like build your Docker containers (https://developer.github.com/actions/creating-github-actions/creating-a-docker-container/ https://developer.github.com/actions/creating-github-actions...). One thing that's great about Gitlab is the Gitlab server/runner split, where you can run workers in your own VPC, but still use their hosted offering. This makes it easier to keep your deploy secrets (aka the keys to the kingdom) locked down, as they never leave your cloud provider.
- myself-or-not 7y agoGH Actions offers self-hosted agents too, that can be deployed in the VPC
- mirekrusin 7y agoApparently it’s free if you have self hosted runners (makes sense).
- sylvinus 7y agoThat's going to hurt people like Buildkite (which we love).
- deleted 7y ago[deleted]
- theptip 7y agoI can't seem to find that in the docs, do you have a link to hand? Thanks!
- t3rabytes 7y ago> Google Cloud Builder It's actually Cloud Build under the covers. Their Actions Library sure beats have to figure out how to write the configs yourself for GCB though.
- thramp 7y agoCan GitHub Actions be used on open-source repositories maintained by organizations?
- 0xffff2 7y agoWhen I clicked the link to sign up for the beta, it let me select my personal account or the one organization account that I own. So based on that I strongly suspect that the answer is yes.
- thramp 7y agoAh, thanks. Just so happened that I don't have the required admin permissions to enable Actions on the organization I was interested in.
- renke1 7y agoI couldn't quickly find out if these features are now supported but what I really want is: - Actions can fail, but still continue (more like an additional success/failure status) - Manually triggered actions (maybe with parameters that need to be entered by the user) - Artifacts attached to actions especially HTML reports (next to plain text, this is the universal output type for a lot of quality tools)
- chrisrpatterson 7y agoHi, GitHub Actions product manager here. Thanks for your interest in GitHub Actions. You can set a property `continue-on-error: true` for each step and the runner will ignore a failed result and continue the workflow. For more details on workflow configuration please see https://help.github.com/en/articles/workflow-syntax-for-github-actions https://help.github.com/en/articles/workflow-syntax-for-gith... Workflow runs can be triggered via a `repository_dispatch` event with a custom payload. Using this model you could create a tool to allow for manual triggering. However, we do expect to provide a more integrated experience for triggering manual runs with custom inputs. More capabilities for actions to post artifacts and reports as part of our experience is absolutely on our radar. We are working to bring as many new users into the beta as quickly as we can and we look forward to your feedback.
- sfthrower89 7y agoUnless you happen to be a traveler, then they just delete you.
- umvi 7y agoI scanned through, but I couldn't see how GitHub Actions supports deployment to 3rd party platforms like PyPI. Travis CI has a CLI that allows you to encrypt your PyPI password and stick it into the Yaml file (I think it works by encrypting your password and then uploading the decryption key to your Travis account). Will GitHub Actions have something similar, somehow?
- djm_ 7y agoI'd imagine it'll be handled the same way as Actions handles it now: via Secrets [1]. [1] https://developer.github.com/actions/managing-workflows/storing-secrets/ https://developer.github.com/actions/managing-workflows/stor...
- dzader 7y agoyeah they mentioned this in the video at one point I believe, have a separate secrets section where you can store keys and access them from actions
- orta 7y agoYep - they have a secret access store per repo
- fendy3002 7y agoIn gitlab there is secured variable setting in each repo, that can be used with variable syntax. Maybe they'll follow that?
- srmatto 7y agoGitHub Actions supports secrets in each Repo. So presumably you could just expand your secrets at runtime and use a CLI tool to push to PyPI.
- wyldfire 7y agoFree CI/CD for repos public and private is one thing that makes Gitlab really attractive to me. If Github's is simple/sane enough I would probably consider that also.
- Smotko 7y agoI've been using GitHub actions for my personal projects for the past few months. The documentation was not the best and the UX was not polished at all, so the experience was painful sometimes. A lot of my problems will be solved with the features announced today, except I'm not sure if they're also adding a way to cache e.g. dependencies between jobs. While writing your own actions was painful (at least for me), reusing actions that other people wrote worked like magic. I think the reusability aspect is going to be huge when Actions get more and more popular.
- martin_bech 7y agoYou lost me at YAML..
- foepys 7y agoWhen you are coming from Azure DevOps (previously Visual Studio Team Services) this is godsend. VSTS was only configurable via a GUI that produced an unreadable configuration file with hundreds of lines with stupidly long variable names. Then taunted this UX disaster by reminding you to comment the changes you made before saving. So each CI config had like 50 changes at the beginning of its history where you tested the configuration by making minimal changes. Eventually they started using an in-repo config file like GitLab but only supported about 20% of the GUI features. It's still abysmal. I wouldn't mind when Azure DevOps (Server) were to be replaced by GitHub (Enterprise).
- stevekemp 7y agoSame as what you have to use in gitlab, for what that's worth. But it is interesting that their existing "main.workflow" file is in a different syntax. Ahh, now I see, support for the main.workflow syntax will be removed, and you must migrate: https://help.github.com/en/articles/migrating-github-actions-from-hcl-syntax-to-yaml-syntax https://help.github.com/en/articles/migrating-github-actions...
- fingerprinter 7y agoThat’s disappointing. The original Actions was amazing and much of that was the thoughtful main.workflow file. This feels like a regression. I’m not a yaml hater like many but main.workflow was clean, almost pleasant to use. It felt like it actually came from understanding developers.
- tilolebo 7y agoI'm also disappointed, I liked using HCL for GitHub actions. Did they get negative feedback from beta users? Or is it related to the recent release of HCL2?
- 7y ago
- oaiey 7y agoI do not understand why Microsoft finances this. I understand the hosting as a specialized social platform, but GitHub Actions vs. Azure DevOps Pipelines are a duplicated effort. Better integration for GitHub for the Azure DevOps suite would solve that in a similar way without duplication of capabilities.
- Strom 7y agoIt's because there's no unified grand vision driving this and the GitHub team is an independent silo. Yes there will be duplicated efforts, but at least the GitHub login system doesn't get replaced with Microsoft Account login.
- jopsen 7y ago> but at least the GitHub login system doesn't get replaced with Microsoft Account login. That's a good example of a tiny change Microsoft could do, which would make me want to leave github, hehe :)
- CodeM0nkey 7y agoThey actually did the opposite and made it so you can log into basically any Microsoft service with a GitHub account.
- meddlepal 7y agoSome possibilities: - Market segmentation, the people on Azure DevOps are not likely to use GitHub Actions and vice versa. - Long term plan might be to bring both of them closer together. - Build good will (marketing).
- asdfman123 7y agoAzure DevOps already is moving towards YAML build configurations. I wouldn't doubt it if it was the exact same tech under the hood.
- zenlikethat 7y ago
- Dirlewanger 7y agoCircleCI must be sweating hard. They're probably looking for a buyer.
- dmlittle 7y agoThey just raised more funding in a Series D[1]. CircleCI isn't the only player in the space and GitHub entering the playing field doesn't change that either. There's enough space for a few competitors and having competition will probably push everyone to build a better product. [1] https://circleci.com/blog/we-raised-a-56m-series-d-what-s-next-for-circleci-customers/ https://circleci.com/blog/we-raised-a-56m-series-d-what-s-ne...
- jchw 7y agoThat’s awesome! I’ve always been a big fan of GitLab CI but I’ll have to take a look at this and see how it stacks up. Competition has proven to be good for the market of Git hosting platforms.
- jchw 7y agoWait, why’d I get buried for this one? I know it’s against guidelines to discuss karma but I am just genuinely puzzled and nobody left any comments.
- servercobra 7y agoWoahhhhh, MacOS support? That's enough for me to switch from CircleCI right now. $40/mo to Circle is just a lot to do CI/CD for some React Native apps, with CD only getting kicked off once a week or so.
- hn_throwaway_99 7y agoThis is very interesting to me. It also makes me think about the natural rise of monopolies and monoculture in tech. GitHub has really been extending to "eating the world" as of late. Recently in terms of their package registry that must have folks like Artifactory and Nexus a bit shaken, and now this, which is bad news for folks like CircleCI (and I say this as a CircleCI user). As a developer, in the short term I love this. Fewer things I need to cobble together and worry about how to integrate. I mean, it's already the case that if GitHub goes down that my CircleCI jobs won't work, so having one company to yell at and monitor alone is a plus. But long term it makes the competitive ecosystem much less robust. And as a startup employee, makes me feel how disrupting established platform competitors gets that much more difficult - even if you have a better product, it's hard to fight against the "platform" as they have more integrated points of value.
- justicezyx 7y agoThis is interesting to people viewing the events in isolation. These happen routinely on a daily basis. And being in a strategically foundational position makes such moves straightforward. In the developer tooling market, GitHub is foundational, obviously. So it naturally will expand, and can also easily do so. And it was these moments I lament Google's inability to buy GitHub. All these stuff are just repeating Google has had for a decade, they would have been the perfect marriage but Google refuses to pay big money...
- colemorrison 7y agoHonestly, I think it's a good thing in general. Like you've said, being able to just do things here and cut out all of that wasted time spent connecting disparate services... I mean assuming they pull this off well, it will absolutely make things better for me personally. That all being said, I'm not sure how the long run comes into play here? It's bad if we extrapolate a long run prediction where no one else innovates or creates something in this space. But in reality, someone's going to be annoyed by it, someone's going to start up a different solution, and whether it works or not...it'll be there. Whether it's a small startup or a big enterprise challenging - if there's market gains to be had from adding this, it'll get added. Don't get me wrong, you're on point with a lot of things in tech. Monoculture and monopolies are becoming super "in-your-face" considering just how much control the FAANG companies have in influencing tech and the like. However, I do find it odd that a single feature release by a larger company results, more often in not, in much of HN community losing their minds over prospective world domination. (not you op, but just in general...granted similar outrage happens to small open source stuff just as much so maybe this point is moot). As John Maynard Keynes put it, "In the long run we are all dead." But in the short run, this just seems like a super useful feature added to a super useful product that will just make things easier for all developers.
- colemorrison 7y agoThis "sounds" interesting, and I'd absolutely love to manage ci/cd in github. Can anyone point me to some clear docs or articles on its usage? The blog post and developer guide on actions reads like some hybrid of a marketing page and a plain index of terms. Most of the examples on workflows/actions documentation and the like are in HCL which is being deprecated.
- nikisweeting 7y agoTHIS. I have yet to even be able to get "echo 'hello world'" running in a container. I want to love this but I cant figure out how to use the damn thing. I don't see any action in the visual builder to "run a shell command" or even access a "Linux container".
- miskander 7y agoOnce you’re in the beta, you’ll be able to get started by picking from a varying list of templates. In the meantime, those templates are actually hosted here: https://github.com/actions/starter-workflows https://github.com/actions/starter-workflows. Depending on what you’re interested in setting up, this page might be helpful in getting started. https://help.github.com/en/categories/automating-your-workflow-with-github-actions https://help.github.com/en/categories/automating-your-workfl...
- deleted 7y ago[deleted]
- rehemiau 7y agoIt always supported CI/CD, they just changed their marketing strategy from "No it's not just CI/CD" to "Yes we have CI/CD now"
- 0xffff2 7y agoWhat have they “always” supported exactly? I’ve used GitHub for a long time, but I use it entirely as a git server and sometimes an issue tracker. That said, I’m pretty sure they didn’t support anything that even remotely resembles CI/CD back when I started using it.
- ithkuil 7y agoI was using GitHub actions to do build, test and push to production for a while now, with the older syntax (the one without yaml). I'm not sure exactly what changed now, and the messaging is indeed confusing
- hartator 7y agoThat’s pretty huge. I wonder if it’s possible to have the results committed to the repository. To be able to display a badge in the readme. Like 87% test passing.
- nickmerwin 7y agoHi, Coveralls CTO here, the pass/fail status of any commit is shown as a green check / red x in the commit list and at the top of the repo details page as the "most recent commit". As for a % badge, you can use our new Coveralls GitHub Action to post your coverage data to https://coveralls.io https://coveralls.io, then add the badge to your readme: https://github.com/marketplace/actions/coveralls-github-action https://github.com/marketplace/actions/coveralls-github-acti...
- deleted 7y ago[deleted]
- tomschlick 7y agoSadly my company's account hasn't been granted access yet :( We are currently evaluating a switch from our current CI/CD platform and this would have been perfect. Can't wait for November general availability!
- cyode 7y agoLots of comments here about what this means for CircleCI. Found it interesting that CircleCI's CEO has a testimonial in the "What our community is saying" at https://github.com/features/actions https://github.com/features/actions: “CircleCI has been building a CI/CD platform since 2011, and GitHub has been a great partner. GitHub Actions is further validation that CI/CD is critical for the success of every software team. We believe that developers thrive in open, connected ecosystems, and we look forward to working with GitHub to lead the evolution of CI/CD.” Jim Rose CEO of CircleCI
- pinko 7y agoThat's kind of a content-free statement, unfortunately. Although it's possible they can successfully position themselves as the premium upgrade, it's hard to see how this isn't a threat to CircleCI.
- koalaphant 7y agoThere was a lot of hubbub over Microsoft acquiring GH a while back. Have yet to see anything negative come out of it.
- vitomd 7y agoPeople will think twice when investing the time & money in develop an app for the github marketplace as if it succeed, Github could just built the app inside their system. They bought PullPanda which was good for his creator because I think it was less expensive that build that themselves.
- dragonwriter 7y ago> People will think twice when investing the time & money in develop an app for the github marketplace as if it succeed, Github could just built the app inside their system. That's always a concern with platforms with attached marketplaces (heck, it's even potentially an issue with building apps for OS’s, even if they don't have an attached marketplace—ask Netscape.)
- techntoke 7y agoGitHub is way late to the game here. I personally have started moving away from GitHub. They don't even offer an open source version, yet try to claim to be some gift for open source. GitLab is better, but their architecture is a bit more complicated than it should be. I really like sites that use Gitea, but they haven't integrated CI/CD like GitLab, nor have they proven to scale with their own hosted solution. When I think about the point of these solutions though, there is a lot of opportunity here. Heck, Git is decentralized and distributed by itself. Really people just want a place to manage their issues and MRs, and I hope someone will decentralize that with a native app and then add additional features that integrate into multiple providers with ease.
- delirehberi 7y agoonly allowed users by USA
- austincheney 7y agoI remain incredibly happy with Semaphore CI and don't see this as a value improvement.
- Existenceblinks 7y agoI don't love the yaml of its 2.0 version. The visual build steps is horribly horizontal (why not just wrap it vertically?).
- qubyte 7y agoI've been on the beta for a while, and while it was understandably limited, I really enjoy it and have done a lot with it. I'm excited about the announcement because it appears that a lot more can be done now. However, it's not clear what happens to existing actions and workflows. Do they just stop working? Can actions still be made from a dockerfile and entrypoint script?
- judge2020 7y agoSee - https://twitter.com/gimenete/status/1159521518403145728?s=20 https://twitter.com/gimenete/status/1159521518403145728?s=20 https://help.github.com/en/articles/migrating-github-actions-from-hcl-syntax-to-yaml-syntax https://help.github.com/en/articles/migrating-github-actions... Already used the "migrate-actions" binary on a few projects, and while I don't have the new version enabled (you'll get a notification when the repo is available for an upgrade), this is better in terms of simplicity since you don't have to manage action references or the "resolves" field (when you were manually editing the hcl). The only downgrade is that it doesn't look like you can run actions in parallel within the same "job"; so you can't have eg. "cd project1 -> npm i" and "cd project2 -> npm i" running at the same time and then have a third action that can use the output/filesytem of both of those commmands. Now the "job" will run one, wait for completion, then run the other, then you can have an action that uses the changes of those.
- qubyte 7y agoThanks for the links! I'll miss the old workflow and its syntax (allowing for parallelism), but I'm keeping an open mind.
- bamboozled 7y agoJust a warning for those who haven't ventured into actions yet, I would have to say so far I've found the experience very, very average. Even just doing something simple like posting a release notification to Slack seems to end up with me having the action triggered a random number of times causing multiple messages being posted to slack. The whole experience feels amateur and clunky. There are issues open to look into it but no fix in sight yet. While this announcement sounds useful, don't throw away your current CI/CD tooling which is probably a lot nicer to use. Lastly I really dislike how pretty much any really useful actions are created and maintained by single people. There are just some actions I'd want to see be supported by GitHub, I don't wan to have to handover things like Slack access keys to a non-trusted third party to post messages. Every time I try to use actions I'm surprised it was launched in it's current obscure, unpolished state.
- httgp 7y agoGood point. This could very easily lead to the same problems plaguing the NPM ecosystem — an action repo could be sold to a malicious actor, giving them full access to your entire codebase!
- bob1029 7y agoThis feature release has been a dumpster fire from my perspective. I love GitHub and what they are trying to do, but I read over the Actions documentation 2x and I still can't tell if my use case is supported: I just want to see if master builds on a net core app without spinning up or otherwise utilizing some other cloud instance. Also, I am not even sure what the appropriate syntax to use is with all the mixed messaging and examples (YAML or the other thing? Which do I use!?). Regardless of which variant of syntax I attempted, the actions UI told me there was some generic error and that nothing was to be done. One additional problem I noticed is that if you have a protected master branch, you are going to be forced to get code reviews from your team every single time you try to iterate on the workflow script. There is no apparent way to test or validate actions without committing directly to master and seeing what the result may be. All around, a complete mess in my estimation. I will be sticking with Jenkins for the foreseeable future. This GH feature is apparently not designed for people who care about straightforward solutions to simple problems: git clone <repo> dotnet build <if failure, flag build, create issue, send email, etc> That is all I want to do, Microsoft. Can you handle that? I feel like there should just be a simple toggle switch in my GH repo for this concern, considering Microsoft is now responsible for that entire vertical stack.
- kkapelon 7y agoI work for Codefresh a CI/CD solution for Kubernetes/Helm/Docker. One of our main goals when creating Codefresh was to make plugins that are not tied to Codefresh itself. As a result we followed the obvious model with plugins where they are just docker images and nothing else. https://steps.codefresh.io/ https://steps.codefresh.io/ We are very glad to see that Github actions follows the same model. This means that we instantly get all Github actions as possible Codefresh plugins (and the opposite). I would be really happy if other CI companies follow suit so that eventually a central CI/CD plugin repository can be created for all competing solutions.
- aeze 7y agoThat seems really cool! I wish I wasn't still on the wait list so I could try it out.
- dmitriz 7y agoIt is waiting list, not a product.
- acjohnson55 7y agoConsidering CircleCI has many more years in operation, are there features and use cases it supports that GitHub Actions doesn't? Are there ones that GitHub Actions already supports that CircleCI doesn't?
- nstricevic 7y agoIt seems to be very expensive. About 6 times more expensive than Semaphore 2.