How to Update Using CircleCI 1.0→2.0GitHub

Asked 2 years ago, Updated 2 years ago, 123 views

I have to update to CircleCI 1.0→2.0, but I don't know how to do it.
If there is a way I can use GitHub, could you please let me know?

I look forward to your kind cooperation.

github circleci

2022-09-30 16:55

1 Answers

version:2

at the top of .circleci/config.yml.Then let the circleci config validate pass. If the circleci command is not local, install it.

About the circuitci command

The CircleCI service includes the circleci command, a tool to assist with local development. https://circleci.com/docs/2.0/local-cli/

The format is similar to that in which Heroku and AWS are the heroku commands or the aws commands, respectively.

There are many features of this tool, including the ability to verify that the .circleci/config.yml format is correct.Specifically, circleci config validate. 1.0->2.0, so maybe your .circleci/config.yml is a format yaml that can only be recognized by 1.0.

I think it's better to debug it with circleci config validate until at least it's in the form of yaml recognized by circleci (2.0). If circleci config validate is successful, you should actually run it on circleci and fix it if it doesn't behave correctly.


2022-09-30 16:55

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.