TheThingsNetwork / lorawan-stack-migrate

Migrate devices from other LoRaWAN Network Servers to The Things Stack
Apache License 2.0
8 stars 3 forks source link

Release Workflows #2

Closed neoaggelos closed 3 years ago

neoaggelos commented 4 years ago

The following tasks are needed:

cc @htdvisser @johanstokking, I do not have the required credentials for these tasks.

htdvisser commented 4 years ago

I won't have time for this today or Monday, so either assign @johanstokking or move to September

johanstokking commented 4 years ago

@neoaggelos these are separate things. I can take care of transferring the repository, but what credentials do we need exactly? Can you list them here (like snapcrafts, docker, brew) and what we concretely need to do?

htdvisser commented 4 years ago

Probably better to do this with GitHub Actions. Credentials are already in the organization, so I guess it's mostly just copy-paste from the lorawan-stack repo.

johanstokking commented 4 years ago

Yes, but aren't we getting a new snapcraft and brew with its own credentials?

htdvisser commented 4 years ago

Isn't this just a different package in the same Snap account? Isn't this just a different Formula in our Brew repo?

johanstokking commented 4 years ago

Looks like we use the account credentials indeed. I registered the snap name ttn-lw-migrate.

Do we use https://github.com/TheThingsNetwork/homebrew-lorawan-stack and add ttn-lw-migrate there?

johanstokking commented 4 years ago

Looks like we also need the GitHub action workflows for a release, with Docker and Snapcraft login, see https://github.com/TheThingsNetwork/lorawan-stack/blob/b8df35113f945742c2176b253496c1a0e17377eb/.github/workflows/release-tag.yml#L71-L81

@neoaggelos please file a PR with the workflow first. Don't bother with a release tag vs snapshot; one release workflow is fine.

Also please add workflows for CI to do some testing, code quality, build the binary, etc.

htdvisser commented 4 years ago

Do we use TheThingsNetwork/homebrew-lorawan-stack and add ttn-lw-migrate there?

Fine with me.

htdvisser commented 4 years ago

Repository transfer complete. Handing this back over to @neoaggelos so that he can add the release workflows