name: Package All # TODO(gitbuda): Cleanup docker container if GHA job was canceled. on: workflow_dispatch jobs: centos-7: runs-on: [self-hosted, DockerMgBuild] timeout-minutes: 60 steps: - name: "Set up repository" uses: actions/checkout@v2 with: fetch-depth: 0 # Required because of release/get_version.py - name: "Build package" run: | ./release/package/run.sh package centos-7 - name: "Upload package" uses: actions/upload-artifact@v2 with: name: centos-7_enterprise path: build/output/centos-7/memgraph*.rpm centos-8: runs-on: [self-hosted, DockerMgBuild] timeout-minutes: 60 steps: - name: "Set up repository" uses: actions/checkout@v2 with: fetch-depth: 0 # Required because of release/get_version.py - name: "Build package" run: | ./release/package/run.sh package centos-8 - name: "Upload package" uses: actions/upload-artifact@v2 with: name: centos-8_enterprise path: build/output/centos-8/memgraph*.rpm debian-9: runs-on: [self-hosted, DockerMgBuild] timeout-minutes: 60 steps: - name: "Set up repository" uses: actions/checkout@v2 with: fetch-depth: 0 # Required because of release/get_version.py - name: "Build package" run: | ./release/package/run.sh package debian-9 - name: "Upload package" uses: actions/upload-artifact@v2 with: name: debian-9_enterprise path: build/output/debian-9/memgraph*.deb debian-10: runs-on: [self-hosted, DockerMgBuild] timeout-minutes: 60 steps: - name: "Set up repository" uses: actions/checkout@v2 with: fetch-depth: 0 # Required because of release/get_version.py - name: "Build package" run: | ./release/package/run.sh package debian-10 - name: "Upload package" uses: actions/upload-artifact@v2 with: name: debian-10_enterprise path: build/output/debian-10/memgraph*.deb docker: runs-on: [self-hosted, DockerMgBuild] timeout-minutes: 60 steps: - name: "Set up repository" uses: actions/checkout@v2 with: fetch-depth: 0 # Required because of release/get_version.py - name: "Build package" run: | cd release/package ./run.sh package debian-10 --for-docker ./run.sh docker - name: "Upload package" uses: actions/upload-artifact@v2 with: name: docker_enterprise path: build/output/docker/memgraph*.tar.gz ubuntu-1804: runs-on: [self-hosted, DockerMgBuild] timeout-minutes: 60 steps: - name: "Set up repository" uses: actions/checkout@v2 with: fetch-depth: 0 # Required because of release/get_version.py - name: "Build package" run: | ./release/package/run.sh package ubuntu-18.04 - name: "Upload package" uses: actions/upload-artifact@v2 with: name: ubuntu-1804_enterprise path: build/output/ubuntu-18.04/memgraph*.deb ubuntu-2004: runs-on: [self-hosted, DockerMgBuild] timeout-minutes: 60 steps: - name: "Set up repository" uses: actions/checkout@v2 with: fetch-depth: 0 # Required because of release/get_version.py - name: "Build package" run: | ./release/package/run.sh package ubuntu-20.04 - name: "Upload package" uses: actions/upload-artifact@v2 with: name: ubuntu-2004_enterprise path: build/output/ubuntu-20.04/memgraph*.deb