diff --git a/build_mkdocs.sh b/build_mkdocs.sh new file mode 100755 index 0000000..e9b48d8 --- /dev/null +++ b/build_mkdocs.sh @@ -0,0 +1,4 @@ +cd mkdocs_src +mkdocs gh-deploy -d ../docs +cd .. +git add . diff --git a/docs/404.html b/docs/404.html index 2b3a1f1..f31687b 100644 --- a/docs/404.html +++ b/docs/404.html @@ -33,10 +33,9 @@
Contact us for a new account by emailing us at cloud-v@10xengineers.ai and fill out this google form.
+Fill out this google form with all the required information for getting an account on Cloud-V.
After this we will get back to you with login credentials.
-Jenkinsfile
inside github project repositoryJenkins pipeline will need a Jenkinsfile
written with jenkins pipeline syntax to start execution of tests/checks (see link). This pipeline will contain all the stages (and may be steps) of a CI/CD pipeline. This pipeline can be scripted pipeline
which will only have stages or it can also be declarative pipeline
which may also have steps inside stages.
cloud-v-pipeline
inside github project repositoryCloud-V will need a cloud-v-pipeline
written with jenkinsfile pipeline syntax to start execution of tests/checks (see link). This pipeline will contain all the stages (and may be steps) of a CI/CD pipeline. This pipeline can be scripted pipeline
which will only have stages or it can also be declarative pipeline
which may also have steps inside stages.
A simple scripted Helloworld
pipeline in linux is as follows:
node{
@@ -189,11 +190,36 @@ Setting up
Upon execution of such a pipeline, the console output can be viewed as follows.
-Note: This jenkinsfile should remain same in all the branches and pull requests.
+Note: This cloud-v-pipeline should remain same in all the branches and pull requests.
Cloud-V supports webhooks which can trigger the job from external sources such as GitHub. They work in a way such that, if a specified branch is committed or if a pull request is created, the specified job build starts running depending upon the trigger event which is set in build's configuration in Cloud-V.
-This process requires GitHub credentials of owner of repository on which the webhook is to be set. These credentials can be safely added to Cloud-V without anyone (even administrator) seeing the passwords as follows.
-This process requires access token of the repository CREATED BY OWNER OF REPOSITORY on which the webhook is to be set. These credentials can be safely added to Cloud-V without anyone (even administrator) seeing the passwords as follows.
+Navigate to the dashboard of your github account and click on the your github profile picture on the top-right corner on dashboard.
+ +Then click on the "Settings" from the list.
+ +From the left option bar in Settings scroll down and click on "Developer settings".
+ +Once there, click on "Personal access tokens", then click on "Fine-grained tokens" from the dropdown list and after that click on "Generate new token".
+ +This will open the page for setting up new access token. Follow following steps for creating a token:
+Under "Permissions" section, expand "Repository Permissions" and give the following two permissions:
+IMPORTANT NOTE: If you have decided to create a webhook yourself or have already created one, then Cloud-V will not be able to manage the settings for you, proceed to following section
+You can skip this step if you have given webhook read and write permission in your repository token settings in above step and havent configured any webhook yourself
In GitHub,
Payload URL
as https://cloud-v.co:8443/ghprbhook/
application/x-www-form-urlencoded
Enable SSL verification
Let me select individual events
and choose the events for which you want build to be triggered. Let me select individual events
and check Pul requests
as individual events and dont check any other permission.Webhook settings will look something like this:
-+
Note: Currently users are not able to see or modify pipeline build configuration inside Jenkins, that is currently managed by administrator. Users are requested to inform administrator about how they want their pipeline configured.