forked from amarouane-ABDELHAK/GHRC-TF-CICD
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from ghrcdaac/ecampos-GHRCCLOUD-5567-cumulus-v1…
…8-updates GHRCCLOUD-5567: Cumulus v18 updates
- Loading branch information
Showing
3 changed files
with
13 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
@@ -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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters