Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Apps Export from v2 #354

Open
medamineziraoui opened this issue Oct 19, 2020 · 3 comments
Open

Support Apps Export from v2 #354

medamineziraoui opened this issue Oct 19, 2020 · 3 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@medamineziraoui
Copy link
Contributor

Partial feature from issue #350
Support Exporting for applications

@ZouhairBear
Copy link
Contributor

ZouhairBear commented Oct 27, 2020

How to test :

Version to test : 2.1.19

The Export phase:

Create a build file:
Example of build.projectsExport.gradle:

plugins {
  id "io.saagie.gradle-saagie-dataops-plugin" version "2.1.19"
}
saagie {
    server {
        url = "REPLACE_SAAGIEURL"
        login = "REPLACE_SAAGIELOGIN"
	password = "REPLACE_SAAGIEPASSWORD"
        environment = "REPLACE_SAAGIE"
	jwt = true
    }
    project {
        id = "REPLACE_SAAGIE_PROJECT_ID"
    }
    apps {
          ids =  [ "802040db-c2fe-4569-959c-75a6411cda6d" ] // <=== You need to make sure that this app id exist in saagie platform
        }
    exportArtifacts {
          export_file = "./pipeline.zip" // <=== url  should exist  
          overwrite=true  // <=== temporary_directory ./tmp'  should exist        
    }
}

Export app using this commande :
The command line : gradle -b build.projectsExport.gradle projectsExport

@ZouhairBear
Copy link
Contributor

  • I have tested export apps from V2 without versions : it works as expected

350-export

@ZouhairBear
Copy link
Contributor

  • I have tested export apps from V2 with versions : it works as expected

350-export-version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants