Coder Social home page Coder Social logo

hellouipath-sample's Introduction

HelloUiPath!

This project is a sample 'Hello World' project for UiPath that includes a 'buildAndDeploy' workflow for GitHub Actions.

UiPath Project

The UiPath project accepts two input arguments:

  • in_greeting
  • in_name

The process will simply log a message in the format:

in_greeting + " " + in_name + "!!!!"

There are three simple test cases that are published:

  • EnglishCase
  • FrenchCase
  • SpanishCase

GitHub Actions Environment

Tools / Prerequisites

In these example workflows, Orchestrator Authentication is handled with External Applications.

UiPath CLI is used for Pack and Deploy functionality. It is light-weight and no installation is required.

A GitHub-hosted runner (windows-latest) is used to run the workflows.

The following 'Secrets' are required in your GitHub repository Settings -> Secrets:

  • TEST_TENANT_NAME - Target Cloud Orchestrator Tenant for Automated Tests
  • UAT_TENANT_NAME - Target Cloud Orchestrator Tenant for Process Package (UAT)
  • ACCOUNT_NAME - Target Cloud Orchestrator Account Name
  • OAUTH_CLIENT_ID - App ID of External Application
  • OAUTH_CLIENT_SECRET - App Secret of External Application
  • OAUTH_CLIENT_SCOPES - Required scopes granted to External Application

GitHub Actions Workflows

Build And Deploy (Process) - UiPathBuildDeploy.yml

Required Oauth Scopes:
  • OR.BackgroundTasks
  • OR.Execution
  • OR.Folders
  • OR.Settings
Workflow Steps
  • Build process package (uipcli)
  • Deploy to cloud orchestrator (uipcli)

Build, Deploy And Run (Tests) - UiPathBuildDeployRun-Tests.yml

Required Oauth Scopes:
  • OR.Assets
  • OR.BackgroundTasks
  • OR.Execution
  • OR.Folders
  • OR.Folders.Read
  • OR.Jobs
  • OR.Machines
  • OR.Monitoring
  • OR.Robots
  • OR.Settings
  • OR.Settings.Read
  • OR.TestSetExecutions
  • OR.TestSets
  • OR.Users
Workflow Steps
  • Build test package (uipcli)
  • Deploy to cloud orchestrator (uipcli)
  • Create test set (powershell)
    • Get Access Token
    • Get Folder Id
    • Get Release
    • Get Test Case Definitions
    • Create test Set
    • Execute Test Set

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.