Skip to content
This repository was archived by the owner on Oct 28, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .ci/docker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ test-%: prepare-test ## Run the tests for the specific app
push-%: prepare-test ## Push the Docker image to the docker.elastic.co repository
docker push "docker.elastic.co/observability-ci/$*"

all-push: push-gren push-yamllint push-shellcheck push-codecov push-apache-ant## Push all Docker images to the docker.elastic.co repository
all-push: push-gren push-yamllint push-shellcheck push-codecov push-apache-ant push-github-label-sync ## Push all Docker images to the docker.elastic.co repository

all-tests: test-gren test-yamllint test-shellcheck test-codecov test-apache-ant## Run the tests for all the apps
all-tests: test-gren test-yamllint test-shellcheck test-codecov test-apache-ant test-github-label-sync ## Run the tests for all the apps

clean: ## Clean autogenerated files/folders
@rm -rf bats-core
Expand Down
5 changes: 5 additions & 0 deletions .ci/docker/github-label-sync/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM node:15.5.0-alpine3.12

RUN npm install github-label-sync@2.0.0 -g
WORKDIR /app
ENTRYPOINT [ "/usr/local/bin/github-label-sync" ]
11 changes: 11 additions & 0 deletions .ci/schedule-weekly.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,17 @@ pipeline {
runWatcher(watcher: 'report-beats-top-failing-tests-weekly-7-release', subject: "[7-release] ${env.YYYY_MM_DD}: Top failing Beats tests - last 7 days", sendEmail: true, to: 'beats-contrib@elastic.co')
}
}
stage('Update Labels') {
agent { label 'linux && immutable' }
steps {
git("https://github.com/elastic/observability-dev.git")
dir('.github/labels') {
withCredentials([string(credentialsId: '2a9602aa-ab9f-4e52-baf3-b71ca88469c7', variable: 'GITHUB_TOKEN')]) {
sh 'github-labels-sync.sh "${GITHUB_TOKEN}"'
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This is the contract

}
}
}
}
}
post {
cleanup {
Expand Down