File tree 3 files changed +42
-3
lines changed
3 files changed +42
-3
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,26 @@ Getting Started
13
13
* Install pyenv _
14
14
* Install related atlassian product for testing through SDK _ or use the cloud instance
15
15
* `apt install libkrb5-dev `
16
- * Install Kerberos Dependency: `pip install -r requirements-dev.txt `
16
+ * Install Kerberos Dependency:
17
+
18
+ ::
19
+
20
+ pip install -r requirements-dev.txt
21
+
17
22
* Start up related product:
18
- - Standalone product atlas-run-standalone _
19
- - For cloud product, just do registration
23
+ - Standalone product atlas-run-standalone _
24
+ - For cloud product, just do registration
25
+ - Atlassian SDK in doker
26
+ - Build the image
27
+ ::
28
+
29
+ make docker-atlassian-standalone
30
+
31
+ - Run an Atlassian standalone product
32
+ ::
33
+
34
+ docker run -i -t -p 6990:6990 atlassian-sdk:latest atlas-run-standalone --product bamboo
35
+
20
36
* Run the quality checks with `make qa ` or if you have docker installed with `make docker-qa `
21
37
* Send pull request
22
38
Original file line number Diff line number Diff line change
1
+ FROM openjdk:11
2
+
3
+ ARG DEBIAN_FRONTEND=noninteractive
4
+
5
+ # Add Atlassian SDK repo
6
+ RUN echo "deb https://packages.atlassian.com/debian/atlassian-sdk-deb/ stable contrib" >>/etc/apt/sources.list \
7
+ && wget https://packages.atlassian.com/api/gpg/key/public \
8
+ && apt-key add public \
9
+ && apt-get update
10
+
11
+ # Install Atlassian plugin SDK
12
+ RUN apt-get install -y atlassian-plugin-sdk
13
+
14
+ # Clean
15
+ RUN apt-get clean
16
+
17
+ WORKDIR /opt/atlassian
Original file line number Diff line number Diff line change 4
4
5
5
PYTHON_VERSION ?= 3.7
6
6
7
+ ATLASSIAN_SDK ?= atlassian-sdk
7
8
QA_CONTAINER ?= atlassian-python-api-qa-$(PYTHON_VERSION )
8
9
TEST_OPTS ?=
9
10
@@ -48,3 +49,8 @@ docker-qa-build: Dockerfile.qa requirements.txt requirements-dev.txt
48
49
--tag $(QA_CONTAINER ) \
49
50
--build-arg PYTHON_VERSION=$(PYTHON_VERSION ) \
50
51
--file $< .
52
+
53
+ docker-atlassian-standalone : Dockerfile.standalone
54
+ docker build \
55
+ --tag $(ATLASSIAN_SDK ) \
56
+ --file $< .
You can’t perform that action at this time.
0 commit comments