... | ... |
@@ -18,8 +18,8 @@ pipelines: |
18 | 18 |
# push the new Docker image to the Docker registry |
19 | 19 |
- docker push $IMAGE_NAME |
20 | 20 |
# push a new version of the webserver to biolib |
21 |
- - pip3 install pybiolib |
|
22 |
- - cd webserver && biolib push SDU/VSClust |
|
21 |
+ #- pip3 install pybiolib |
|
22 |
+ #- cd webserver && biolib push SDU/VSClust |
|
23 | 23 |
tags: |
24 | 24 |
release-*: |
25 | 25 |
- step: |
... | ... |
@@ -37,10 +37,10 @@ pipelines: |
37 | 37 |
# push the new Docker image to the Docker registry |
38 | 38 |
- docker push $IMAGE_NAME |
39 | 39 |
# push a new version of the webserver to biolib |
40 |
- - pip3 install pybiolib |
|
41 |
- - cd webserver && biolib push SDU/VSClust |
|
40 |
+ #- pip3 install pybiolib |
|
41 |
+ #- cd webserver && biolib push SDU/VSClust |
|
42 | 42 |
|
43 | 43 |
definitions: |
44 | 44 |
services: |
45 | 45 |
docker: |
46 |
- memory: 2048 |
|
47 | 46 |
\ No newline at end of file |
47 |
+ memory: 2048 |
... | ... |
@@ -7,8 +7,6 @@ pipelines: |
7 | 7 |
services: |
8 | 8 |
- docker |
9 | 9 |
script: |
10 |
- - pip3 install pybiolib |
|
11 |
- - cd webserver && biolib push SDU/VSClust |
|
12 | 10 |
- export DOCKER_HUB_USERNAME=veitveit |
13 | 11 |
- export DOCKER_HUB_PASSWORD=$dockerpasswd |
14 | 12 |
- export IMAGE_NAME=veitveit/vsclust |
... | ... |
@@ -19,6 +17,9 @@ pipelines: |
19 | 17 |
# authenticate with the Docker Hub registry |
20 | 18 |
# push the new Docker image to the Docker registry |
21 | 19 |
- docker push $IMAGE_NAME |
20 |
+ # push a new version of the webserver to biolib |
|
21 |
+ - pip3 install pybiolib |
|
22 |
+ - cd webserver && biolib push SDU/VSClust |
|
22 | 23 |
tags: |
23 | 24 |
release-*: |
24 | 25 |
- step: |
... | ... |
@@ -35,6 +36,9 @@ pipelines: |
35 | 36 |
# authenticate with the Docker Hub registry |
36 | 37 |
# push the new Docker image to the Docker registry |
37 | 38 |
- docker push $IMAGE_NAME |
39 |
+ # push a new version of the webserver to biolib |
|
40 |
+ - pip3 install pybiolib |
|
41 |
+ - cd webserver && biolib push SDU/VSClust |
|
38 | 42 |
|
39 | 43 |
definitions: |
40 | 44 |
services: |
... | ... |
@@ -8,7 +8,7 @@ pipelines: |
8 | 8 |
script: |
9 | 9 |
- export DOCKER_HUB_USERNAME=veitveit |
10 | 10 |
- export DOCKER_HUB_PASSWORD=$dockerpasswd |
11 |
- - export IMAGE_NAME=veitveit/vsclust:$BITBUCKET_COMMIT |
|
11 |
+ - export IMAGE_NAME=veitveit/vsclust |
|
12 | 12 |
- docker login --username $DOCKER_HUB_USERNAME --password $dockerpasswd |
13 | 13 |
|
14 | 14 |
# build the Docker image (this will use the Dockerfile in the root of the repo) |
... | ... |
@@ -1,29 +1,38 @@ |
1 |
-# This is a sample build configuration for Docker. |
|
2 |
-# Check our guides at https://confluence.atlassian.com/x/O1toN for more examples. |
|
3 |
-# Only use spaces to indent your .yml configuration. |
|
4 |
-# ----- |
|
5 | 1 |
# You can specify a custom docker image from Docker Hub as your build environment. |
6 |
-# image: atlassian/default-image:latest |
|
7 |
- |
|
8 |
-# enable Docker for your repository |
|
9 |
-options: |
|
10 |
- docker: true |
|
11 | 2 |
|
12 | 3 |
pipelines: |
13 | 4 |
default: |
14 | 5 |
- step: |
15 |
- script: # Modify the commands below to build your repository. |
|
16 |
- # Set $DOCKER_HUB_USERNAME and $DOCKER_HUB_PASSWORD as environment variables in repository settings |
|
6 |
+ services: |
|
7 |
+ - docker |
|
8 |
+ script: |
|
17 | 9 |
- export DOCKER_HUB_USERNAME=veitveit |
18 | 10 |
- export DOCKER_HUB_PASSWORD=$dockerpasswd |
19 |
- - export IMAGE_NAME=veitveit/vsclust:$BITBUCKET_TAG |
|
11 |
+ - export IMAGE_NAME=veitveit/vsclust:$BITBUCKET_COMMIT |
|
12 |
+ - docker login --username $DOCKER_HUB_USERNAME --password $dockerpasswd |
|
20 | 13 |
|
14 |
+ # build the Docker image (this will use the Dockerfile in the root of the repo) |
|
15 |
+ - docker build -t $IMAGE_NAME . |
|
21 | 16 |
# authenticate with the Docker Hub registry |
17 |
+ # push the new Docker image to the Docker registry |
|
18 |
+ - docker push $IMAGE_NAME |
|
19 |
+ tags: |
|
20 |
+ release-*: |
|
21 |
+ - step: |
|
22 |
+ services: |
|
23 |
+ - docker |
|
24 |
+ script: |
|
25 |
+ - export DOCKER_HUB_USERNAME=veitveit |
|
26 |
+ - export DOCKER_HUB_PASSWORD=$dockerpasswd |
|
27 |
+ - export IMAGE_NAME=veitveit/vsclust:$BITBUCKET_TAG |
|
22 | 28 |
- docker login --username $DOCKER_HUB_USERNAME --password $dockerpasswd |
29 |
+ |
|
23 | 30 |
# build the Docker image (this will use the Dockerfile in the root of the repo) |
24 | 31 |
- docker build -t $IMAGE_NAME . |
32 |
+ # authenticate with the Docker Hub registry |
|
25 | 33 |
# push the new Docker image to the Docker registry |
26 | 34 |
- docker push $IMAGE_NAME |
35 |
+ |
|
27 | 36 |
definitions: |
28 | 37 |
services: |
29 | 38 |
docker: |
... | ... |
@@ -16,7 +16,7 @@ pipelines: |
16 | 16 |
# Set $DOCKER_HUB_USERNAME and $DOCKER_HUB_PASSWORD as environment variables in repository settings |
17 | 17 |
- export DOCKER_HUB_USERNAME=veitveit |
18 | 18 |
- export DOCKER_HUB_PASSWORD=$dockerpasswd |
19 |
- - export IMAGE_NAME=veitveit/vsclust:$BITBUCKET_COMMIT |
|
19 |
+ - export IMAGE_NAME=veitveit/vsclust:$BITBUCKET_TAG |
|
20 | 20 |
|
21 | 21 |
# authenticate with the Docker Hub registry |
22 | 22 |
- docker login --username $DOCKER_HUB_USERNAME --password $dockerpasswd |
... | ... |
@@ -18,10 +18,10 @@ pipelines: |
18 | 18 |
- export DOCKER_HUB_PASSWORD=$dockerpasswd |
19 | 19 |
- export IMAGE_NAME=veitveit/vsclust:$BITBUCKET_COMMIT |
20 | 20 |
|
21 |
+ # authenticate with the Docker Hub registry |
|
22 |
+ - docker login --username $DOCKER_HUB_USERNAME --password $dockerpasswd |
|
21 | 23 |
# build the Docker image (this will use the Dockerfile in the root of the repo) |
22 | 24 |
- docker build -t $IMAGE_NAME . |
23 |
- # authenticate with the Docker Hub registry |
|
24 |
- - docker login --username $DOCKER_HUB_USERNAME --password $DOCKER_HUB_PASSWORD |
|
25 | 25 |
# push the new Docker image to the Docker registry |
26 | 26 |
- docker push $IMAGE_NAME |
27 | 27 |
definitions: |
... | ... |
@@ -23,4 +23,8 @@ pipelines: |
23 | 23 |
# authenticate with the Docker Hub registry |
24 | 24 |
- docker login --username $DOCKER_HUB_USERNAME --password $DOCKER_HUB_PASSWORD |
25 | 25 |
# push the new Docker image to the Docker registry |
26 |
- - docker push $IMAGE_NAME |
|
27 | 26 |
\ No newline at end of file |
27 |
+ - docker push $IMAGE_NAME |
|
28 |
+definitions: |
|
29 |
+ services: |
|
30 |
+ docker: |
|
31 |
+ memory: 2048 |
|
28 | 32 |
\ No newline at end of file |
... | ... |
@@ -15,7 +15,7 @@ pipelines: |
15 | 15 |
script: # Modify the commands below to build your repository. |
16 | 16 |
# Set $DOCKER_HUB_USERNAME and $DOCKER_HUB_PASSWORD as environment variables in repository settings |
17 | 17 |
- export DOCKER_HUB_USERNAME=veitveit |
18 |
- - export DOCKER_HUB_PASSWORD=ttmama11 |
|
18 |
+ - export DOCKER_HUB_PASSWORD=$dockerpasswd |
|
19 | 19 |
- export IMAGE_NAME=veitveit/vsclust:$BITBUCKET_COMMIT |
20 | 20 |
|
21 | 21 |
# build the Docker image (this will use the Dockerfile in the root of the repo) |
... | ... |
@@ -16,7 +16,7 @@ pipelines: |
16 | 16 |
# Set $DOCKER_HUB_USERNAME and $DOCKER_HUB_PASSWORD as environment variables in repository settings |
17 | 17 |
- export DOCKER_HUB_USERNAME=veitveit |
18 | 18 |
- export DOCKER_HUB_PASSWORD=ttmama11 |
19 |
- - export IMAGE_NAME=veitveit/vsclust:$BITBUCKET_TAG |
|
19 |
+ - export IMAGE_NAME=veitveit/vsclust:$BITBUCKET_COMMIT |
|
20 | 20 |
|
21 | 21 |
# build the Docker image (this will use the Dockerfile in the root of the repo) |
22 | 22 |
- docker build -t $IMAGE_NAME . |
... | ... |
@@ -16,7 +16,7 @@ pipelines: |
16 | 16 |
# Set $DOCKER_HUB_USERNAME and $DOCKER_HUB_PASSWORD as environment variables in repository settings |
17 | 17 |
- export DOCKER_HUB_USERNAME=veitveit |
18 | 18 |
- export DOCKER_HUB_PASSWORD=ttmama11 |
19 |
- - export IMAGE_NAME=veitveit/vsclust |
|
19 |
+ - export IMAGE_NAME=veitveit/vsclust:$BITBUCKET_TAG |
|
20 | 20 |
|
21 | 21 |
# build the Docker image (this will use the Dockerfile in the root of the repo) |
22 | 22 |
- docker build -t $IMAGE_NAME . |
... | ... |
@@ -14,11 +14,13 @@ pipelines: |
14 | 14 |
- step: |
15 | 15 |
script: # Modify the commands below to build your repository. |
16 | 16 |
# Set $DOCKER_HUB_USERNAME and $DOCKER_HUB_PASSWORD as environment variables in repository settings |
17 |
- - export IMAGE_NAME=vsclust |
|
17 |
+ - export DOCKER_HUB_USERNAME=veitveit |
|
18 |
+ - export DOCKER_HUB_PASSWORD=ttmama11 |
|
19 |
+ - export IMAGE_NAME=veitveit/vsclust |
|
18 | 20 |
|
19 | 21 |
# build the Docker image (this will use the Dockerfile in the root of the repo) |
20 | 22 |
- docker build -t $IMAGE_NAME . |
21 | 23 |
# authenticate with the Docker Hub registry |
22 |
-# - docker login --username $DOCKER_HUB_USERNAME --password $DOCKER_HUB_PASSWORD |
|
24 |
+ - docker login --username $DOCKER_HUB_USERNAME --password $DOCKER_HUB_PASSWORD |
|
23 | 25 |
# push the new Docker image to the Docker registry |
24 |
- # - docker push $IMAGE_NAME |
|
25 | 26 |
\ No newline at end of file |
27 |
+ - docker push $IMAGE_NAME |
|
26 | 28 |
\ No newline at end of file |
... | ... |
@@ -14,7 +14,7 @@ pipelines: |
14 | 14 |
- step: |
15 | 15 |
script: # Modify the commands below to build your repository. |
16 | 16 |
# Set $DOCKER_HUB_USERNAME and $DOCKER_HUB_PASSWORD as environment variables in repository settings |
17 |
- - export IMAGE_NAME=VSClust |
|
17 |
+ - export IMAGE_NAME=vsclust |
|
18 | 18 |
|
19 | 19 |
# build the Docker image (this will use the Dockerfile in the root of the repo) |
20 | 20 |
- docker build -t $IMAGE_NAME . |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,24 @@ |
1 |
+# This is a sample build configuration for Docker. |
|
2 |
+# Check our guides at https://confluence.atlassian.com/x/O1toN for more examples. |
|
3 |
+# Only use spaces to indent your .yml configuration. |
|
4 |
+# ----- |
|
5 |
+# You can specify a custom docker image from Docker Hub as your build environment. |
|
6 |
+# image: atlassian/default-image:latest |
|
7 |
+ |
|
8 |
+# enable Docker for your repository |
|
9 |
+options: |
|
10 |
+ docker: true |
|
11 |
+ |
|
12 |
+pipelines: |
|
13 |
+ default: |
|
14 |
+ - step: |
|
15 |
+ script: # Modify the commands below to build your repository. |
|
16 |
+ # Set $DOCKER_HUB_USERNAME and $DOCKER_HUB_PASSWORD as environment variables in repository settings |
|
17 |
+ - export IMAGE_NAME=VSClust |
|
18 |
+ |
|
19 |
+ # build the Docker image (this will use the Dockerfile in the root of the repo) |
|
20 |
+ - docker build -t $IMAGE_NAME . |
|
21 |
+ # authenticate with the Docker Hub registry |
|
22 |
+# - docker login --username $DOCKER_HUB_USERNAME --password $DOCKER_HUB_PASSWORD |
|
23 |
+ # push the new Docker image to the Docker registry |
|
24 |
+ # - docker push $IMAGE_NAME |
|
0 | 25 |
\ No newline at end of file |