| | |
| | | run: | |
| | | sudo apt-get update |
| | | sudo apt-get install -y rpm |
| | | - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 |
| | | - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
| | | with: |
| | | fetch-depth: 0 |
| | | submodules: recursive |
| | | - name: Java ${{ matrix.Java }} (${{ matrix.os }}) |
| | | uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0 |
| | | uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1 |
| | | with: |
| | | java-version: ${{ matrix.java }} |
| | | distribution: 'zulu' |
| | | - name: Cache Maven packages |
| | | uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5.1.0 |
| | | uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 |
| | | with: |
| | | path: ~/.m2/repository |
| | | key: ${{ runner.os }}-m2-repository-${{ hashFiles('**/pom.xml') }} |
| | |
| | | ports: |
| | | - 5000:5000 |
| | | steps: |
| | | - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 |
| | | - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
| | | with: |
| | | sparse-checkout: .github/benchmark |
| | | - name: Download artifacts |
| | |
| | | tags: | |
| | | type=raw,value=${{ env.release_version }} |
| | | - name: Set up QEMU |
| | | uses: docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4.2.0 |
| | | uses: docker/setup-qemu-action@99012661954931238ded8c8b007157a8430204e1 # v4.4.0 |
| | | - name: Set up Docker Buildx |
| | | uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0 |
| | | uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1 |
| | | with: |
| | | driver-opts: network=host |
| | | - name: Prepare Dockerfile |
| | |
| | | cp ./opendj-server-legacy/target/package/opendj-*.zip ./opendj-packages/opendj-docker |
| | | sed -i -E '/^#COPY opendj/s/^#//' ./opendj-packages/opendj-docker/Dockerfile |
| | | - name: Build image (default) |
| | | uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0 |
| | | uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0 |
| | | with: |
| | | context: ./opendj-packages/opendj-docker |
| | | file: ./opendj-packages/opendj-docker/Dockerfile |
| | |
| | | # distinct from the docker-scan.yml categories, which track the published images |
| | | category: trivy-build-default |
| | | - name: Cache JMeter |
| | | uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5.1.0 |
| | | uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 |
| | | with: |
| | | path: ~/jmeter |
| | | key: jmeter-5.6.3 |
| | |
| | | ports: |
| | | - 5000:5000 |
| | | steps: |
| | | - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 |
| | | - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
| | | with: |
| | | sparse-checkout: .github/benchmark |
| | | - name: Download artifacts |
| | |
| | | type=raw,value=alpine |
| | | type=raw,value=${{ env.release_version }}-alpine |
| | | - name: Set up QEMU |
| | | uses: docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4.2.0 |
| | | uses: docker/setup-qemu-action@99012661954931238ded8c8b007157a8430204e1 # v4.4.0 |
| | | - name: Set up Docker Buildx |
| | | uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0 |
| | | uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1 |
| | | with: |
| | | driver-opts: network=host |
| | | - name: Prepare Dockerfile |
| | |
| | | cp ./opendj-server-legacy/target/package/opendj-*.zip ./opendj-packages/opendj-docker |
| | | sed -i -E '/^#COPY opendj/s/^#//' ./opendj-packages/opendj-docker/Dockerfile-alpine |
| | | - name: Build image |
| | | uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0 |
| | | uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0 |
| | | with: |
| | | context: ./opendj-packages/opendj-docker |
| | | file: ./opendj-packages/opendj-docker/Dockerfile-alpine |
| | |
| | | # distinct from the docker-scan.yml categories, which track the published images |
| | | category: trivy-build-alpine |
| | | - name: Cache JMeter |
| | | uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5.1.0 |
| | | uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 |
| | | with: |
| | | path: ~/jmeter |
| | | key: jmeter-5.6.3 |
| | |
| | | needs: build-maven |
| | | runs-on: 'ubuntu-latest' |
| | | steps: |
| | | - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 |
| | | - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
| | | - name: Download artifacts |
| | | uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 |
| | | with: |
| | |
| | | needs: build-maven |
| | | runs-on: 'ubuntu-latest' |
| | | steps: |
| | | - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 |
| | | - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
| | | - name: Download artifacts |
| | | uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 |
| | | with: |
| | |
| | | needs: build-maven |
| | | runs-on: 'ubuntu-latest' |
| | | steps: |
| | | - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 |
| | | - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
| | | - name: Download artifacts |
| | | uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 |
| | | with: |
| | |
| | | needs: build-maven |
| | | runs-on: 'ubuntu-latest' |
| | | steps: |
| | | - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 |
| | | - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
| | | - name: Download artifacts |
| | | uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 |
| | | with: |
| | |
| | | # Only for .github/scripts/wait-server-stopped.ps1 and the MSI authoring the guard |
| | | # step below reads, and it has to come first: checkout cleans the workspace the |
| | | # artifact is unpacked into. Sparse because those two are the entire reason for it. |
| | | - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 |
| | | - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
| | | with: |
| | | sparse-checkout: | |
| | | .github/scripts |
| | |
| | | with: |
| | | name: windows-latest-11 |
| | | - name: Set up Java |
| | | uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0 |
| | | uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1 |
| | | with: |
| | | java-version: '25' |
| | | distribution: 'zulu' |
| | |
| | | with: |
| | | name: windows-latest-11 |
| | | - name: Set up Java |
| | | uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0 |
| | | uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1 |
| | | with: |
| | | java-version: '25' |
| | | distribution: 'zulu' |