Skip to content

Commit

Permalink
Merge pull request GoogleCloudPlatform#1423 from acpana/acpana/dcl-up…
Browse files Browse the repository at this point in the history
…grade-probe

ci: add dcl upgrade probe
  • Loading branch information
google-oss-prow[bot] authored Mar 26, 2024
2 parents 523d79a + 2a8f7d3 commit ca7bb9c
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/dcl-upgrade-probe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.


name: dcl-upgrade-probe
on:
schedule:
# daily at 3 AM PST/ 11:00 UTC
- cron: '0 11 * * *'
# will run against the lastest commit on the default branch as per
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
# push:
# branches:
# - master
jobs:
upgrade-probe:
name: "upgrade-probe"
runs-on: ubuntu-22.04
timeout-minutes: 10
permissions:
contents: read
steps:
- name: Set up Go 1.21
uses: actions/setup-go@v4
with:
go-version: 1.21
- name: Check out code into the Go module directory
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: upgrade dcl
run: make upgrade-dcl && make ready-pr

0 comments on commit ca7bb9c

Please sign in to comment.