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

Kraken on debian11 #4301

Open
wants to merge 17 commits into
base: dev
Choose a base branch
from
1 change: 0 additions & 1 deletion .github/workflows/build_dockers_debian11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ env:
debian_version: debian11

jobs:

build_navitia_arm64:
runs-on: ubuntu-latest
steps:
Expand Down
80 changes: 80 additions & 0 deletions .github/workflows/docker_builder_kraken_debian11.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
name: Build Navitia Dockers with Debian 11

on:
push:
branches:
- dev
tags:
- '*'
jobs:
common_variables:
name: Common variables
runs-on: [self-hosted, kraken, sandbox]
outputs:
RELEASE_TAG: ${{ steps.choose_navitia_tag.outputs.navitia_tag }}
steps:
- name: force chown to avoid errors
run: sudo chown -R $USER:$USER .

# - name: Generate github private access token
# id: ci-core-app-token
# uses: getsentry/action-github-app-token@v2.0.0
# with:
# app_id: ${{ secrets.CI_CORE_APP_ID }}
# private_key: ${{ secrets.CI_CORE_APP_PEM }}

# - name: Checkout navitia
# id: checkout_navitia
# uses: actions/checkout@v3
# with:
# token: ${{ steps.ci-core-app-token.outputs.token }}
# # we need entire history for tags
# fetch-depth: 0

# - name: Choose navitia tag
# id: choose_navitia_tag
# run: |
# version=$(git describe --tags)
# echo "navitia_tag=$version" >> $GITHUB_OUTPUT

# debian11_kraken_image:
# runs-on: [self-hosted, kraken, sandbox]
# name: Build debian11 kraken image
# needs: common_variables
# steps:
# - name: force chown to avoid errors
# run: sudo chown -R $USER:$USER .

# - name: Git config
# run: git config --global --add safe.directory /__w/navitia/navitia

# - name: Generate github private access token
# id: ci-core-app-token
# uses: getsentry/action-github-app-token@v2.0.0
# with:
# app_id: ${{ secrets.CI_CORE_APP_ID }}
# private_key: ${{ secrets.CI_CORE_APP_PEM }}

# - name: Checkout
# uses: actions/checkout@v3
# with:
# submodules: recursive
# token: ${{ steps.ci-core-app-token.outputs.token }}

# - name: Login to Amazon ECR
# uses: aws-actions/amazon-ecr-login@v1
# env:
# AWS_REGION: eu-west-1
# with:
# registries: "162230498103"

# - name: Create builder docker
# run: |
# docker build -f docker/debian11/Dockerfile-builder-kraken -t navitia/builder .

# - name: Build Kraken
# run: docker run -v `pwd`:/navitia/navitia/ navitia/builder

# - name: Create Kraken image
# run: |
# docker build -t navitia/kraken -f docker/debian11/Dockerfile-kraken .
Loading
Loading