-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Conflicts: # .gitlab-ci.yml # src/main/docker/Dockerfile
- Loading branch information
Showing
153 changed files
with
3,565 additions
and
2,356 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -5,6 +5,8 @@ | |
/.project | ||
/.settings/ | ||
/.classpath | ||
.classpath | ||
.project | ||
/DB-H2/ | ||
/.xml/ | ||
/.bpmn/ | ||
|
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 |
---|---|---|
|
@@ -98,11 +98,11 @@ release_artifact: | |
- git checkout -B "$CI_BUILD_REF_NAME" | ||
# mi metto in condizione del push per l'utente con la deploy key | ||
- git remote set-url --push origin [email protected]:documentale/sprint-flows.git | ||
- mvn -Dresume=false release:prepare release:perform -Pprod -DpushChanges=false -DlocalCheckout=true -DskipTests -Darguments="-Dmaven.test.skip=true -DskipTests" | ||
- mvn -B -Dresume=false release:prepare release:perform -Pprod -DpushChanges=false -DlocalCheckout=true -DskipTests -Darguments="-Dmaven.test.skip=true -DskipTests" | ||
- git remote set-url --push origin [email protected]:documentale/sprint-flows.git | ||
- git push --tags | ||
- git commit --amend -m "[ci skip] prepare for next development iteration" | ||
- git push | ||
- git push --set-upstream origin $CI_BUILD_REF_NAME | ||
when: manual | ||
allow_failure: false | ||
|
||
|
@@ -114,13 +114,16 @@ buildprodcontainer: | |
only: | ||
- prod | ||
script: | ||
- echo "Running build image and push image for latest release" | ||
- docker build --file src/main/docker/Dockerfile -t docker.si.cnr.it/sprint-flows . | ||
- docker push docker.si.cnr.it/sprint-flows | ||
- echo "Running build image and push image for release tag" | ||
- echo $CI_COMMIT_TAG | ||
- docker build --file src/main/docker/Dockerfile -t docker.si.cnr.it/sprint-flows . | ||
- docker push docker.si.cnr.it/sprint-flows | ||
- echo $CI_COMMIT_REF_NAME | ||
- docker build --file src/main/docker/Dockerfile -t $CI_PROJECT_NAME:$CI_COMMIT_REF_NAME . | ||
# - docker push $CI_PROJECT_NAME:$CI_COMMIT_REF_NAME | ||
- echo "Done pushing image to local docker repo. Now pushing to dockerhub." | ||
- docker login -u $DOCKER_HUB_USER -p $DOCKER_HUB_PASSWORD | ||
- docker tag $CI_PROJECT_NAME:$CI_COMMIT_REF_NAME $DOCKER_HUB_ORGANIZATION/$CI_PROJECT_NAME:$CI_COMMIT_REF_NAME | ||
- docker tag $CI_PROJECT_NAME:$CI_COMMIT_REF_NAME $DOCKER_HUB_ORGANIZATION/$CI_PROJECT_NAME:latest | ||
- docker push $DOCKER_HUB_ORGANIZATION/$CI_PROJECT_NAME:$CI_COMMIT_REF_NAME | ||
- docker push $DOCKER_HUB_ORGANIZATION/$CI_PROJECT_NAME:latest | ||
|
||
|
||
deploydockprod01: | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.