Skip to content

Remote repo configuration #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 22 commits into
base: feature/enable-cookie-store-at-request-level
Choose a base branch
from

Conversation

suharshan
Copy link

@suharshan suharshan commented Aug 1, 2019

Purpose

  • Containerisation of async-http-client build
  • Allow the version to be passed from the dockerfile
  • Publish artifacts to the remote repository

Approach

  • Remote repository and credentials are passed as parameters
  • Added flatten plugin to make sure a flattened version of pom files are published to remote
  • Travis builds the project using docker

@suharshan suharshan force-pushed the remote-repo-configuration branch from f988697 to 33e0893 Compare August 5, 2019 06:19
@suharshan suharshan force-pushed the remote-repo-configuration branch from 94f01eb to 6fd3da9 Compare August 21, 2019 05:05
@suharshan suharshan force-pushed the remote-repo-configuration branch from f316091 to 268cb2a Compare August 21, 2019 10:58
@suharshan suharshan force-pushed the remote-repo-configuration branch 3 times, most recently from f8a8e16 to 59526e7 Compare August 27, 2019 10:41
@suharshan suharshan force-pushed the remote-repo-configuration branch 2 times, most recently from 1fac2dc to 7c53d33 Compare August 28, 2019 04:07
@suharshan suharshan force-pushed the remote-repo-configuration branch from 29239a4 to 92c4c5a Compare August 28, 2019 05:22
@suharshan suharshan force-pushed the remote-repo-configuration branch from dd261a8 to 0129913 Compare September 3, 2019 02:54
@suharshan suharshan force-pushed the remote-repo-configuration branch 2 times, most recently from 844ce71 to b246b92 Compare September 5, 2019 03:18
Dockerfile Outdated
# Read repo args
ARG VERSION
ARG AWS_DEFAULT_REGION
ARG AWS_ACCESS_KEY_ID

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are these args still needed? if they're being passed as runtime env vars can remove from here

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah forgot again. removed now

Dockerfile Outdated
ENV REPO_URL=${REPO_URL}
ENV VERSION=${VERSION}
ENV AWS_DEFAULT_REGION=${AWS_DEFAULT_REGION}
ENV AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't need to assign here since its not available at build time

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree. Stripped down all unwanted args and envs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants