You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo -e "\e[91mcurrent branch is not master branch.";exit 1;\
552
+
fi
553
+
554
+
.PHONY: release-staging release-prod
555
+
release-stagingrelease-prod: .check-master-branch ## Helper to create a staging or production release in Github (usage: make release-staging name=sprint version=1 git_sha=optional or make release-prod version=1.2.3 git_sha=optional)
556
+
# ensure tags are uptodate
557
+
@git pull --tags
558
+
@echo -e "\e[33mOpen the following link to create the $(if $(findstring -staging, $@),staging,production) release:";
The osparc-simcore repository provides a Travis-CI [recipe](.travis.yml) that fullfills the [Release Workflow](docs/img/git-release-workflow.svg).
5
+
The osparc-simcore repository provides a Travis-CI [recipe](.travis.yml)and Gihub-CI [workflows](.github/workflows)that fullfills the [Release Workflow](docs/img/git-release-workflow.svg) and the [Hotfix Workflow](docs/img/git-hotfix-workflow.svg).
6
6
7
-
To this end Travis should be enabled for the repository in each fork and a [Dockerhub](https://hub.docker.com/) account is recommended to push the docker images generated by Travis.
7
+
### Configuration
8
+
Github Actions and/or Travis-CI should be enabled for the repository in each fork and a [Dockerhub](https://hub.docker.com/) account is recommended to push the docker images generated by the CI.
8
9
9
-
Configuring your travis settings will speed up the travis CI process by making use of Dockerhub (or another docker registry) to move docker images between stages.
10
+
Configuring your CI settings will speed up the CI process by making use of Dockerhub (or another docker registry) to move docker images between stages.
10
11
11
-
### Travis configuration
12
+
### Secrets configuration
12
13
13
14
Define the following secure environment variables in your fork:
14
15
15
16
```bash
16
17
DOCKER_REGISTRY # this shall be set to your own dockerhub repository account for example: itisfoundation
17
-
DOCKER_USERNAME # the docker username (!beware this should be a [secure env variable](https://docs.travis-ci.com/user/environment-variables/#defining-encrypted-variables-in-travisyml))
18
-
DOCKER_PASSWORD # the docker password (!beware this should be a [secure env variable](https://docs.travis-ci.com/user/environment-variables/#defining-encrypted-variables-in-travisyml))
0 commit comments