From March 2018

Move Developer Cloud Service Project Between Environments in 15 Minutes

The idea here is how to move your CI/CD environment from one environment to another, for instance from presales to delivery.

Developer Cloud Service (DevCS) is an CI/CD environment included at no extra cost in your Pass subcription providing git repo, maven repo, wiki, build automation (Hudson/Jenkins), deployment automation, webhooks, issues-agile-scrum-camban dashboard, merges, …

What you need

  1. A destination cloud (Oracle) domain
  2. An Object Storage Container either in the origin domain or in the destination one


Origin DevCS (Export)

  1. Go to import/export in the origin DevCS
  2. Configure connection to an Storage Container either in origin or in destination and click [Connect] button
  3. Configure export job section after successful connection, click [Export] button and accept popup confirmation dialog
  4. After successful export you can see result in History tab section


This slideshow requires JavaScript.

Destination DevCS (Import)

  1. Create a new project in destination DevCS. This is very important step!!!!
  2. Select the new create project, go to the Export/Import section and create a connection as in the first step of the previous section
  3. Click [Connect]
  4. Configure Import Job
  5. Click [Import]
  6. Accept the confirmation dialog and double check you are importing in the correct project because all the information will be overwrite*

This slideshow requires JavaScript.

(*) Just in case you make a mistake and you import over an existing non empty project (as it happened to me), click on cancel as soon as posible!!, hopefully the import job will be rolled back and your original project wont be damaged.


Enjoy 😉




Manage Files in Oracle Cloud Object Storage Classic Service from the Command Line

This approach allows you copy files from your Oracle PaaS or IaaS machines to object storage or vice versa. It is useful for backing up or restoring whatever stuff which is not backed up by the PaaS tools.

Install  swiftclient

sudo yum install python-setuptools
sudo easy_install pip
sudo pip install --upgrade setuptools
sudo pip install python-swiftclient

Issues with pip on Linux? follow this link

Set environment variables

Locate your Auth V1 Endpoint in the details page of your Oracle Cloud Infrastructure Object Storage Classic Service

export ST_USER=Storage-<identitydomaingoeshere>:<usergoeshere>

export ST_AUTH=https://<identitydomaingoeshere>

export ST_KEY=<userpasswordgoeshere>

Execute commands

$ swift stat

$ swift stat PRUEBAS

$ echo "hola mundo" > holamundo.txt

$ swift upload PRUEBAS holamundo.txt

$ swift list PRUEBAS


Help resources

Blog entry for Solaris

swiftclient on github

Enjoy 😉