Skip to content

Commit 94c502a

Browse files
[bot-automerge] terraform-provider-grafana v4.28.2 (#81)
automerged PR by conda-forge/automerge-action
2 parents eeaa54e + 1aea82a commit 94c502a

5 files changed

Lines changed: 129 additions & 58 deletions

File tree

.azure-pipelines/azure-pipelines-linux.yml

Lines changed: 0 additions & 44 deletions
This file was deleted.

.github/workflows/conda-build.yml

Lines changed: 100 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,107 @@
44

55
name: Build conda package
66
on:
7-
workflow_dispatch:
7+
push:
8+
9+
pull_request:
10+
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
13+
cancel-in-progress: true
814

915
jobs:
1016
build:
11-
name: Disabled build
12-
runs-on: ubuntu-slim
13-
if: false
17+
name: ${{ matrix.CONFIG }}
18+
runs-on: ${{ matrix.runs_on }}
19+
timeout-minutes: 360
20+
strategy:
21+
fail-fast: false
22+
max-parallel: 50
23+
matrix:
24+
include:
25+
- CONFIG: linux_64_
26+
UPLOAD_PACKAGES: True
27+
os: ubuntu
28+
runs_on: ['ubuntu-latest']
29+
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
1430
steps:
15-
- run: exit 0
31+
32+
- name: Checkout code
33+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
34+
35+
- name: Build on Linux
36+
id: build-linux
37+
if: matrix.os == 'ubuntu'
38+
env:
39+
CONFIG: ${{ matrix.CONFIG }}
40+
UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }}
41+
DOCKER_IMAGE: ${{ matrix.DOCKER_IMAGE }}
42+
CI: github_actions
43+
CONDA_FORGE_DOCKER_RUN_ARGS: "${{ matrix.CONDA_FORGE_DOCKER_RUN_ARGS }}"
44+
BINSTAR_TOKEN: ${{ secrets.BINSTAR_TOKEN }}
45+
FEEDSTOCK_TOKEN: ${{ secrets.FEEDSTOCK_TOKEN }}
46+
STAGING_BINSTAR_TOKEN: ${{ secrets.STAGING_BINSTAR_TOKEN }}
47+
shell: bash
48+
run: |
49+
if [[ "$(uname -m)" == "x86_64" ]]; then
50+
echo "::group::Configure binfmt_misc"
51+
docker run --rm --privileged multiarch/qemu-user-static:register --reset --credential yes
52+
fi
53+
export flow_run_id="github_$GITHUB_RUN_ID"
54+
export remote_url="https://github.com/$GITHUB_REPOSITORY"
55+
export sha="$GITHUB_SHA"
56+
export FEEDSTOCK_NAME="$(basename $GITHUB_REPOSITORY)"
57+
export GIT_BRANCH="$(basename $GITHUB_REF)"
58+
if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then
59+
export IS_PR_BUILD="True"
60+
else
61+
export IS_PR_BUILD="False"
62+
fi
63+
echo "::endgroup::"
64+
./.scripts/run_docker_build.sh
65+
66+
- name: Build on macOS
67+
id: build-macos
68+
if: matrix.os == 'macos'
69+
env:
70+
CONFIG: ${{ matrix.CONFIG }}
71+
UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }}
72+
CI: github_actions
73+
BINSTAR_TOKEN: ${{ secrets.BINSTAR_TOKEN }}
74+
FEEDSTOCK_TOKEN: ${{ secrets.FEEDSTOCK_TOKEN }}
75+
STAGING_BINSTAR_TOKEN: ${{ secrets.STAGING_BINSTAR_TOKEN }}
76+
shell: bash
77+
run: |
78+
export flow_run_id="github_$GITHUB_RUN_ID"
79+
export remote_url="https://github.com/$GITHUB_REPOSITORY"
80+
export sha="$GITHUB_SHA"
81+
export FEEDSTOCK_NAME="$(basename $GITHUB_REPOSITORY)"
82+
export GIT_BRANCH="$(basename $GITHUB_REF)"
83+
if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then
84+
export IS_PR_BUILD="True"
85+
else
86+
export IS_PR_BUILD="False"
87+
fi
88+
./.scripts/run_osx_build.sh
89+
90+
- name: Build on windows
91+
id: build-windows
92+
if: matrix.os == 'windows'
93+
shell: cmd
94+
run: |
95+
set "flow_run_id=github_%GITHUB_RUN_ID%"
96+
set "remote_url=https://github.com/%GITHUB_REPOSITORY%"
97+
set "sha=%GITHUB_SHA%"
98+
call ".scripts\run_win_build.bat"
99+
env:
100+
# default value; make it explicit, as it needs to match with artefact
101+
# generation below. Not configurable for now, can be revisited later
102+
CONDA_BLD_DIR: C:\bld
103+
MINIFORGE_HOME: ${{ contains(runner.arch, 'ARM') && 'C' || 'D' }}:\Miniforge
104+
PYTHONUNBUFFERED: 1
105+
CONFIG: ${{ matrix.CONFIG }}
106+
CI: github_actions
107+
UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }}
108+
BINSTAR_TOKEN: ${{ secrets.BINSTAR_TOKEN }}
109+
FEEDSTOCK_TOKEN: ${{ secrets.FEEDSTOCK_TOKEN }}
110+
STAGING_BINSTAR_TOKEN: ${{ secrets.STAGING_BINSTAR_TOKEN }}

.scripts/run_docker_build.sh

Lines changed: 27 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

azure-pipelines.yml

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

recipe/meta.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% set provider = "Grafana" %}
22
{% set goname = "github.com/grafana/terraform-provider-"+provider.lower() %}
3-
{% set version = "4.28.1" %}
3+
{% set version = "4.28.2" %}
44

55
{% set name = goname.split('/')[-1] %}
66

@@ -13,7 +13,7 @@ package:
1313

1414
source:
1515
url: https://{{ goname }}/archive/v{{ version }}.tar.gz
16-
sha256: da68f64f31ca89edab5e2d7861906c9659f4fdf5550de01638846adc0df5fc5a
16+
sha256: 0d31da4af146596e6562d2b7137e426fdf8f6a6fbd0c92a5c6cbba2850ffbe1d
1717

1818

1919
build:

0 commit comments

Comments
 (0)