Skip to content

Commit

Permalink
Restructure repository and version bump (#8)
Browse files Browse the repository at this point in the history
* Restructure repository and version bump.
  • Loading branch information
winromulus authored Apr 7, 2020
1 parent 738e503 commit be2d723
Show file tree
Hide file tree
Showing 13 changed files with 22 additions and 10 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,20 @@
[![Docker Image](https://img.shields.io/docker/image-size/emberstack/azure-pipelines-agent/latest?style=flat-square)](https://hub.docker.com/r/emberstack/azure-pipelines-agent)
[![Docker Pulls](https://img.shields.io/docker/pulls/emberstack/azure-pipelines-agent.svg?style=flat-square)](https://hub.docker.com/r/emberstack/azure-pipelines-agent)
[![license](https://img.shields.io/github/license/emberstack/docker-azure-pipelines-agent.svg?style=flat-square)](LICENSE)

[![slack](https://img.shields.io/badge/join-emberstack%20on%20Slack-gray.svg?style=flat-square&longCache=true&logo=slack&colorB=green)](https://join.slack.com/t/emberstack/shared_invite/zt-8qyutopg-9ghwTq3OnHSm2tY9Sk5ULA)

> Supports `amd64`, `arm`

## Deployment

The Azure Pipeliens agent can be deployed either manually or using Helm (recommended).

### Support
If you need help or found a bug, please feel free to open an issue on the [emberstack/docker-azure-pipelines-agent](https://github.com/emberstack/docker-azure-pipelines-agent) GitHub project.

You can also join our Slack workspace and talk to us:
[![slack](https://img.shields.io/badge/join-emberstack%20on%20Slack-gray.svg?style=flat-square&longCache=true&logo=slack&colorB=green)](https://join.slack.com/t/emberstack/shared_invite/zt-8qyutopg-9ghwTq3OnHSm2tY9Sk5ULA)

#### Deployment using Helm

Use Helm to install the latest released chart:
Expand Down
23 changes: 15 additions & 8 deletions azure-pipelines.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: $(version).$(Rev:r)

variables:
version: 1.0
version: 1.1
buildConfiguration: "Release"
imageRepository: "emberstack/azure-pipelines-agent"
DOCKER_CLI_EXPERIMENTAL: 'enabled'
Expand All @@ -10,6 +10,10 @@ trigger:
branches:
include:
- "*"
paths:
include:
- src/*
- azure-pipelines.yaml

stages:

Expand All @@ -30,11 +34,14 @@ stages:
- task: HelmInstaller@1
inputs:
helmVersionToInstall: 'latest'
helmVersionToInstall: '3.1.1'

- script: |
cp README.md src/helm/azure-pipelines-agent/README.md
displayName: 'import README'
- script: |
helm package --destination $(Build.ArtifactStagingDirectory)/artifacts/helm --version $(Build.BuildNumber) --app-version $(Build.BuildNumber) helm/azure-pipelines-agent
mkdir -p artifacts/kubectl
helm package --destination $(Build.ArtifactStagingDirectory)/artifacts/helm --version $(Build.BuildNumber) --app-version $(Build.BuildNumber) src/helm/azure-pipelines-agent
displayName: 'Helm Package'
- publish: '$(Build.ArtifactStagingDirectory)/artifacts/helm'
Expand All @@ -58,9 +65,9 @@ stages:
inputs:
containerRegistry: 'Emberstack Docker Hub'
repository: $(imageRepository)
Dockerfile: docker/Dockerfile
Dockerfile: src/docker/Dockerfile
command: build
buildContext: docker
buildContext: src/docker
tags: 'build-$(Build.BuildNumber)-amd64'

- task: Docker@2
Expand Down Expand Up @@ -104,9 +111,9 @@ stages:
inputs:
containerRegistry: 'Emberstack Docker Hub'
repository: $(imageRepository)
Dockerfile: docker/Dockerfile
Dockerfile: src/docker/Dockerfile
command: build
buildContext: docker
buildContext: src/docker
tags: 'build-$(Build.BuildNumber)-arm32'

- task: Docker@2
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit be2d723

Please sign in to comment.