Skip to content

Commit b705020

Browse files
authoredAug 29, 2021
move everything from qmkfm/base_container to qmkfm/qmk_cli (qmk#14230)
1 parent 13a2da9 commit b705020

13 files changed

+16
-17
lines changed
 

‎.github/workflows/api.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
jobs:
1313
api_data:
1414
runs-on: ubuntu-latest
15-
container: qmkfm/base_container
15+
container: qmkfm/qmk_cli
1616

1717
# protect against those who develop with their fork on master
1818
if: github.repository == 'qmk/qmk_firmware'

‎.github/workflows/cli.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
test:
1717
runs-on: ubuntu-latest
1818

19-
container: qmkfm/base_container
19+
container: qmkfm/qmk_cli
2020

2121
steps:
2222
- uses: actions/checkout@v2
@@ -25,4 +25,4 @@ jobs:
2525
- name: Install dependencies
2626
run: pip3 install -r requirements-dev.txt
2727
- name: Run tests
28-
run: bin/qmk pytest
28+
run: qmk pytest

‎.github/workflows/develop_api.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
jobs:
1313
api_data:
1414
runs-on: ubuntu-latest
15-
container: qmkfm/base_container
15+
container: qmkfm/qmk_cli
1616

1717
# protect against those who work in their fork on develop
1818
if: github.repository == 'qmk/qmk_firmware'

‎.github/workflows/docs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
jobs:
1515
generate:
1616
runs-on: ubuntu-latest
17-
container: qmkfm/base_container
17+
container: qmkfm/qmk_cli
1818

1919
# protect against those who develop with their fork on master
2020
if: github.repository == 'qmk/qmk_firmware'

‎.github/workflows/format.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
lint:
1717
runs-on: ubuntu-latest
1818

19-
container: qmkfm/base_container
19+
container: qmkfm/qmk_cli
2020

2121
steps:
2222
- uses: rlespinasse/github-slug-action@v3.x

‎.github/workflows/lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
lint:
1010
runs-on: ubuntu-latest
1111

12-
container: qmkfm/base_container
12+
container: qmkfm/qmk_cli
1313

1414
steps:
1515
- uses: actions/checkout@v2

‎Dockerfile

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
FROM qmkfm/base_container
1+
FROM qmkfm/qmk_cli
22

33
VOLUME /qmk_firmware
44
WORKDIR /qmk_firmware
5-
COPY . .
65

7-
CMD make all:default
6+
CMD qmk compile -kb all -km default

‎Vagrantfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@ Vagrant.configure(2) do |config|
6868
["virtualbox", "vmware_workstation", "vmware_fusion"].each do |type|
6969
config.vm.provider type do |virt, override|
7070
override.vm.provision "docker" do |d|
71-
d.run "qmkfm/base_container",
71+
d.run "qmkfm/qmk_cli",
7272
cmd: "tail -f /dev/null",
7373
args: "--privileged -v /dev:/dev -v '/vagrant:/vagrant'"
7474
end
7575

7676
override.vm.provision "shell", inline: <<-SHELL
77-
echo 'docker restart qmkfm-base_container && exec docker exec -it qmkfm-base_container /bin/bash -l' >> ~vagrant/.bashrc
77+
echo 'docker restart qmkfm-qmk_cli && exec docker exec -it qmkfm-qmk_cli /bin/bash -l' >> ~vagrant/.bashrc
7878
SHELL
7979
end
8080
end

‎docs/getting_started_vagrant.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The "easy" way to flash the firmware is using a tool from your host OS:
2424
If you want to program via the command line you can uncomment the ['modifyvm'] lines in the Vagrantfile to enable the USB passthrough into Linux and then program using the command line tools like dfu-util/dfu-programmer or you can install the Teensy CLI version.
2525

2626
## Vagrantfile Overview
27-
The development environment is configured to run the QMK Docker image, `qmkfm/base_container`. This not only ensures predictability between systems, it also mirrors the CI environment.
27+
The development environment is configured to run the QMK Docker image, `qmkfm/qmk_cli`. This not only ensures predictability between systems, it also mirrors the CI environment.
2828

2929
## FAQ
3030

‎docs/ja/getting_started_vagrant.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Vagrant 以外に、適切なプロバイダがインストールされ、その
2929
コマンドラインでプログラムしたい場合は、Vagranfile の ['modifyvm'] 行のコメントを解除して Linux への USB パススルーを有効にし、dfu-util/dfu-programmer のようなコマンドラインツールを使ってプログラムすることができます。あるいは Teensy CLI バージョンをインストールすることができます。
3030

3131
## Vagrantfile の概要
32-
開発環境は QMK Docker イメージ、`qmkfm/base_container` を実行するように設定されています。これはシステム間の予測可能性が保証されるだけでなく、CI 環境もミラーされます。
32+
開発環境は QMK Docker イメージ、`qmkfm/qmk_cli` を実行するように設定されています。これはシステム間の予測可能性が保証されるだけでなく、CI 環境もミラーされます。
3333

3434
## FAQ
3535

‎util/docker_build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,5 +81,5 @@ fi
8181
-e ALT_GET_KEYBOARDS=true \
8282
-e SKIP_GIT="$SKIP_GIT" \
8383
-e MAKEFLAGS="$MAKEFLAGS" \
84-
qmkfm/base_container \
84+
qmkfm/qmk_cli \
8585
make "$keyboard${keymap:+:$keymap}${target:+:$target}"

‎util/vagrant/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM qmkfm/base_container
1+
FROM qmkfm/qmk_cli
22

33
# Basic upgrades; install sudo and SSH.
44
RUN apt-get update && apt-get install --no-install-recommends -y \

‎util/vagrant/readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# QMK Vagrant Utilities
22

33
## Dockerfile
4-
Vagrant-friendly `qmkfm/base_container`.
4+
Vagrant-friendly `qmkfm/qmk_cli`.
55

66
In order for the Docker provider and `vagrant ssh` to function the container has a few extra requirements.
77

0 commit comments

Comments
 (0)
Please sign in to comment.