A set of orbs for continuous integration for Okode projects.
$ brew install circleci
$ circleci setup
The token can be retrieved from 1Password
$ circleci orb create okode/<orb>Also modify the release.sh script in order to add the publish command corresponding to the new orb.
IMPORTANT: Do not commit any of this changes! The proper way to publish on
dev:firstversion is to have its own branch.
To test the modified orbs you need to publish them directly using the circleci command and setting
its version to dev:first, e.g.:
$ circleci orb publish common/orb.yml okode/common@dev:firstIf the orb you are going to test has dependencies over other orbs that you have also modified, then
remember to set their versions to 'dev:first' too before publishing them. That said, if you have
modified the common orb and want to test it using the stack orb, then remember to publish the
common orb as dev:first but also to publish the stack orb as dev:first with its dependencies
to the common orb changed to dev:first too:
- Publish
commonorb asdev:frist
$ circleci orb publish common/orb.yml okode/common@dev:first- Change
stackorb dependencies overcommonorb todev:first
orbs:
common: okode/common@dev:first # This line!
node: circleci/node@4- Publish the
stackorb asdev:first
$ circleci orb publish stack/orb.yml okode/stack@dev:firstRemember also to set the dev:first orb version at the config.yml template of the proyect that is going to be used to test.
$ ./release.sh $VERSIONCommon commands for building Okode projects.
Build and publish fullstack applications based on Ionic and Spring Boot.
Build and publish hybrid Apps based on Ionic for iOS / Android.
Build and publish Ionic/Angular libraries.