Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: reorganize packaging and release workflows #473

Closed
wants to merge 31 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
fe7c267
New devnet deploy skeleton
Mirko-von-Leipzig Aug 28, 2024
1b42cb2
Testnet deploy in release workflow
Mirko-von-Leipzig Aug 28, 2024
06c23fb
Packaging in release jobs
Mirko-von-Leipzig Aug 28, 2024
fc86122
Add the deploy and packaging actions
Mirko-von-Leipzig Aug 28, 2024
4dbc559
Standardize naming and inputs
Mirko-von-Leipzig Aug 28, 2024
2c7b65d
Attempt at an ssm send-command wrapper
Mirko-von-Leipzig Aug 29, 2024
52aa0bc
tmp test for ssm
Mirko-von-Leipzig Aug 29, 2024
36901a1
Actions must specify shell
Mirko-von-Leipzig Aug 29, 2024
04c4b11
with quotes
Mirko-von-Leipzig Aug 29, 2024
7a94a59
fix cmd id
Mirko-von-Leipzig Aug 29, 2024
5167de3
handle none status
Mirko-von-Leipzig Aug 29, 2024
b41f3b6
simplify
Mirko-von-Leipzig Aug 29, 2024
6d66bc0
eh
Mirko-von-Leipzig Aug 29, 2024
cfbedd6
fix typo
Mirko-von-Leipzig Aug 29, 2024
6428aa0
other command
Mirko-von-Leipzig Aug 29, 2024
2c1cbe7
try with original
Mirko-von-Leipzig Aug 29, 2024
45bb5d7
fixed I think
Mirko-von-Leipzig Aug 29, 2024
3e3caf1
pls
Mirko-von-Leipzig Aug 29, 2024
6471b07
compare
Mirko-von-Leipzig Aug 29, 2024
b29d435
minify
Mirko-von-Leipzig Aug 29, 2024
875e637
action complete
Mirko-von-Leipzig Aug 29, 2024
eb4f1ee
reset devnet deploy post testing
Mirko-von-Leipzig Aug 29, 2024
589d51a
attemp scp
Mirko-von-Leipzig Aug 29, 2024
b36807d
testing scp
Mirko-von-Leipzig Aug 29, 2024
27e4b33
secrets
Mirko-von-Leipzig Aug 29, 2024
2f77c4a
shellception
Mirko-von-Leipzig Aug 29, 2024
343afb6
can't reference other actions yet
Mirko-von-Leipzig Aug 29, 2024
1662308
cmd names
Mirko-von-Leipzig Aug 29, 2024
7e22f2e
perms
Mirko-von-Leipzig Aug 29, 2024
7f39fc3
envs
Mirko-von-Leipzig Aug 29, 2024
ad8e622
perms
Mirko-von-Leipzig Aug 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
testing scp
Mirko-von-Leipzig committed Aug 29, 2024
commit b36807d167303939577f338f7c8f728798c8569c
12 changes: 6 additions & 6 deletions .github/actions/deploy/action.yml
Original file line number Diff line number Diff line change
@@ -9,12 +9,12 @@ inputs:
required: true
instance-id:
required: true
node-package:
required: true
description: "Path to the miden-node debian package."
faucet-package:
required: true
description: "Path to the miden-faucet debian package."
# node-package:
# required: true
# description: "Path to the miden-node debian package."
# faucet-package:
# required: true
# description: "Path to the miden-faucet debian package."
runs:
using: "composite"
steps:
20 changes: 10 additions & 10 deletions .github/workflows/deploy_devnet.yml
Original file line number Diff line number Diff line change
@@ -23,21 +23,21 @@ jobs:
steps:
- uses: actions/checkout@main

- name: Set version
id: version
run: echo "version=$(git describe)" >> $GITHUB_OUTPUT
# - name: Set version
# id: version
# run: echo "version=$(git describe)" >> $GITHUB_OUTPUT

- name: Build Debian packages
id: build
uses: ./.github/actions/debian-packages
with:
suffix: ${{ steps.version.outputs.version }}-arm64
# - name: Build Debian packages
# id: build
# uses: ./.github/actions/debian-packages
# with:
# suffix: ${{ steps.version.outputs.version }}-arm64

- name: Deploy packages
uses: ./.github/actions/deploy
with:
role-to-assume: arn:aws:iam::${{ secrets.account-id }}:role/midendev-GithubActionsRole
aws-region: us-west-1
instance-id: ${{ secrets.instance-id }}
node-package: ${{ steps.build.outputs.node-package }}
faucet-package: ${{ steps.build.outputs.faucet-package }}
# node-package: ${{ steps.build.outputs.node-package }}
# faucet-package: ${{ steps.build.outputs.faucet-package }}