darrenhillconsulting
10/05/2020, 6:28 PMPetter
10/06/2020, 11:35 AMseanlin
10/06/2020, 4:24 PMdarrenhillconsulting
10/06/2020, 8:25 PMseanlin
10/07/2020, 12:58 PMseanlin
10/07/2020, 4:10 PMimage: adoptopenjdk/openjdk11:jre-11.0.8_10-ubuntu
stages:
- deploy
before_script:
- apt-get update -y
- apt-get upgrade -y
- apt-get -y install curl dirmngr apt-transport-https lsb-release ca-certificates
- curl -sL <https://deb.nodesource.com/setup_14.x> | bash -
- apt-get install nodejs -y
- apt-get -y install gcc g++ make vim
- npm -g config set user root
- npm install -g yarn
- npm install -g @oracle/suitecloud-cli
# - yarn
develop0:
variables:
NsAccountId: $dev0_account_id
AuthId: $dev0_auth_id
NsTokenId: $dev0_token_id
NsTokenSecret: $dev0_token_secret
stage: deploy
script:
- suitecloud account:ci --account $NsAccountId --authid $AuthId --savetoken --tokenid $NsTokenId --tokensecret $NsTokenSecret
- suitecloud project:deploy
only:
- develop