Skip to content

Commit

Permalink
Composable ngihtly snapshot (#762) (#763)
Browse files Browse the repository at this point in the history
* multi arch build test

* setup mightly backup for composable db

* update docker-release

Co-authored-by: haroldsphinx <haroldsphinx@gmail.com>

Co-authored-by: Adedayo Akinpelu <adedayoakinpelu@gmail.com>
Co-authored-by: haroldsphinx <haroldsphinx@gmail.com>
  • Loading branch information
3 people authored Mar 15, 2022
1 parent 48c36fe commit 51afd37
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ jobs:
builder: ${{ steps.buildx.outputs.name }}
context: .
file: docker/Dockerfile
platforms: linux/386,linux/amd64,linux/arm64,linux/ppc64le,linux/arm/v6,linux/arm/v7
platforms: linux/386,linux/amd64,linux/arm64,linux/ppc64le,linux/arm/v6,linux/arm/v7, linux/arm/v8
push: true
tags: composablefi/composable:${{ steps.imagetag.outputs.release_version }}
tags: composablefi/composable:${{ steps.imagetag.outputs.release_version }}, composablefi/composable:latest

#- name: Docker push
# run: RELEASE_VERSION=$(git tag --sort=committerdate | grep -E '^v[0-9]' | tail -1) make push
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/picashot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,22 @@ jobs:
- name: Run ansible playbook
run: |
ansible-playbook -l _collator_node_yes /opt/ansible/inventory/dalishot.yml -i /opt/ansible/inventory/gcp.yaml --user runner -e 'ansible_python_interpreter=/usr/bin/python3'
composable-snapshot:
runs-on:
- self-hosted
- linux
- X64
- ansible-runner

steps:
- name: Clean up
continue-on-error: true
run: |
sudo chown -R $USER:$USER $GITHUB_WORKSPACE
docker system prune --force --all --volumes
- name: Run ansible playbook
run: |
ansible-playbook -l _node_class_collator /opt/ansible/inventory/composable-shot.yml -i /opt/ansible/inventory/composable-gcp.yaml --user root -e 'ansible_python_interpreter=/usr/bin/python3'

0 comments on commit 51afd37

Please sign in to comment.