diff --git a/README.md b/README.md index 52e655f..fed5344 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/azure-pipelines.yaml b/azure-pipelines.yaml index 5a28238..91680dd 100644 --- a/azure-pipelines.yaml +++ b/azure-pipelines.yaml @@ -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' @@ -10,6 +10,10 @@ trigger: branches: include: - "*" + paths: + include: + - src/* + - azure-pipelines.yaml stages: @@ -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' @@ -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 @@ -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 diff --git a/docker/Dockerfile b/src/docker/Dockerfile similarity index 100% rename from docker/Dockerfile rename to src/docker/Dockerfile diff --git a/docker/start.sh b/src/docker/start.sh similarity index 100% rename from docker/start.sh rename to src/docker/start.sh diff --git a/helm/azure-pipelines-agent/.helmignore b/src/helm/azure-pipelines-agent/.helmignore similarity index 100% rename from helm/azure-pipelines-agent/.helmignore rename to src/helm/azure-pipelines-agent/.helmignore diff --git a/helm/azure-pipelines-agent/Chart.yaml b/src/helm/azure-pipelines-agent/Chart.yaml similarity index 100% rename from helm/azure-pipelines-agent/Chart.yaml rename to src/helm/azure-pipelines-agent/Chart.yaml diff --git a/helm/azure-pipelines-agent/README.md b/src/helm/azure-pipelines-agent/README.md similarity index 100% rename from helm/azure-pipelines-agent/README.md rename to src/helm/azure-pipelines-agent/README.md diff --git a/helm/azure-pipelines-agent/templates/NOTES.txt b/src/helm/azure-pipelines-agent/templates/NOTES.txt similarity index 100% rename from helm/azure-pipelines-agent/templates/NOTES.txt rename to src/helm/azure-pipelines-agent/templates/NOTES.txt diff --git a/helm/azure-pipelines-agent/templates/_helpers.tpl b/src/helm/azure-pipelines-agent/templates/_helpers.tpl similarity index 100% rename from helm/azure-pipelines-agent/templates/_helpers.tpl rename to src/helm/azure-pipelines-agent/templates/_helpers.tpl diff --git a/helm/azure-pipelines-agent/templates/clusterrolebinding.yaml b/src/helm/azure-pipelines-agent/templates/clusterrolebinding.yaml similarity index 100% rename from helm/azure-pipelines-agent/templates/clusterrolebinding.yaml rename to src/helm/azure-pipelines-agent/templates/clusterrolebinding.yaml diff --git a/helm/azure-pipelines-agent/templates/serviceaccount.yaml b/src/helm/azure-pipelines-agent/templates/serviceaccount.yaml similarity index 100% rename from helm/azure-pipelines-agent/templates/serviceaccount.yaml rename to src/helm/azure-pipelines-agent/templates/serviceaccount.yaml diff --git a/helm/azure-pipelines-agent/templates/statefulset.yaml b/src/helm/azure-pipelines-agent/templates/statefulset.yaml similarity index 100% rename from helm/azure-pipelines-agent/templates/statefulset.yaml rename to src/helm/azure-pipelines-agent/templates/statefulset.yaml diff --git a/helm/azure-pipelines-agent/values.yaml b/src/helm/azure-pipelines-agent/values.yaml similarity index 100% rename from helm/azure-pipelines-agent/values.yaml rename to src/helm/azure-pipelines-agent/values.yaml