mirror of
https://github.com/hassio-addons/addon-airsonos.git
synced 2025-05-04 19:11:22 +00:00
🔥 Removes CircleCI
This commit is contained in:
parent
d79d47c310
commit
f61fe1c7ea
2 changed files with 0 additions and 90 deletions
|
@ -1,87 +0,0 @@
|
||||||
version: 2
|
|
||||||
defaults: &defaults
|
|
||||||
machine:
|
|
||||||
image: circleci/classic:edge
|
|
||||||
steps:
|
|
||||||
- run:
|
|
||||||
name: Check docker is running
|
|
||||||
command: docker info
|
|
||||||
- run:
|
|
||||||
name: Pull Community Hass.io Add-ons build environment
|
|
||||||
command: docker pull hassioaddons/build-env:latest
|
|
||||||
- run:
|
|
||||||
name: Log in to Docker Hub
|
|
||||||
command: |
|
|
||||||
if [[ "${CIRCLE_BRANCH}" = "master" || ! -z "${CIRCLE_TAG:-}" ]];
|
|
||||||
then
|
|
||||||
docker login -u "${DOCKER_LOGIN}" -p "${DOCKER_PASSWORD}"
|
|
||||||
fi
|
|
||||||
- checkout
|
|
||||||
- deploy:
|
|
||||||
name: Build and (maybe) deploy
|
|
||||||
command: |
|
|
||||||
if [[ "${CIRCLE_BRANCH}" = "master" || ! -z "${CIRCLE_TAG:-}" ]];
|
|
||||||
then
|
|
||||||
docker run \
|
|
||||||
--privileged \
|
|
||||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
|
||||||
-v ~/.docker:/root/.docker \
|
|
||||||
-v "$PWD":/docker \
|
|
||||||
hassioaddons/build-env:latest \
|
|
||||||
--image "hassioaddons/airsonos-{arch}" \
|
|
||||||
--cache-tag test \
|
|
||||||
--git \
|
|
||||||
--target airsonos \
|
|
||||||
--${ARCH} \
|
|
||||||
--push
|
|
||||||
else
|
|
||||||
docker run \
|
|
||||||
--privileged \
|
|
||||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
|
||||||
-v "$PWD":/docker \
|
|
||||||
hassioaddons/build-env:latest \
|
|
||||||
--image "hassioaddons/airsonos-{arch}" \
|
|
||||||
--cache-tag test \
|
|
||||||
--git \
|
|
||||||
--target airsonos \
|
|
||||||
--${ARCH}
|
|
||||||
fi
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
aarch64:
|
|
||||||
<<: *defaults
|
|
||||||
environment:
|
|
||||||
ARCH: aarch64
|
|
||||||
amd64:
|
|
||||||
<<: *defaults
|
|
||||||
environment:
|
|
||||||
ARCH: amd64
|
|
||||||
armhf:
|
|
||||||
<<: *defaults
|
|
||||||
environment:
|
|
||||||
ARCH: armhf
|
|
||||||
i386:
|
|
||||||
<<: *defaults
|
|
||||||
environment:
|
|
||||||
ARCH: i386
|
|
||||||
|
|
||||||
workflows:
|
|
||||||
version: 2
|
|
||||||
build_and_maybe_deploy:
|
|
||||||
jobs:
|
|
||||||
- aarch64:
|
|
||||||
filters:
|
|
||||||
tags:
|
|
||||||
only: /.*/
|
|
||||||
- amd64:
|
|
||||||
filters:
|
|
||||||
tags:
|
|
||||||
only: /.*/
|
|
||||||
- armhf:
|
|
||||||
filters:
|
|
||||||
tags:
|
|
||||||
only: /.*/
|
|
||||||
- i386:
|
|
||||||
filters:
|
|
||||||
tags:
|
|
||||||
only: /.*/
|
|
|
@ -6,7 +6,6 @@
|
||||||
[![GitHub Activity][commits-shield]][commits]
|
[![GitHub Activity][commits-shield]][commits]
|
||||||
[![License][license-shield]](LICENSE.md)
|
[![License][license-shield]](LICENSE.md)
|
||||||
|
|
||||||
[![CircleCI][circleci-shield]][circleci]
|
|
||||||
[![Bountysource][bountysource-shield]][bountysource]
|
[![Bountysource][bountysource-shield]][bountysource]
|
||||||
[![Discord][discord-shield]][discord]
|
[![Discord][discord-shield]][discord]
|
||||||
[![Community Forum][forum-shield]][forum]
|
[![Community Forum][forum-shield]][forum]
|
||||||
|
@ -303,8 +302,6 @@ SOFTWARE.
|
||||||
[bitcoin]: https://blockchain.info/payment_request?address=3GVzgN6NpVtfXnyg5dQnaujtqVTEDBCtAH
|
[bitcoin]: https://blockchain.info/payment_request?address=3GVzgN6NpVtfXnyg5dQnaujtqVTEDBCtAH
|
||||||
[bountysource-shield]: https://img.shields.io/bountysource/team/hassio-addons/activity.svg
|
[bountysource-shield]: https://img.shields.io/bountysource/team/hassio-addons/activity.svg
|
||||||
[bountysource]: https://www.bountysource.com/teams/hassio-addons/issues
|
[bountysource]: https://www.bountysource.com/teams/hassio-addons/issues
|
||||||
[circleci-shield]: https://img.shields.io/circleci/project/github/hassio-addons/addon-airsonos.svg
|
|
||||||
[circleci]: https://circleci.com/gh/hassio-addons/addon-airsonos
|
|
||||||
[commits-shield]: https://img.shields.io/github/commit-activity/y/hassio-addons/addon-airsonos.svg
|
[commits-shield]: https://img.shields.io/github/commit-activity/y/hassio-addons/addon-airsonos.svg
|
||||||
[commits]: https://github.com/hassio-addons/addon-airsonos/commits/master
|
[commits]: https://github.com/hassio-addons/addon-airsonos/commits/master
|
||||||
[contributors]: https://github.com/hassio-addons/addon-airsonos/graphs/contributors
|
[contributors]: https://github.com/hassio-addons/addon-airsonos/graphs/contributors
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue