File tree Expand file tree Collapse file tree 3 files changed +42
-3
lines changed Expand file tree Collapse file tree 3 files changed +42
-3
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,26 @@ Getting Started
1313* Install pyenv _
1414* Install related atlassian product for testing through SDK _ or use the cloud instance
1515* `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+
1722* 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+
2036* Run the quality checks with `make qa ` or if you have docker installed with `make docker-qa `
2137* Send pull request
2238
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 44
55PYTHON_VERSION ?= 3.7
66
7+ ATLASSIAN_SDK ?= atlassian-sdk
78QA_CONTAINER ?= atlassian-python-api-qa-$(PYTHON_VERSION )
89TEST_OPTS ?=
910
@@ -48,3 +49,8 @@ docker-qa-build: Dockerfile.qa requirements.txt requirements-dev.txt
4849 --tag $(QA_CONTAINER ) \
4950 --build-arg PYTHON_VERSION=$(PYTHON_VERSION ) \
5051 --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