forked from kubernetes/cloud-provider-aws
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2fa6da6
commit b0061f2
Showing
3 changed files
with
53 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Sync upstream | ||
# This runs every day on 1000 UTC | ||
on: | ||
schedule: | ||
- cron: '0 10 * * *' | ||
# Allows manual workflow run | ||
workflow_dispatch: | ||
|
||
# Don't seem to be able to restrict this down since | ||
# it needs to be able to push workflows, but that | ||
# permission is not available here. | ||
permissions: write-all | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Sync with upstream | ||
uses: DataDog/sync-upstream-release-tag@main | ||
with: | ||
github_actor: "${GITHUB_ACTOR}" | ||
github_repository: "${GITHUB_REPOSITORY}" | ||
github_token: ${{ secrets.WORKFLOW_TOKEN }} | ||
date_suffix: "%Y%V" | ||
upstream_repo: kubernetes/cloud-provider-aws |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
include: https://gitlab-templates.ddbuild.io/compute-delivery/v2/compute-delivery.yml | ||
|
||
variables: | ||
KPR_CHART_NAME: k8s-platform-k8s-cloud-controller-manager | ||
test: | ||
stage: verify | ||
tags: [ "arch:amd64" ] | ||
image: registry.ddbuild.io/images/mirror/golang:1.21.1 | ||
script: | ||
- make test | ||
|
||
docker-image: | ||
variables: | ||
IMAGE_NAME: aws-cloud-controller-manager | ||
EXTRA_ARGS: "--build-arg=VERSION=${CI_COMMIT_TAG}" | ||
extends: .build-docker-image | ||
|
||
# run-campaign: | ||
# variables: | ||
# CHART_NAME: k8s-platform-k8s-cloud-controller-manager | ||
# COMPONENT: aws-cloud-controller-manager | ||
# SLACK_CHANNEL: compute-ops | ||
# extends: .run-campaign |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters