Skip to content

Commit

Permalink
Fix mainline packaging (#4268)
Browse files Browse the repository at this point in the history
* Fix nix builds
* Remove package publishing (deb, brew)
  • Loading branch information
dincho committed Feb 9, 2024
1 parent 3d9b73f commit 2c8141a
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 71 deletions.
19 changes: 0 additions & 19 deletions .circleci/config/workflows/commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -228,15 +228,6 @@ jobs:
- /releases\/.*/
- << pipeline.parameters.master_branch >>

- ubuntu_package:
requires: []
context: ae-slack
filters:
branches:
only:
- /releases\/.*/
- << pipeline.parameters.master_branch >>

- upload-artifacts-s3:
name: upload-artifacts-s3
bucket: << pipeline.parameters.s3_builds_bucket >>
Expand Down Expand Up @@ -291,16 +282,6 @@ jobs:
- /releases\/.*/
- << pipeline.parameters.master_branch >>

- publish-build-packages:
requires:
- ubuntu_package
context: ae-slack
filters:
branches:
only:
- /releases\/.*/
- << pipeline.parameters.master_branch >>

- deploy:
name: deploy-integration
version: $CIRCLE_SHA1
Expand Down
21 changes: 0 additions & 21 deletions .circleci/config/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,6 @@ jobs:
tags:
only: << pipeline.parameters.tag_regex >>

- ubuntu_package:
context: ae-slack
filters:
branches:
ignore: /.*/
tags:
only: << pipeline.parameters.tag_regex >>

- macos-tarball:
name: macos-release-tarball
package_name: aeternity-$CIRCLE_TAG-macos-x86_64.tar.gz
Expand Down Expand Up @@ -269,19 +261,6 @@ jobs:
tags:
only: << pipeline.parameters.tag_regex >>

- publish-release-packages:
context: ae-slack
requires:
- linux-release-tarball
- macos-release-tarball
- ubuntu_package
- hodl_latest
filters:
branches:
ignore: /.*/
tags:
only: << pipeline.parameters.tag_regex >>

- docker-image:
name: docker-image-tag-amd64
tag: $CIRCLE_TAG-amd64
Expand Down
4 changes: 2 additions & 2 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Priority: optional
Maintainer: Aeternity Team <info@aeternity.com>
Build-Depends: debhelper, ncurses-dev, libssl-dev, git, curl,
autoconf, build-essential,
esl-erlang ( >=1:21.3-1)
Build-Conflicts: esl-erlang ( >=1:24.0)
erlang ( >=1:24.3.4.15)
Build-Conflicts: erlang ( >=1:27.0)

Package: aeternity-node
Architecture: any
Expand Down
4 changes: 2 additions & 2 deletions default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
let
pkgs = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/860b56be91fb874d48e23a950815969a7b832fbc.tar.gz") {};
pkgs = import (fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-23.11") {};
in {
aeternityEnv = pkgs.stdenv.mkDerivation {
name = "aeternity";
Expand All @@ -10,7 +10,7 @@ in {
## base
pkgs.stdenv
## erlang
pkgs.erlangR23 # OTP 23.3.4.4
pkgs.erlang_26 # OTP 26.1.2
## crypto
pkgs.libsodium
## rocksdb build deps
Expand Down
27 changes: 0 additions & 27 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
This document describes how to install an Aeternity node using a release binary either by:

* [Quick install](#quick-install);
* [Install from a package manager](#package-install);
* [Install from a tarball](#tarball-install).

## Quick install
Expand All @@ -16,32 +15,6 @@ bash <(curl -s https://install.aeternity.io/install.sh)

While this method is the easiest one it is not recommended for production systems.

## Package Install

Installing from a package manager is the recommended way of installing the aeternity node,
as it also automatically installs the additional requirements and makes the updates much more simple.

### Ubuntu

The only supported version so far is 18.04 Bionic (x86-64).

```bash
sudo apt-get install software-properties-common
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D18ABB45C5AF91A0D835367E2106A773A40AFAEB
sudo apt-add-repository 'deb https://apt.aeternity.io bionic main'
sudo apt-get install aeternity-node
sudo service aeternity-node start
```

### macOS

Minimum required version is macOS Big Sur 11.6.2 (x86-64).

```bash
brew tap aeternity/aeternity
brew install aeternity-node
```

## Tarball Install

In order to install an Aeternity node from a tarball, you need to:
Expand Down

0 comments on commit 2c8141a

Please sign in to comment.