Git Product home page Git Product logo

alibabacloud-edas-plugin's Introduction

Alibabacloud EDAS Publisher plugin

This plugin used to publish to Alibabacloud EDAS Application as a Post Build step.

Usage

Alibabacloud credentials are needed in the System Configuration.

Configure global credentials

Config Alibabacloud credentials in with Alibaba Cloud Credentials.

Config-1 Chose Alibaba Cloud Credentials and enter Access Key ID and Secret Access Key. Config-2

Ping EDAS to check after finishing the configuration.

FreeStyle job usage

Post-build Actions and choose Deploy to EDAS,and Add configuration according to the specific scenario;

deploy_type

Name Description
EDAS ECS Application publish to EDAS ECS application
Create EDAS ECS Application create and publish to EDAS ECS application
EDAS K8s Application publish to EDAS K8s application
Create EDAS K8s Application create and publish to EDAS K8s application

Pipeline usage

pipeline The pipeline script can be generated by snippet generator. snippet_generator

Job-dsl usage

job('edas') {    
  publishers { 
    edasClient { 
      deployApplication('', '', '', '', '') 
    }
  }
}

The methods supported list below:

void deployApplication(
        String namespace,
        String credentialId,
        String group,
        String appId,
        String targetObject);

void deployApplication(
        String namespace,
        String credentialId,
        String group,
        String appId,
        String targetObject,
        String versionLabelFormat,
        String versionDescriptionFormat,
        String batch,
        String batchWaitTime,
        String releaseType);

void insertApplication(
        String namespace,
        String credentialId,
        String applicationName,
        String packageType,
        String clusterId,
        String targetObject,
        String ecuInfo);

void insertApplication(
        String namespace,
        String credentialId,
        String applicationName,
        String packageType,
        String clusterId,
        String targetObject,
        String ecuInfo,
        String versionLabelFormat,
        String versionDescriptionFormat,
        String buildPackId,
        String healthCheckUrl);

void deployK8sApplication(
        String namespace,
        String credentialId,
        String appId,
        String targetObject,
        Boolean image);

void deployK8sApplication(
        String namespace,
        String credentialId,
        String appId,
        String targetObject,
        Boolean image,
        String edasContainerVersion,
        String webContainer,
        String jdk,
        String versionLabelFormat,
        String envs,
        String startupCommand,
        String args,
        String cpuLimit,
        String memoryLimit,
        String cpuRequest,
        String memoryRequest,
        String replicas,
        String postStart,
        String preStop,
        String readiness,
        String liveness,
        String updateStrategy);

void insertK8sApplication(
        String namespace,
        String credentialId,
        String applicationName,
        String packageType,
        String clusterId,
        String targetObject,
        String k8sNamespace,
        String jdk);

 void insertK8sApplication(
        String namespace,
        String credentialId,
        String applicationName,
        String packageType,
        String clusterId,
        String targetObject,
        String k8sNamespace,
        String jdk,
        String descFormat,
        String edasContainerVersion,
        String webContainer,
        String versionLabelFormat,
        String envs,
        String startupCommand,
        String args,
        String cpuLimit,
        String memoryLimit,
        String cpuRequest,
        String memoryRequest,
        String replicas,
        String postStart,
        String preStop,
        String readiness,
        String liveness);

alibabacloud-edas-plugin's People

Contributors

hellojungle avatar alibaba-oss avatar

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.