diff --git a/.github/workflows/ansible.yaml b/.github/workflows/ansible.yaml index 5284c56ee..19888cd35 100644 --- a/.github/workflows/ansible.yaml +++ b/.github/workflows/ansible.yaml @@ -51,56 +51,6 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }} - # setup_docker_testbench: - # name: setup_docker_testbench - # runs-on: ubuntu-22.04 - # steps: - # - name: Get current date - # id: date - # run: echo "::set-output name=date::$(date +'%Y-%m-%d')" - # - uses: actions/checkout@v2-beta - # - uses: actions/cache@v2 - # if: ${{ github.event.label.name != 'clean_build' }} - # with: - # path: docker/docker_testbench/mount_point/ - # key: sd-card-image-${{ steps.date.outputs.date }} - # - name: basic install - # run: | - # sudo apt install make ansible - # - name: ansible version - # run: | - # ansible-playbook --version - # - name: run ansible and install docker - # run: | - # ansible-playbook -i ansible/hosts/localhost.ini ansible/setup_docker_testbench.yml --connection local --become -e ansible_user=ubuntu - # - name: Notify Slack - # uses: 8398a7/action-slack@v2 - # if: failure() - # with: - # status: ${{ job.status }} - # env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }} - setup_ml_pipeline: - name: setup_ml_pipeline - runs-on: ubuntu-22.04 - steps: - - uses: actions/checkout@v2-beta - - name: basic install - run: | - sudo apt install ansible - - name: run ansible and install docker - run: | - ansible-galaxy install -fr ansible/roles/requirements.yml - ansible-playbook -i ansible/hosts/localhost.ini ansible/setup_ml_pipeline.yml --connection local --become -e ansible_user=ubuntu - - name: Notify Slack - uses: 8398a7/action-slack@v2 - if: failure() - with: - status: ${{ job.status }} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }} setup_firmware: name: setup_firmware runs-on: ubuntu-22.04 diff --git a/.github/workflows/docker/yolox/Dockerfile b/.github/workflows/docker/yolox/Dockerfile index af7be6a3a..ccbf551e5 100644 --- a/.github/workflows/docker/yolox/Dockerfile +++ b/.github/workflows/docker/yolox/Dockerfile @@ -1,4 +1,4 @@ -FROM nvidia/cuda:11.4.0-cudnn8-devel-ubuntu20.04 +FROM nvidia/cuda:11.4.3-cudnn8-devel-ubuntu20.04 ENV DEBIAN_FRONTEND noninteractive #RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub RUN apt-get update && \ diff --git a/.github/workflows/document.yaml b/.github/workflows/document.yaml index 7c27157e2..02e762c91 100644 --- a/.github/workflows/document.yaml +++ b/.github/workflows/document.yaml @@ -20,7 +20,7 @@ jobs: with: python-version: "3.10.12" - name: Install - run: pip3 install mkdocs mkdocs-material fontawesome_markdown mkdocs-mermaid2-plugin pymdown-extensions plantuml-markdown python-markdown-math python-github-api mkdocs-github-dashboard pandas + run: pip3 install mkdocs mkdocs-material fontawesome_markdown mkdocs-mermaid2-plugin pymdown-extensions plantuml-markdown python-markdown-math python-github-api mkdocs-github-dashboard pandas markdown==3.3.0 - name: Set env run: echo "GITHUB_TOKEN=${{ secrets.WAMV_TAN_BOT_SECRET }}" >> $GITHUB_ENV - name: Generate documentation diff --git a/.github/workflows/generate_rosdep_yaml.yaml b/.github/workflows/generate_rosdep_yaml.yaml index da53217de..0f49359b0 100644 --- a/.github/workflows/generate_rosdep_yaml.yaml +++ b/.github/workflows/generate_rosdep_yaml.yaml @@ -18,10 +18,10 @@ jobs: - name: ansible version run: | ansible-playbook --version - - name: Setup ROS2 galactic environment + - name: Setup ROS2 humble environment uses: ros-tooling/setup-ros@v0.2 with: - required-ros-distributions: galactic + required-ros-distributions: humble - uses: actions/checkout@v2-beta - name: run ansible run: | diff --git a/ansible/roles/ml_pipeline/tasks/main.yml b/ansible/roles/ml_pipeline/tasks/main.yml deleted file mode 100644 index 5745af742..000000000 --- a/ansible/roles/ml_pipeline/tasks/main.yml +++ /dev/null @@ -1,64 +0,0 @@ ---- -- name: install required packages - apt: - name: "{{ packages }}" - state: latest - update_cache: yes - vars: - packages: - - curl - - tar - - apt-transport-https - - awscli - become: true - -- name: download kubectl binary - become: yes - get_url: - url: https://storage.googleapis.com/kubernetes-release/release/v1.24.0/bin/linux/amd64/kubectl - checksum: sha256:94d686bb6772f6fb59e3a32beff908ab406b79acdfb2427abdc4ac3ce1bb98d7 - dest: /usr/local/bin/kubectl - mode: +x - -- name: download argo workflow binary - become: yes - get_url: - url: https://github.com/argoproj/argo/releases/download/v2.9.2/argo-linux-amd64 - checksum: sha256:88a95a00741455e22970517d9b6ca714307189814c74424408b956cdd36d8450 - dest: /usr/local/bin/argo - mode: +x - -- name: download helm binary - become: yes - get_url: - url: https://get.helm.sh/helm-v3.9.0-linux-amd64.tar.gz - checksum: sha256:1484ffb0c7a608d8069470f48b88d729e88c41a1b6602f145231e8ea7b43b50a - dest: /tmp - -- name: untar helm binary - unarchive: - src: /tmp/helm-v3.9.0-linux-amd64.tar.gz - dest: /tmp - -- name: install binady - become: yes - copy: - src: /tmp/linux-amd64/helm - dest: /usr/local/bin/helm - mode: +x - -#- name: Install minio client -# get_url: -# url: https://dl.min.io/client/mc/release/linux-amd64/mc -# dest: /usr/local/bin/mc -# checksum: sha256:55140582f715d0eb174096207d9983d86369b634166fe8e7f74a9dfae0175943 -# mode: +x -# become: yes - -- name: Install kompose - get_url: - url: https://github.com/kubernetes/kompose/releases/download/v1.26.1/kompose-linux-amd64 - dest: /usr/local/bin/kompose - checksum: sha256:cd85b8c205dc63985e9bde4911b15c8556029e09671599919ed81bff8453a36f - mode: +x - become: yes \ No newline at end of file diff --git a/ansible/setup_ml_pipeline.yml b/ansible/setup_ml_pipeline.yml deleted file mode 100644 index 57cabc2be..000000000 --- a/ansible/setup_ml_pipeline.yml +++ /dev/null @@ -1,7 +0,0 @@ ---- -- name: Setup ml pipeline - hosts: all - roles: - - docker - - gantsign.minikube - - ml_pipeline \ No newline at end of file