Skip to content

Commit

Permalink
Merge pull request #2 from ghrcdaac/ecampos-GHRCCLOUD-5567-cumulus-v1…
Browse files Browse the repository at this point in the history
…8-updates

GHRCCLOUD-5567: Cumulus v18 updates
  • Loading branch information
camposeddie authored Feb 1, 2024
2 parents fba5806 + dec3bc7 commit 6527e54
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 14 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
FROM python:3.7
LABEL maintainer="[email protected]" \
author="Abdelhak Marouane"
FROM python:3.10

# Never prompts the user for choices on installation/configuration of packages
ENV DEBIAN_FRONTEND noninteractive
ENV TERM linux
Expand All @@ -27,7 +26,7 @@ WORKDIR $HOME/workstation



# Adding dummy build.sh that needs to be overreten
# Adding dummy build.sh that needs to be overwritten
COPY entrypoint.sh $HOME/entrypoint.sh
ENTRYPOINT [ "/bin/bash", "/home/bamboo/entrypoint.sh"]
#CMD [ "/bin/bash", "/home/bamboo/entrypoint.sh"]
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# GHRC-TF-CICD

A docker image to build and deploy [GHRC](https://gitlab.com/ghrc-cloud/ghrc-tf-deploy) repo to Bamboo-CI.
A docker image to build and deploy [GHRC](https://github.com/ghrcdaac/ghrc-tf-deploy) repo to Bamboo-CI.

## How to Use
`cd to your cloned repo`
You should define a build.sh in your repo. build.sh contains the logic of your build+deployment <br>

`docer run --rm -v $PWD:/home/bamboo/workstation amarouane/ghrc-tf-cicd`
#### If you want to pass a cutom build your repo run
`docer run --rm -v $PWD:/home/bamboo/workstation amarouane/ghrc-tf-cicd -e custom.sh`
### Custome script should be in the root directory of your cloned repo
`docker run --rm -v $PWD:/home/bamboo/workstation ghrcdaac/ghrc-tf-cicd`
#### If you want to pass a custom build your repo run
`docker run --rm -v $PWD:/home/bamboo/workstation ghrcdaac/ghrc-tf-cicd -e custom.sh`
### Custom script should be in the root directory of your cloned repo


10 changes: 5 additions & 5 deletions requirements.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#! /bin/bash

# Installing node 14
curl -sL https://deb.nodesource.com/setup_14.x | bash -
# Installing node 18
curl -sL https://deb.nodesource.com/setup_18.x | bash -
apt install -y nodejs
npm install -g npm

# Install Terraform 0.13.6
wget https://releases.hashicorp.com/terraform/0.13.6/terraform_0.13.6_linux_amd64.zip -O /usr/local/bin/terraform.zip
unzip /usr/local/bin/terraform.zip -d /usr/local/bin/
# Install Terraform 1.5.3
wget https://releases.hashicorp.com/terraform/1.5.3/terraform_1.5.3_linux_amd64.zip -O /usr/local/bin/terraform.zip
unzip /usr/local/bin/terraform.zip -d /usr/local/bin/
rm /usr/local/bin/terraform.zip


Expand Down

0 comments on commit 6527e54

Please sign in to comment.